Daniel Jacobowitz wrote: [snip] > > > anemo> My program is huge enough so that older binutils causes > > > anemo> "relocation truncated to fit" error. > > > > > > More information. My program's .got size exceeds 64K. It seems the > > > corruption does not happen if .got size is smaller then 64K. > > > > > > $ mips-linux-readelf -e myapp > > > ... > > > Section Headers: > > > [Nr] Name Type Addr Off Size ES Flg Lk Inf Al > > > ... > > > [21] .got PROGBITS 100b15d0 a075d0 013a04 04 WAp 0 0 16 > > > > > > > Isn't this a known problem in binutils? IIRC, someone is working or has > > added "--big-got" support. > > Atsushi-san's program would not even link with a binutils that didn't > support multiple GOTs; I guess that something is going wrong with that > support. When building python-qt3 on debian unstable I get an oversize GOT and: /usr/bin/ld: BFD 2.14.90.0.6 20030820 Debian GNU/Linux assertion fail ../../bfd/elfxx-mips.c:2287 Seems like multi-GOT is broken for this case. Thiemo