From 7e9250a361525822e91fd2309077c0e7669d0dda Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Thu, 18 Oct 2001 17:38:53 +0000 Subject: [PATCH] * write.c (fixup_segment): Handle fixups for SEC_MERGE sections as for undefined symbols. --- gas/ChangeLog | 5 +++++ gas/write.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index ece67c0e328..187dceefcde 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-10-17 Hans-Peter Nilsson + + * write.c (fixup_segment): Handle fixups for SEC_MERGE sections as + for undefined symbols. + 2001-10-17 Chris Demetriou * doc/as.texinfo (MIPS ISA options): Added accidentally diff --git a/gas/write.c b/gas/write.c index 280fedc92a3..171ad63460b 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 ) { -- 2.30.2