This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Generating ancilliary sections with gas
- From: Dave Martin <dave dot martin at linaro dot org>
- To: Dave Martin <dave dot martin at linaro dot org>, binutils at sourceware dot org, linaro-toolchain <linaro-toolchain at lists dot linaro dot org>
- Date: Wed, 2 Feb 2011 10:27:58 +0000
- Subject: Re: Generating ancilliary sections with gas
- References: <AANLkTi=tXGc8S-Xq4ZY6HmfAKAFdSOAjT7OzeytamNpm@mail.gmail.com> <20110201121647.GB3827@arm.com> <20110201234813.GS9489@bubble.grove.modra.org>
On Tue, Feb 1, 2011 at 11:48 PM, Alan Modra <amodra@gmail.com> wrote:
> Have you seen http://sourceware.org/ml/binutils/2010-08/msg00121.html ?
That's interesting--- I hadn't fully understood what this did.
I'm not sure it solves my problem though: I need to generate ancillary
sectiions relating for normal sections, and I need the relationship to
be visible in the name so that a linker script can remove related
sections in a sane way.
I think my proposal allows for a solution to the general problem of
allowing assembler directives to do things based on the current
assembler state, where "?" solves only a specific instance of that
problem, just allowing .section and related directives to do something
quite specific based on a specific property of the assembler state
(the current section group name).
If I'm wrong and you can see how to solve my problem, I'd definitely
be interested though.
Cheers
---Dave