This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Section garbage collection problem
On Sunday 16 September 2007 20:01, Daniel Jacobowitz wrote:
> 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.
This will not only need hacking on gas, but also fixing
Linux kernel biuld process to not do intermediate "ld -r"
passes which collect stuff into one built-in.o file
per source directory.
> Another way would be to do it with assembler macros for now; see \@ in
> the manual.
Now *this* is interesting, will try. Thanks!
--
vda