[Cbe-oss-dev] embedspu and execstack

Kazunori Asayama asayama at sm.sony.co.jp
Mon Oct 6 18:16:03 EST 2008


Andrew Pinski wrote:
> There was an issue with 64bit where the GCCs were not outputting the
> section as on PPC64 with the ABI you don't need stack based execution
> for nested function calls as there are function descriptors which
> contain the chain variable.

Are you saying about the below?

    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21098

As far as I read each gcc's source code, ppu-gcc (and the original gcc)
never generates the section on 64bit target, but Fedora's gcc always
generates the section on 64bit target with the default attributes (i.e.
.section .note.GNU-stack,"", at progbits). Both always output the section
on 32bit target with appropriate attributes.

-- 
(ASAYAMA Kazunori
  (asayama at sm.sony.co.jp))
t




More information about the cbe-oss-dev mailing list