From a99746f4ee3c9444ba385629b4a14ebe2b1f46ca Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 7 Feb 2001 01:04:58 +0000 Subject: 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 fbe9be8..d49e15c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 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. * config/tc-ia64.c (md_parse_option): Only accept the valid diff --git a/gas/config/tc-ia64.h b/gas/config/tc-ia64.h index a3353fc..05e30c6 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))) -- cgit v1.1