aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-12-23 10:59:56 +0000
committerNick Clifton <nickc@redhat.com>2008-12-23 10:59:56 +0000
commit44f746428118afa8aa4108ca79bb356798fafe1d (patch)
treecada90ef677199b53f92e6d289268210ee30ecd2 /bfd
parent2516a1ee84e4ca7604bf7d9da5cc3a4aaa95fba5 (diff)
downloadgdb-44f746428118afa8aa4108ca79bb356798fafe1d.zip
gdb-44f746428118afa8aa4108ca79bb356798fafe1d.tar.gz
gdb-44f746428118afa8aa4108ca79bb356798fafe1d.tar.bz2
* coffcode.h (coff_write_object_contents): Always initialise
section.s_page. * ti.h (COFF_ADJUST_SCNHDR_OUT_PRE): Define.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/coffcode.h2
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