On Wed, Aug 09, 2006 at 10:57:09AM -0700, Noah yan wrote:
> I did the check, all the object files (*.o) are safe (the .text
> section flag is all AX), But I found another two .so files that link
> into the final object have .got section marked as AWX. are they
> creating the problem? if so, how to do with it?
No, they won't be causing a problem. (.so sections are not linked into
your executable.)
Hmm, I guess I should have told you to generate a map file before
looking at all the input files. A map file will tell you which input
file sections are linked into the output .text section. You probably
will find that some other (writable) section is being linked to .text.
If that is the case, then the cure is to fix your linker script. (I
gather from a previous comment that you are using your own linker
script.)