binutils: fix 'call8: call target out of range' xtensa ld bug
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 23 Sep 2014 03:23:29 +0000 (07:23 +0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 23 Sep 2014 19:56:46 +0000 (21:56 +0200)
commit9849f0052cbd9460888e93ca28b98e43437277f9
treee38984932677bfd9e8815e9ffb2e95ff7bd0e780
parent0b337a08c92546edd2befc6a9421c7b9025bdc78
binutils: fix 'call8: call target out of range' xtensa ld bug

This fixes the following linux kernel build errors:

  LD      init/built-in.o
  net/built-in.o: In function `raw_proc_exit':
  (.init.text+0xe29): dangerous relocation:
      call8: call target out of range: udp_proc_register
  net/built-in.o: In function `udp_table_init':
  (.init.text+0xf09): dangerous relocation:
      call8: call target out of range: udp_proc_register
  net/built-in.o: In function `inet_init':
  af_inet.c:(.init.text+0x142e): dangerous relocation:
 call8: call target out of range: udp4_proc_exit
  net/built-in.o: In function `ip_auto_config':
  ipconfig.c:(.init.text+0x28aa): dangerous relocation:
  call8: call target out of range: arp_send

Backported from: 331ed1307b93d3ff77d248bdf2f7b79a20851457
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/binutils/2.22/904-Fix-call8-call-target-out-of-range-xtensa-ld-relaxation.patch [new file with mode: 0644]
package/binutils/2.23.2/904-Fix-call8-call-target-out-of-range-xtensa-ld-relaxation.patch [new file with mode: 0644]
package/binutils/2.24/904-Fix-call8-call-target-out-of-range-xtensa-ld-relaxation.patch [new file with mode: 0644]