package/elf2flt: .ARM.exidx RO data section is incorrectly mapped to data
authorRomain Naour <romain.naour@smile.fr>
Wed, 6 Nov 2019 21:19:13 +0000 (22:19 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 8 Nov 2019 21:06:16 +0000 (22:06 +0100)
commit2b064f86b6a0fd683f307b51f12d9d919fcaa386
treea886ae47abdfdf219059d23ded36916d43dd454d
parent78b77a5c4a5eef1ad5b4af51879758d38a8cc98d
package/elf2flt: .ARM.exidx RO data section is incorrectly mapped to data

Starting with Binutils 2.33.1, elf2flt segfault while building busybox:
"ld (ld-elf2flt):
/opt/armv7m--uclibc--bleeding-edge-2/arm-buildroot-uclinux-uclibcgnueabi/bin/elf2flt

This was reported to the Binutils mailing list and it's seems
an elf2flt issue with .ARM.exidx RO data section as explained
by: https://sourceware.org/ml/binutils/2019-10/msg00132.html

Apply the patch provided by Greg Ungerer [1] and tested by
Christophe Priouzeau using stm32f469_disco_defconfig on
stm32f469-disco board.

Fixes:
https://gitlab.com/kubu93/toolchains-builder/-/jobs/319395300

[1] https://github.com/uclinux-dev/elf2flt/issues/12

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/elf2flt/0002-elf2flt-fix-relocations-for-read-only-data.patch [new file with mode: 0644]