This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: position independent code on MIPS
- From: Ian Lance Taylor <ian at airs dot com>
- To: "Paul Kohout" <pkohout at evitechnology dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: 16 Jan 2006 19:41:27 -0800
- Subject: Re: position independent code on MIPS
- References: <s3cbbbe1.059@opal.evitechnology.com>
"Paul Kohout" <pkohout@evitechnology.com> writes:
> So what would a dynamic linker have to do differently using "-mabicalls
> -fpic -G 0" versus "-membedded-pic"? I assume that there would be some
> processing of relocation tables. Is this documented somewhere?
The -mabicalls case works with ELF. See the MIPS ELF Processor
Supplement:
http://refspecs.freestandards.org/elf/mipsabi.pdf
The -membedded-pic case works with a very simpleminded format I
designed a long time ago.
Ian