diff options
author | Andreas Jaeger <aj@suse.de> | 2003-11-11 09:30:48 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2003-11-11 09:30:48 +0000 |
commit | 8f1b49026e426b54702d19472ac2f96f06b85dea (patch) | |
tree | 063392c67a72eb9776330eb433e891217610df61 /gas/config | |
parent | a0af2664de8b754a04e65af1e29456681088ee55 (diff) | |
download | binutils-redhat-8f1b49026e426b54702d19472ac2f96f06b85dea.tar.gz |
2003-11-11 Jan Hubicka <jh@suse.cz>
* config/tc-i386.c (tc_i386_fix_adjustable):
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-i386.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 81e6c1caf1..be1e62197f 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -1225,6 +1225,12 @@ tc_i386_fix_adjustable (fixP) && fixP->fx_pcrel) return 0; + /* The x86_64 GOTPCREL are represented as 32bit PCrel relocations + and changed later by validate_fix. */ + if (GOT_symbol && fixP->fx_subsy == GOT_symbol + && fixP->fx_r_type == BFD_RELOC_32_PCREL) + return 0; + /* adjust_reloc_syms doesn't know about the GOT. */ if (fixP->fx_r_type == BFD_RELOC_386_GOTOFF || fixP->fx_r_type == BFD_RELOC_386_PLT32 |