This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFC} Supporting aligned commons in PE.
- From: Danny Smith <dansmister at gmail dot com>
- To: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 12 May 2009 18:20:13 +1200
- Subject: Re: [RFC} Supporting aligned commons in PE.
- References: <4A08780A.3010405@gmail.com>
Dave Korn wrote
> 2) ?Add a new type of statement to the .drectve section, with a syntax such as
> "-aligncomm:<symbolname>,<alignment>". ?This might cause noisy warnings from
> the vendors tools, but I think it's a cleaner interface than inventing our own
> non-approved aux symbol format, so up til now it's my preferred option.
This is my preferred option too, since the vendors own spec
documentation says that the .drectve section is meant to handle
compiler specific features.
I think that other features (eg, visibility attributes to hide symbols
from --export-all) could also be incorporated into .drectve.
I actually starting working up a patch along these lines but real-
(aka making-a-living-) life got in the way.
Danny