public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] x86: Delay setting the iplt section alignment
@ 2018-12-01 17:05 sergiodj+buildbot
  2018-12-01 17:27 ` *** COMPILATION FAILED *** Failures on Fedora-s390x-m64, branch master *** BREAKAGE *** sergiodj+buildbot
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: sergiodj+buildbot @ 2018-12-01 17:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b44ee3a8cf21294eeb079ffbada7eeb559a9c6b4 ***

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

x86: Delay setting the iplt section alignment

Delay setting its alignment until we know it is non-empty.  Otherwise an
empty iplt section may change vma and lma of the following sections, which
triggers moving dot of the following section backwards, resulting in a
warning and section lma not being set properly.  It later leads to a
"File truncated" error.

bfd/

	PR ld/23930
	* elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Update
	the iplt section alignment if it is non-empty.
	(_bfd_x86_elf_link_setup_gnu_properties): Set plt.iplt_alignment
	and delay setting the iplt section alignment.
	* elfxx-x86.h (elf_x86_plt_layout): Add iplt_alignment.

ld/

	PR ld/23930
	* testsuite/ld-i386/i386.exp: Run pr23930.
	* testsuite/ld-i386/pr23930.d: New file.
	* testsuite/ld-x86-64/pr23930-32.t: Likewise.
	* testsuite/ld-x86-64/pr23930-x32.d: Likewise.
	* testsuite/ld-x86-64/pr23930.d: Likewise.
	* testsuite/ld-x86-64/pr23930.t: Likewise.
	* testsuite/ld-x86-64/pr23930a.s: Likewise.
	* testsuite/ld-x86-64/pr23930b.s: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run pr23930 and pr23930-x32.


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

end of thread, other threads:[~2018-12-03 14:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-01 17:05 [binutils-gdb] x86: Delay setting the iplt section alignment sergiodj+buildbot
2018-12-01 17:27 ` *** COMPILATION FAILED *** Failures on Fedora-s390x-m64, branch master *** BREAKAGE *** sergiodj+buildbot
2018-12-01 18:37 ` Failures on Fedora-i686, branch master sergiodj+buildbot
2018-12-01 19:00 ` Failures on Fedora-x86_64-cc-with-index, " sergiodj+buildbot
2018-12-01 19:32 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2018-12-01 20:39 ` Failures on Fedora-x86_64-m64, " sergiodj+buildbot
2018-12-01 21:53 ` Failures on Fedora-x86_64-m32, " sergiodj+buildbot
2018-12-02  3:36 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot
2018-12-02  7:48 ` Failures on RHEL-s390x-m64, " sergiodj+buildbot
2018-12-03 17:49 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, " sergiodj+buildbot
2018-12-03 17:49 ` Failures on Ubuntu-Aarch64-native-gdbserver-m64, " sergiodj+buildbot
2018-12-03 18:03 ` Failures on Debian-s390x-native-gdbserver-m64, " sergiodj+buildbot
2018-12-03 18:09 ` Failures on Debian-s390x-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).