Re: writable text segments?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthew P Donovan <mpd@xxxxxxxxxx> writes:

> My professor has me hunting for a way to make text segments writable in
> compiled binaries (ELF format).  I found a passing reference to a -N
> command line option, but haven't been able to find any documentation about
> it.  Can someone point me to a reference that talks about this?

-N is a linker option.  The documentation, such as it is, is here:
    http://sources.redhat.com/binutils/docs-2.12/ld.info/Options.html#Options

If you pass -N to gcc when doing a link, gcc will pass -N on to the
linker.  As far as I know this behaviour is undocumented.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux