This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: FRV and Blackfin PT_GNU_STACK
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Jie Zhang <jie dot zhang at analog dot com>
- Cc: binutils at sourceware dot org, Dave Brolley <brolley at redhat dot com>, Bernd Schmidt <bernd dot schmidt at analog dot com>
- Date: Tue, 20 Jun 2006 10:39:51 -0300
- Subject: Re: FRV and Blackfin PT_GNU_STACK
- References: <20060619155936.GC13901@bubble.grove.modra.org> <1150793108.5570.13.camel@localhost.localdomain> <20060620114317.GH13901@bubble.grove.modra.org>
On Jun 20, 2006, Alan Modra <amodra@bigpond.net.au> wrote:
> Thanks for the feedback. Like you, I think the .stack section is only
> there to set PT_GNU_STACK p_memsz and p_palign.
Yep, and it was indeed a hack. Thanks for fixing it up from the
perspective of someone who does see the whole picture ;-)
> This is how I think FRV and Blackfin should set PT_GNU_STACK. No
> messing around with a bogus .stack section. The new hook also allows me
> to modify ia64 segments, so the final backend_modify_segment_map call
> isn't needed.
Awesome, thanks!
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Secretary for FSF Latin America http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}