diff options
author | Alan Modra <amodra@gmail.com> | 2003-02-12 23:21:08 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-02-12 23:21:08 +0000 |
commit | 426318c599ead8ac9a9eaf458bc8058525dc8523 (patch) | |
tree | 0cd2e748c4b12e18f135556e4b9c2b6d750713a9 /gas/config/tc-s390.h | |
parent | 5b54723e5127f5c8aaa346d1246b034e8c739f75 (diff) | |
download | gdb-426318c599ead8ac9a9eaf458bc8058525dc8523.zip gdb-426318c599ead8ac9a9eaf458bc8058525dc8523.tar.gz gdb-426318c599ead8ac9a9eaf458bc8058525dc8523.tar.bz2 |
* write.c (TC_FORCE_RELOCATION_SUB_SAME): Revert last change.
* config/tc-s390.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
Diffstat (limited to 'gas/config/tc-s390.h')
-rw-r--r-- | gas/config/tc-s390.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-s390.h b/gas/config/tc-s390.h index e197029..ed4d5506 100644 --- a/gas/config/tc-s390.h +++ b/gas/config/tc-s390.h @@ -32,6 +32,10 @@ struct fix; #define TC_FORCE_RELOCATION(FIX) tc_s390_force_relocation(FIX) extern int tc_s390_force_relocation PARAMS ((struct fix *)); +/* Don't resolve foo@PLT-bar to offset@PLT. */ +#define TC_FORCE_RELOCATION_SUB_SAME(FIX, SEG) \ + (! SEG_NORMAL (SEG) || TC_FORCE_RELOCATION (FIX)) + #define tc_fix_adjustable(X) tc_s390_fix_adjustable(X) extern int tc_s390_fix_adjustable PARAMS ((struct fix *)); |