public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Mark debug sections referenced by kept debug sections
@ 2017-05-17 15:31 sergiodj+buildbot
  2017-05-17 15:31 ` Failures on Fedora-s390x-m64, branch master sergiodj+buildbot
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: sergiodj+buildbot @ 2017-05-17 15:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b7c871edcd83ccdc5fcd8148a7f433efd6b52255 ***

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

Mark debug sections referenced by kept debug sections

If a debug section is referenced by a kept debug section, it should
also be kept.

Some targets, like mips, keep input files when there are some special
sections, like .gnu.attributes, even if input file is unused otherwise.
In this case, all debug sections are kept.  The new test will fail on
such targets.  We can either fix those targets or XFAIL the test.

bfd/

	PR ld/20882
	* elflink.c (elf_gc_mark_debug_section): New function.
	(_bfd_elf_gc_mark_extra_sections): Mark any debug sections
	referenced by kept debug sections.

ld/

	PR ld/20882
	* testsuite/ld-gc/gc.exp: Run pr20882.
	* testsuite/ld-gc/pr20882.d: New file.
	* testsuite/ld-gc/pr20882a.s: Likewise.
	* testsuite/ld-gc/pr20882b.s: Likewise.
	* testsuite/ld-gc/pr20882c.s: Likewise.


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

end of thread, other threads:[~2017-05-17 19:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-17 15:31 [binutils-gdb] Mark debug sections referenced by kept debug sections sergiodj+buildbot
2017-05-17 15:31 ` Failures on Fedora-s390x-m64, branch master sergiodj+buildbot
2017-05-17 17:54 ` Failures on Ubuntu-AArch64-native-gdbserver-m64, " sergiodj+buildbot
2017-05-17 18:22 ` Failures on Ubuntu-AArch64-m64, " sergiodj+buildbot
2017-05-17 18:54 ` Failures on Ubuntu-AArch32-native-gdbserver-m32, " sergiodj+buildbot
2017-05-17 19:19 ` Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, " sergiodj+buildbot
2017-05-17 19:43 ` Failures on Ubuntu-AArch32-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).