public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] PowerPC64 GOT indirect to GOT relative optimisation
@ 2019-05-01  3:08 sergiodj+buildbot
  2019-05-01  3:45 ` Failures on Debian-s390x-native-extended-gdbserver-m64, branch master sergiodj+buildbot
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: sergiodj+buildbot @ 2019-05-01  3:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 066f4018ae7822d81cb6747fd9494e5dd63bfecf ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 066f4018ae7822d81cb6747fd9494e5dd63bfecf

PowerPC64 GOT indirect to GOT relative optimisation

This implements an optimisation that converts sequences like
  addis r9,r2,sym@got@ha
  ld r3,sym@got@l(r9)
to
  addis r9,r2,sym@toc@ha
  addi r3,r9,sym@toc@l
when "sym" is locally defined and can't be overridden.

bfd/
	* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add has_gotrel.
	(struct _ppc64_elf_section_data): Likewise.
	(ppc64_elf_check_relocs): Set above fields.
	(ppc64_elf_edit_toc): Add a pass over GOT relocs.
	(ppc64_elf_relocate_section): Edit GOT indirect to GOT relative
	when possible.
ld/
	* testsuite/ld-powerpc/elfv2exe.d: Update.
	* testsuite/ld-powerpc/elfv2so.d: Update.
	* testsuite/ld-powerpc/tocopt.d: Update.
	* testsuite/ld-powerpc/tocopt.s: Update.
	* testsuite/ld-powerpc/tocopt5.d: Update.
	* testsuite/ld-powerpc/tocopt5.s: Update.
	* testsuite/ld-powerpc/tocopt7.d: Update.
	* testsuite/ld-powerpc/tocopt7.s: Update.
	* testsuite/ld-powerpc/tocopt8.d: Update.
	* testsuite/ld-powerpc/tocopt8.s: Update.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-05-04 18:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-01  3:08 [binutils-gdb] PowerPC64 GOT indirect to GOT relative optimisation sergiodj+buildbot
2019-05-01  3:45 ` Failures on Debian-s390x-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2019-05-01  3:49 ` Failures on Debian-s390x-native-gdbserver-m64, " sergiodj+buildbot
2019-05-04 17:54 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2019-05-04 18:06 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2019-05-04 18:17 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj+buildbot
2019-05-04 18:20 ` Failures on Fedora-x86_64-m64, " sergiodj+buildbot
2019-05-04 18:26 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).