binutils: fix xtensa ld segfault on linking linux modules
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 10 Jul 2014 16:25:13 +0000 (20:25 +0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 12 Jul 2014 12:34:05 +0000 (14:34 +0200)
commit0dd180ec1901edac7d1f10a0e68951f738299c9d
tree0602ed2e0211a9d6ae0611d3454fed95e0c99f65
parent89d26851ca8ab9e47d6768ae69b1877de0d69766
binutils: fix xtensa ld segfault on linking linux modules

This fixes the following build error reproducible with any linux kernel
module built with a recent buildroot toolchain:

  LD [M]  fs/jbd2/jbd2.ko
  /bin/sh: line 1: 12069 Segmentation fault
  buildroot/host/usr/bin/xtensa-buildroot-linux-uclibc-ld -r --no-relax
  -T linux/scripts/module-common.lds --build-id
  -o fs/jbd2/jbd2.ko fs/jbd2/jbd2.o fs/jbd2/jbd2.mod.o

Backported from: e7d17e71cdc10a2e81e454ce3b9637f1b2a587f2
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/binutils/2.22/903-xtensa-fix-ld-segfault-when-linking-linux-modules.patch [new file with mode: 0644]
package/binutils/2.23.2/903-xtensa-fix-ld-segfault-when-linking-linux-modules.patch [new file with mode: 0644]
package/binutils/2.24/903-xtensa-fix-ld-segfault-when-linking-linux-modules.patch [new file with mode: 0644]