This is the mail archive of the
mailing list for the binutils project.
Re: remove the PF_W of the text program section
On Tue, Aug 08, 2006 at 05:48:55PM -0700, Noah yan wrote:
> Thanks Alan for your comments. "a writable text section", do you mean
> I need to identify this from sources? if so, only hand-writing
> assembly code can do this and compiler-generated code does not write
> to text section, correct?
Use readelf -S on all the object files involved in the link. (Use -t
flag with ld to identify the object files.)
IBM OzLabs - Linux Technology Centre