From a99746f4ee3c9444ba385629b4a14ebe2b1f46ca Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 7 Feb 2001 01:04:58 +0000 Subject: [PATCH] 2001-02-06 H.J. Lu * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if there is no relocation. --- gas/ChangeLog | 5 +++++ gas/config/tc-ia64.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index fbe9be866a2..d49e15cfd0f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-02-06 H.J. Lu + + * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if + there is no relocation. + 2001-02-06 H.J. Lu * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined. diff --git a/gas/config/tc-ia64.h b/gas/config/tc-ia64.h index a3353fcb77e..05e30c64f96 100644 --- a/gas/config/tc-ia64.h +++ b/gas/config/tc-ia64.h @@ -254,7 +254,8 @@ typedef struct unwind_record #define TC_RELOC_RTSYM_LOC_FIXUP(FIX) \ ((FIX)->fx_addsy == NULL \ + || (FIX)->fx_r_type == 0 \ || (! S_IS_EXTERNAL ((FIX)->fx_addsy) \ && ! S_IS_WEAK ((FIX)->fx_addsy) \ - && S_IS_DEFINED ((FIX)->fx_addsy) \ + && S_IS_DEFINED ((FIX)->fx_addsy) \ && ! S_IS_COMMON ((FIX)->fx_addsy))) -- 2.30.2