Mercurial > emacs
comparison src/unexw32.c @ 24806:a67730c51617
(get_section_info) [_ALPHA_]: Force as much bss data
as possible to be dumped, for safety.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Thu, 03 Jun 1999 21:00:10 +0000 |
parents | 66df82aa955e |
children | 79c890cce460 |
comparison
equal
deleted
inserted
replaced
24805:eb5e287ff675 | 24806:a67730c51617 |
---|---|
445 ROUND_UP (RVA_TO_SECTION_OFFSET (PTR_TO_RVA (my_endbss_static), bss_section_static), | 445 ROUND_UP (RVA_TO_SECTION_OFFSET (PTR_TO_RVA (my_endbss_static), bss_section_static), |
446 nt_header->OptionalHeader.FileAlignment) | 446 nt_header->OptionalHeader.FileAlignment) |
447 - bss_section_static->SizeOfRawData; | 447 - bss_section_static->SizeOfRawData; |
448 | 448 |
449 /* Combine the bss sections into one if they overlap. */ | 449 /* Combine the bss sections into one if they overlap. */ |
450 #ifdef _ALPHA_ | |
451 overlap = 1; /* force all bss data to be dumped */ | |
452 #else | |
450 overlap = 0; | 453 overlap = 0; |
454 #endif | |
451 if (bss_start < bss_start_static) | 455 if (bss_start < bss_start_static) |
452 { | 456 { |
453 if (bss_start_static < bss_start + bss_size) | 457 if (bss_start_static < bss_start + bss_size) |
454 overlap = 1; | 458 overlap = 1; |
455 } | 459 } |