public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Properly handle dynamic reloc against normal symbol
@ 2016-04-12  3:00 sergiodj+buildbot
  2016-04-12  3:00 ` Failures on Fedora-x86_64-m32, branch master sergiodj+buildbot
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: sergiodj+buildbot @ 2016-04-12  3:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2df3368d851b653880c2e3312c99eb8adf89f3db ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 2df3368d851b653880c2e3312c99eb8adf89f3db

Properly handle dynamic reloc against normal symbol

We shouldn't issue an error for read-only segment with dynamic IFUNC
relocations when dynamic relocations are against normal symbols.

bfd/

	PR ld/19939
	* elf-bfd.h (_bfd_elf_allocate_ifunc_dyn_relocs): Add a pointer
	to bfd_boolean.
	* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Updated.
	Set *readonly_dynrelocs_against_ifunc_p to TRUE if dynamic reloc
	applies to read-only section.
	* elf32-i386.c (elf_i386_link_hash_table): Add
	readonly_dynrelocs_against_ifunc.
	(elf_i386_allocate_dynrelocs): Updated.
	(elf_i386_size_dynamic_sections): Issue an error for read-only
	segment with dynamic IFUNC relocations only if
	readonly_dynrelocs_against_ifunc is TRUE.
	* elf64-x86-64.c (elf_x86_64_link_hash_table): Add
	readonly_dynrelocs_against_ifunc.
	(elf_x86_64_allocate_dynrelocs): Updated.
	(elf_x86_64_size_dynamic_sections): Issue an error for read-only
	segment with dynamic IFUNC relocations only if
	readonly_dynrelocs_against_ifunc is TRUE.
	* elfnn-aarch64.c (elfNN_aarch64_allocate_ifunc_dynrelocs):
	Updated.

ld/

	PR ld/19939
	* testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
	* testsuite/ld-x86-64/x86-64.exp: Likewise.
	* testsuite/ld-i386/pr19939.s: New file.
	* testsuite/ld-i386/pr19939a.d: Likewise.
	* testsuite/ld-i386/pr19939b.d: Likewise.
	* testsuite/ld-x86-64/pr19939.s: Likewise.
	* testsuite/ld-x86-64/pr19939a.d: Likewise.
	* testsuite/ld-x86-64/pr19939b.d: Likewise.


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

end of thread, other threads:[~2016-04-12  3:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-12  3:00 [binutils-gdb] Properly handle dynamic reloc against normal symbol sergiodj+buildbot
2016-04-12  3:00 ` Failures on Fedora-x86_64-m32, branch master sergiodj+buildbot
2016-04-12  3:10 ` Failures on Debian-i686, " sergiodj+buildbot
2016-04-12  3:36 ` Failures on AIX-POWER7-plain, " sergiodj+buildbot
2016-04-12  3:37 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
2016-04-12  3:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " 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).