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: "Sort relocs output by ld -r" breaks mips cross compilation of linux


Hi Alan,

your patch to binutils/ld "Sort relocs output by ld -r" causes a lot of
the following warnings when I cross-compile the linux kernel for
little-endian mips32 on an x64 host:

mipsel-softfloat-linux-gnu-ld: init/mounts.o: Can't find matching LO16
reloc against `$LC2' for R_MIPS_HI16 at 0x4e8 in section `.text'

If I revert that patch the kernel build succeeds without warnings and boots.
(I wrongly blamed a patch by Andrew Bennett before which turns out
 to be innocent).

Thanks!
      Manuel Lauss


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