mips multi-got error

Thiemo Seufer ths@networkno.de
Wed Jun 28 17:30:00 GMT 2006


David Daney wrote:
[snip]
> That is not supposed to work.  Multi-got linking only works if there are 
> fewer than 8192 symbols per compilation unit (input .o to the linker). 
> See the multi-got-1 testcase in ld/testsuite/ld-mips-elf.
> 
> If you need more than 8192 symbols per compilation unit you must use 
> -xgot for the assembler.  Recent GCC versions have a -mxgot option that 
> does the same thing for GCC.

Actually, it is supposed to work. :-)  It is also a known deficiency
in the current assembler/linker implementation.


Thiemo



More information about the Binutils mailing list