diff options
author | H.J. Lu <hjl@lucon.org> | 2001-02-06 19:14:07 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2001-02-06 19:14:07 +0000 |
commit | 5d6bb50c75d55b3a95dede827ae4a88279540d31 (patch) | |
tree | 8a8e250b73fc185d73904787501d75389fb1cac7 /gas/config/tc-ia64.h | |
parent | a9086a386a281e7e56ebb6c86d038097d2728da8 (diff) | |
download | binutils-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.h | 12 |
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))) |