This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Gcl-devel] Re: function addresses and ld.so
Camm Maguire <camm@enhanced.com> writes:
> Greetings, and thanks for your reply! Where might I look for the
> SunOS example, if it still exists?
Here is the ELF unexec code:
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/src/unexelf.c
Unfortunately, I misremembered it, and it doesn't do as much as I
recalled. It doesn't frob the PLT, it just moves stuff around to
preserve the BSS section.
Ian