FRV and Blackfin PT_GNU_STACK

Alexandre Oliva aoliva@redhat.com
Tue Jun 20 14:09:00 GMT 2006


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}



More information about the Binutils mailing list