https://sourceware.org/bugzilla/show_bug.cgi?id=20315
Bug ID: 20315
Summary: ARM: gas generates deprecated relocations.
Product: binutils
Version: 2.27 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: ikudrin.dev at gmail dot com
Target Milestone: ---
Steps to reproduce:
$ binutils/configure --target=armv7l-unknown-linux-gnu.
$ make all-gas.
$ cat > test.s << EOF
.text
.globl foo
foo:
bl foo
EOF
$ as-new test.s -o test.o
$ objdump -dr test.o
test.o: file format elf32-littlearm
Disassembly of section .text:
00000000 <foo>:
0: ebfffffe bl 0 <foo>
0: R_ARM_PC24 foo
According to "ELF for the ARM Architecture", R_ARM_PC24 is deprecated and
"Deprecated codes should not be generated by fully conforming toolchains".
This issue also makes gold's testsuite for ARM fail, because gold doesn't
support R_ARM_PC24 relocation.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils