summaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
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
commit1db752a0e1587b665027f6b8fc36a8e33a53c06b (patch)
tree8ca14c18b9d9ec3a8097dfc2883f63b6804bbe4d /bfd/coffcode.h
parent0f6edcac1e500fa9a6f77f4287f94c8ff75f3716 (diff)
downloadbinutils-redhat-1db752a0e1587b665027f6b8fc36a8e33a53c06b.tar.gz
* coffcode.h (coff_write_object_contents): Always initialise
section.s_page. * ti.h (COFF_ADJUST_SCNHDR_OUT_PRE): Define.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 3b98c5dc9f..12d2ad5f2c 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