binutils/ld: mips linux build broken in latest -git head

Manuel Lauss manuel.lauss@gmail.com
Sat Dec 6 19:35:00 GMT 2014


Hi Andrew,

your commit 538baf8b7e6d17a490f126f8565638469da70204
([MIPS] When calculating a relocation using an undefined weak symbol
don't check for overflow.)  to ld  causes a ton of the following warnings when
building linux, along with an unbootable kernel:

mipsel-softfloat-linux-gnu-ld: drivers/video/built-in.o: Can't find
matching LO16 reloc against `num_registered_fb' for R_MIPS_HI16 at
0x9cd0 in section `.text'
mipsel-softfloat-linux-gnu-ld: drivers/video/built-in.o: Can't find
matching LO16 reloc against `mem_map' for R_MIPS_HI16 at 0x13160 in
section `.text'
mipsel-softfloat-linux-gnu-ld: drivers/video/built-in.o: Can't find
matching LO16 reloc against `$LC21' for R_MIPS_HI16 at 0x13230 in
section `.text'
mipsel-softfloat-linux-gnu-ld: drivers/tty/built-in.o: Can't find
matching LO16 reloc against `$LC21' for R_MIPS_HI16 at 0x28b0 in
section `.text'
mipsel-softfloat-linux-gnu-ld: drivers/tty/built-in.o: Can't find
matching LO16 reloc against `platform_sysrq_reset_seq' for R_MIPS_HI16
at 0xf060 in section `.text'

A simple revert fixes all.

Please have a look!

Thanks,
     Manuel Lauss



More information about the Binutils mailing list