aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-02-07 01:04:58 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-02-07 01:04:58 +0000
commita99746f4ee3c9444ba385629b4a14ebe2b1f46ca (patch)
tree1fe1fc75c7f3b24b7ce83cf197bc9c6bdb5d17a7 /gas
parent64122a8ba798d3c71a973efc12a160bfc2c8e706 (diff)
downloadgdb-a99746f4ee3c9444ba385629b4a14ebe2b1f46ca.zip
gdb-a99746f4ee3c9444ba385629b4a14ebe2b1f46ca.tar.gz
gdb-a99746f4ee3c9444ba385629b4a14ebe2b1f46ca.tar.bz2
2001-02-06 H.J. Lu <hjl@gnu.org>
* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if there is no relocation.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-ia64.h3
2 files changed, 7 insertions, 1 deletions
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 <hjl@gnu.org>
+ * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if
+ there is no relocation.
+
+2001-02-06 H.J. Lu <hjl@gnu.org>
+
* 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)))