* write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with
authorAlan Modra <amodra@gmail.com>
Wed, 20 Nov 2002 12:56:01 +0000 (12:56 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 20 Nov 2002 12:56:01 +0000 (12:56 +0000)
fx_subsy non-NULL.

gas/ChangeLog
gas/write.c

index fa25e6018250fcbbd03b2624adb5642020d8f7d9..6dab2b4d56573d7c7e9060f4d1f5cfd2fba626e5 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with
+       fx_subsy non-NULL.
+
 2002-11-19  Richard Henderson  <rth@redhat.com>
 
        * config/obj-elf.c (obj_elf_visibility): Overwrite only the
index 73eb793e1f07bcc4617ec7c7d60ff56152690010..b1c27d78b52e508fbffdc1752553346bd5d9d1da 100644 (file)
@@ -868,7 +868,8 @@ adjust_reloc_syms (abfd, sec, xxx)
 
        /* Never adjust a reloc against local symbol in a merge section
           with non-zero addend.  */
-       if ((symsec->flags & SEC_MERGE) != 0 && fixp->fx_offset != 0)
+       if ((symsec->flags & SEC_MERGE) != 0
+           && (fixp->fx_offset != 0 || fixp->fx_subsy != NULL))
          continue;
 
        /* Never adjust a reloc against TLS local symbol.  */
This page took 0.040009 seconds and 4 git commands to generate.