diff options
author | James Clarke <jrtc27@jrtc27.com> | 2017-08-23 05:46:45 -0700 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2017-08-23 05:46:45 -0700 |
commit | f6a36b0c9e537e4525f3b0687a4f76b4f77bf173 (patch) | |
tree | d8dba9f162f51dbef42ab479295c4c2fdc19bda7 /include/gcc-interface.h | |
parent | b80c727008fc32d5271f3966be4e2a43badf8055 (diff) |
gas: enable PC-relative diff relocations on sparc64
gas/
* config/tc-sparc.c (tc_gen_reloc): Convert BFD_RELOC_8/16/32/64
into the corresponding BFD_RELOC_8/16/32/64_PCREL relocation
when requested.
* config/tc-sparc.h (DIFF_EXPR_OK): Define to enable PC-relative
diff relocations.
(TC_FORCE_RELOCATION_SUB_LOCAL): Define to ensure only supported
relocations are made PC-relative.
(CFI_DIFF_EXPR_OK): Define to 0 to force BFD_RELOC_32_PCREL to
be used directly, since otherwise BFD_RELOC_SPARC_UA32 will be
used for .eh_frame which cannot in general be converted to a
BFD_RELOC_32_PCREL due to alignment requirements.
Diffstat (limited to 'include/gcc-interface.h')
0 files changed, 0 insertions, 0 deletions