diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/coffcode.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 07e1017..221c4a4 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2008-12-23 Johan Olmutz Nielsen <jnielsen@ddci.com> + + * coffcode.h (coff_write_object_contents): Always initialise + section.s_page. + 2008-12-23 Andreas Schwab <schwab@suse.de> * elf32-m68k.c (elf_m68k_discard_copies): Use SYMBOL_CALLS_LOCAL. diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 3b98c5d..12d2ad5 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -3528,6 +3528,8 @@ coff_write_object_contents (bfd * abfd) section.s_size = current->size; #ifdef coff_get_section_load_page section.s_page = coff_get_section_load_page (current); +#else + section.s_page = 0; #endif #ifdef COFF_WITH_PE |