This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Section garbage collection problem
- From: Daniel Jacobowitz <drow at false dot org>
- To: Denys Vlasenko <vda dot linux at googlemail dot com>
- Cc: binutils at sourceware dot org, "H.J. Lu" <hjl at lucon dot org>, Alan Modra <amodra at bigpond dot net dot au>
- Date: Sun, 16 Sep 2007 15:01:13 -0400
- Subject: Re: Section garbage collection problem
- References: <200709161942.25443.vda.linux@googlemail.com>
On Sun, Sep 16, 2007 at 07:42:25PM +0100, Denys Vlasenko wrote:
> What do you think about it? Will such patch to as be acceptable in principle?
> Maybe you can think about better solution?
The section name is irrelevant. You just want a bunch of .smp_locks
sections in one object file that are not automatically combined into
one larger .smp_locks section per object. That's perfectly fine ELF
but I don't think gas can do it.
Another way would be to do it with assembler macros for now; see \@ in
the manual.
--
Daniel Jacobowitz
CodeSourcery