.got section flags on PPC

Ramon Bertran Monfort rbertran@ac.upc.edu
Fri Dec 9 14:55:00 GMT 2005


Hello!

I'm working on a binary rewriter
for a ppc target. Now I'm using
a mac-mini with a PPC7447A proce-
sor. ( And binutils 2.16.1 ).

And I want to know why the binutils
set the EXECUTABLE flag to .got
section of the ELF files? And I
guess that set executable flag
also to .PLT sections.

I've checked the ABI for ppc, and
says that the .got sections have
to be setted with ALLOC and WRITE
flags ( no EXEC flag! ).

What's wrong? Any idea?

Thanks in advance,

Ramon.



More information about the Binutils mailing list