* config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC,
authorIan Lance Taylor <ian@airs.com>
Mon, 4 May 1998 20:16:35 +0000 (20:16 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 4 May 1998 20:16:35 +0000 (20:16 +0000)
don't adjust a PC relative reloc against an externally visible
symbol.
* config/tc-sparc.c (md_apply_fix3): When generating a.out PIC,
for a PC relative fixup against an externally visible defined
symbol, arrange to store object file and addend values as though
the symbol were not defined.
(tc_gen_reloc): Likewise.

gas/ChangeLog

index c3bc979..d207e39 100644 (file)
@@ -1,3 +1,14 @@
+Mon May  4 16:12:23 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC,
+       don't adjust a PC relative reloc against an externally visible
+       symbol.
+       * config/tc-sparc.c (md_apply_fix3): When generating a.out PIC,
+       for a PC relative fixup against an externally visible defined
+       symbol, arrange to store object file and addend values as though
+       the symbol were not defined.
+       (tc_gen_reloc): Likewise.
+
 Thu Apr 30 13:09:39 1998  Fred Fish  <fnf@ninemoons.com>
 
        * read.c (sizeof_leb128): Referenced externally by write.c so