aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2001-10-18 17:38:53 +0000
committerHans-Peter Nilsson <hp@axis.com>2001-10-18 17:38:53 +0000
commit7e9250a361525822e91fd2309077c0e7669d0dda (patch)
tree5e89f391598683304740c55206ed074ba56fd453 /gas/write.c
parentff44f8e352695045ac851ccde05bdc3d72247ff9 (diff)
downloadgdb-7e9250a361525822e91fd2309077c0e7669d0dda.zip
gdb-7e9250a361525822e91fd2309077c0e7669d0dda.tar.gz
gdb-7e9250a361525822e91fd2309077c0e7669d0dda.tar.bz2
* write.c (fixup_segment): Handle fixups for SEC_MERGE sections as
for undefined symbols.
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/write.c b/gas/write.c
index 280fedc..171ad63 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -2810,6 +2810,9 @@ fixup_segment (fixP, this_segment_type)
else if (add_symbol_segment == undefined_section
#ifdef BFD_ASSEMBLER
|| bfd_is_com_section (add_symbol_segment)
+ || (bfd_get_section_flags (stdoutput,
+ add_symbol_segment)
+ & SEC_MERGE) != 0
#endif
)
{