This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFC PATCH] add --force-section-merge flag
- From: Alan Modra <amodra at gmail dot com>
- To: Rasmus Villemoes <rasmus dot villemoes at prevas dot dk>
- Cc: binutils at sourceware dot org
- Date: Tue, 12 Jun 2018 23:01:37 +0930
- Subject: Re: [RFC PATCH] add --force-section-merge flag
- References: <20180611084648.19455-1-rasmus.villemoes@prevas.dk>
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