This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

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


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


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