[RFC PATCH] add --force-section-merge flag

Alan Modra amodra@gmail.com
Tue Jun 12 13:31:00 GMT 2018


On Mon, Jun 11, 2018 at 10:46:48AM +0200, Rasmus Villemoes wrote:
> mechanical, and I fear that it can't be that easy (for example, there
> might be some relocation fixup code hidden under a
> !bfd_link_relocatable (&link_info)).

Yes, that is true.  elf32-i386.c relocate_section is an example.
You'll need to write some testcases, preferrably something that can be
added to the testsuite, and report the results over at least some
common targets before we can accept the patch.  I'm not asking you to
fix failing targets, but it would be nice to have some idea how many
fail before the new feature is made available.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list