This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
binutils/ld: "Sort relocs output by ld -r" breaks mips cross compilation of linux
- From: Manuel Lauss <manuel dot lauss at gmail dot com>
- To: Alan Modra <amodra at gmail dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Cc: Andrew Bennett <andrew dot bennett at imgtec dot com>
- Date: Mon, 8 Dec 2014 16:29:48 +0100
- Subject: binutils/ld: "Sort relocs output by ld -r" breaks mips cross compilation of linux
- Authentication-results: sourceware.org; auth=none
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