bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/20315] New: ARM: gas generates deprecated relocations.


From: ikudrin.dev at gmail dot com
Subject: [Bug binutils/20315] New: ARM: gas generates deprecated relocations.
Date: Wed, 29 Jun 2016 12:27:54 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]