This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [whopr] Design/implementation alternatives for the driver and WPA
- From: Daniel Jacobowitz <drow at false dot org>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: Cary Coutant <ccoutant at google dot com>, Diego Novillo <dnovillo at google dot com>, gcc at gcc dot gnu dot org, Kenneth Zadeck <zadeck at naturalbridge dot com>, Jan Hubicka <jh at suse dot cz>, Rafael Espindola <espindola at google dot com>, Ollie Wild <aaw at google dot com>, Robert Hundt <rhundt at google dot com>
- Date: Fri, 4 Jul 2008 18:46:09 -0400
- Subject: Re: [whopr] Design/implementation alternatives for the driver and WPA
- References: <b798aad50806030945r7e056592kf4584bf2de323164@mail.gmail.com> <c17be2b30807031814n57360f3dme6e07989dcfba81b@mail.gmail.com> <m3skuq9rw4.fsf@google.com>
On Thu, Jul 03, 2008 at 09:48:11PM -0700, Ian Lance Taylor wrote:
> * The linker does normally copy unrecognized sections with the
> SHF_ALLOC bit clear to the output file. It doesn't allocate address
> space for them, but it does copy them. I think this follows the ELF
> ABI. I don't know of any generic way to direct the linker to not
> copy sections to the output file.
Didn't someone say on the gABI list recently that they had a bit for
this? Ah, H. J. proposed it and Rod Evans from Sun said they already
had an SHF_EXCLUDE:
http://groups.google.com/group/generic-abi/browse_thread/thread/5cf669951cb2eef1
--
Daniel Jacobowitz
CodeSourcery