Files
Alan Modra 6e5e9d58c1 PR22836, "-r -s" doesn't work with -g3 using GCC 7
This fixes the case where all of a group is removed with ld -r, the
situation in the PR, and failures where part of a group is removed
that contain relocs.

bfd/
	PR 22836
	* elf.c (_bfd_elf_fixup_group_sections): Account for removed
	relocation sections.  If size reduces to just the flag word,
	remove that too and mark with SEC_EXCLUDE.
	* elflink.c (bfd_elf_final_link): Strip empty group sections.
binutils/
	* testsuite/binutils-all/group-7.s,
	* testsuite/binutils-all/group-7a.d,
	* testsuite/binutils-all/group-7b.d,
	* testsuite/binutils-all/group-7c.d: New tests.
	* testsuite/binutils-all/objcopy.exp: Run them.
ld/
	* testsuite/ld-elf/pr22836-2.d,
	* testsuite/ld-elf/pr22836-2.s: New test.
2018-02-13 22:55:49 +10:30
..
2010-01-20 00:09:13 +00:00
2010-01-20 00:09:13 +00:00
2015-10-22 12:49:17 +10:30
2004-10-24 17:49:55 +00:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2017-11-07 17:01:16 +10:30
2017-11-07 17:01:16 +10:30
2017-11-07 17:01:16 +10:30
2012-07-03 16:06:34 +00:00
2015-05-12 12:47:27 -07:00
2012-04-03 16:01:38 +00:00
2016-03-07 17:29:25 +00:00
2010-01-20 00:09:13 +00:00
2010-05-18 03:31:07 +00:00
2010-05-18 03:31:07 +00:00
2010-05-18 03:31:07 +00:00
2008-10-03 15:08:22 +00:00
2008-10-03 15:08:22 +00:00
2008-10-03 15:08:22 +00:00
2008-10-03 15:08:22 +00:00
2015-04-04 07:34:25 -07:00
2015-04-04 07:34:25 -07:00
2009-04-16 04:24:07 +00:00
2006-06-23 16:23:09 +00:00
2009-04-16 04:24:07 +00:00
2017-09-22 17:05:51 -03:00
2017-09-22 17:05:51 -03:00
2013-08-19 15:08:52 +00:00
2017-11-07 17:01:16 +10:30
2017-11-07 17:01:16 +10:30
2017-11-07 17:01:16 +10:30
2006-09-14 23:37:35 +00:00
2017-05-10 14:42:22 +02:00
2008-10-03 15:08:22 +00:00
2008-10-03 15:08:22 +00:00
2015-08-11 23:29:36 +09:30
2015-08-11 23:29:36 +09:30
2015-08-11 23:29:36 +09:30
2015-08-11 23:29:36 +09:30
2015-08-11 23:29:36 +09:30
2015-08-11 23:29:36 +09:30
2009-09-07 18:07:02 +00:00
2005-10-19 20:49:03 +00:00
2012-02-11 20:02:03 +00:00