From f3d491b171d8e30cd0b548c8f4380814435b8a8a Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 4 May 1998 21:10:49 +0000 Subject: [PATCH] * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all references to externally visible symbols. * config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the values in twice for a PC relative reloc if the symbol is externally defined. --- gas/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index d207e39b12c..0a90c1a2177 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,11 @@ Mon May 4 16:12:23 1998 Ian Lance Taylor + * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all + references to externally visible symbols. + * config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the + values in twice for a PC relative reloc if the symbol is + externally defined. + * config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC, don't adjust a PC relative reloc against an externally visible symbol. -- 2.30.2