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 /gas/ChangeLog | |
parent | b80c727008fc32d5271f3966be4e2a43badf8055 (diff) | |
download | gdb-f6a36b0c9e537e4525f3b0687a4f76b4f77bf173.zip gdb-f6a36b0c9e537e4525f3b0687a4f76b4f77bf173.tar.gz gdb-f6a36b0c9e537e4525f3b0687a4f76b4f77bf173.tar.bz2 |
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 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 27fba72..328037e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,17 @@ +2017-08-23 James Clarke <jrtc27@jrtc27.com> + + * 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. + 2017-08-22 Alan Modra <amodra@gmail.com> * testsuite/gas/ppc/lsp-checks.d: Assemble with -a32. |