[PATCH] gas: Enable PC-relative diff relocations on sparc64

Jose E. Marchesi jose.marchesi@oracle.com
Mon Jul 31 15:12:00 GMT 2017


[Sorry for the delay on answering to this.]

    On 15 Jul 2017, at 19:46, James Clarke <jrtc27@jrtc27.com> wrote:
    > 
    > 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.
    > ---
    
    Ping; Jose Cc'ed this time (as requested by him).

I see several regressions in the ld testsuite, apparently caused by this
change:

Changes in sparc64-linux:
REGRESSION: Build libdnew1a.so with --Bsymbolic-functions --dynamic-list-cpp-new
REGRESSION: Build libdnew1b.so with --dynamic-list-data --dynamic-list-cpp-new
REGRESSION: Run with libdl3a.so
REGRESSION: Run with libdl3c.so
REGRESSION: Run with libnew1a.so
REGRESSION: Run with libnew1b.so



More information about the Binutils mailing list