binutils: fix xtensa gas segfault with --text-section-literals
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 26 May 2015 08:24:00 +0000 (11:24 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 11 Jul 2015 10:33:13 +0000 (12:33 +0200)
commitc7e1c58fac893943d7679cc2905dab555f8d4c73
tree5e9d2b356b93b385d14e0e668a2e5e9b046fd8ff
parentdcf54ea83a15d3a4232d79a329894a90b99243c1
binutils: fix xtensa gas segfault with --text-section-literals

Building libgcc with TARGET_ABI flags results in assembler segfault on
xtensa, because code in sections .init and .fini emits literals w/o
.literal_position directive. This patch turns the segfault into assembly
error.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/binutils/2.22/912-xtensa-fix-gas-segfault-with-text-section-literals.patch [new file with mode: 0644]
package/binutils/2.23.2/912-xtensa-fix-gas-segfault-with-text-section-literals.patch [new file with mode: 0644]
package/binutils/2.24/912-xtensa-fix-gas-segfault-with-text-section-literals.patch [new file with mode: 0644]
package/binutils/2.25/912-xtensa-fix-gas-segfault-with-text-section-literals.patch [new file with mode: 0644]