This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: position independent code on MIPS


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]