summaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
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