summaryrefslogtreecommitdiff
path: root/gas/config/tc-ia64.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2001-02-06 19:14:07 +0000
committerH.J. Lu <hjl@lucon.org>2001-02-06 19:14:07 +0000
commit5d6bb50c75d55b3a95dede827ae4a88279540d31 (patch)
tree8a8e250b73fc185d73904787501d75389fb1cac7 /gas/config/tc-ia64.h
parenta9086a386a281e7e56ebb6c86d038097d2728da8 (diff)
downloadbinutils-redhat-5d6bb50c75d55b3a95dede827ae4a88279540d31.tar.gz
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 ia64 options on "-axxx".
Diffstat (limited to 'gas/config/tc-ia64.h')
-rw-r--r--gas/config/tc-ia64.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gas/config/tc-ia64.h b/gas/config/tc-ia64.h
index fd802de833..a3353fcb77 100644
--- a/gas/config/tc-ia64.h
+++ b/gas/config/tc-ia64.h
@@ -246,3 +246,15 @@ typedef struct unwind_record
unw_x_record x;
} record;
} unwind_record;
+
+/* This expression evaluates to false if the relocation is for a local
+ object for which we still want to do the relocation at runtime.
+ True if we are willing to perform this relocation while building
+ the .o file. This is only used for pcrel relocations. */
+
+#define TC_RELOC_RTSYM_LOC_FIXUP(FIX) \
+ ((FIX)->fx_addsy == NULL \
+ || (! S_IS_EXTERNAL ((FIX)->fx_addsy) \
+ && ! S_IS_WEAK ((FIX)->fx_addsy) \
+ && S_IS_DEFINED ((FIX)->fx_addsy) \
+ && ! S_IS_COMMON ((FIX)->fx_addsy)))