* config/tc-sparc.c (tc_gen_reloc): If PIC, only change PCREL_S2
authorIan Lance Taylor <ian@airs.com>
Wed, 16 Aug 1995 20:21:49 +0000 (20:21 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 16 Aug 1995 20:21:49 +0000 (20:21 +0000)
commit4c67b523a31b703c53c6bdbfdaacc6304515cad9
treeb1c7862c80d76c88be106762ac60af79d3b7872f
parent51c7f8f3c29b7227d474cdb1c42293fa7af68d7d
* config/tc-sparc.c (tc_gen_reloc): If PIC, only change PCREL_S2
to WPLT30 for an undefined or external symbol.  Don't consider
PC10 or PC22 to be a PC relative reloc when choosing between
fx_addnumber and fx_offset.
gas/ChangeLog
gas/config/tc-sparc.c