This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Release 2.22: branch create


> Sorry for taking so long, here is something that should work better.
>
> bfd/
>
> 	PR binutils/13301
> 	* elfxx-sparc.c (sparc_elf_find_reloc_at_ofs): New function.
> 	(_bfd_sparc_elf_relocate_section): Always move the __tls_get_addr
> 	call delay slot instruction forward 4 bytes when performing
> 	relaxation.
>
> gold/
>
> 	PR binutils/13301
> 	* sparc.cc (Target_sparc::Relocate::reloc_adjust_addr_): New
> 	member to track relocation locations that have moved during TLS
> 	reloc optimizations.
> 	(Target_sparc::Relocate::Relocate): Initialize to NULL.
> 	(Target_sparc::Relocate::relocate): Adjust view down by 4
> 	bytes if it matches reloc_adjust_addr_.
> 	(Target_sparc::Relocate::relocate_tls): Always move the
> 	__tls_get_addr call delay slot instruction forward 4 bytes when
> 	performing relaxation.

Yes, the MPFR testsuite is all clean with it:

[tversion] GMP: header 4.2.4, library 4.2.4
[tversion] MPFR tuning parameters from src/sparc64/mparam.h
PASS: tversion
====================
All 160 tests passed
(1 test was not run)

for both linkers.  Thanks for fixing this!

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]