bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/21202] New: AARCH64: incorrect relocation name TLSDESC_LD64_LO1


From: joelkevinjones at gmail dot com
Subject: [Bug gas/21202] New: AARCH64: incorrect relocation name TLSDESC_LD64_LO12_NC
Date: Mon, 27 Feb 2017 16:31:40 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=21202

            Bug ID: 21202
           Summary: AARCH64: incorrect relocation name
                    TLSDESC_LD64_LO12_NC
           Product: binutils
           Version: 2.28
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: joelkevinjones at gmail dot com
  Target Milestone: ---

The document "ELF for the ARM 64-bit Architecture (AArch64)" at
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0056c/IHI0056C_beta_aaelf64.pdf
gives the name as R_AARCH64_TLSDESC_LD64_LO12 (without the trailing "_NC").
However, gas/bfd uses the name R_AARCH64_TLSDESC_LD64_LO12. For example:

$ as --version
GNU assembler (GNU Binutils) 2.28.51.20170130
Copyright (C) 2017 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `aarch64-unknown-linux-gnu'.$ cat
t.s
   ldr x24, [x23, #:tlsdesc_lo12:sym]
$ as t.s -o t.o
$ objdump -r -d t.o

t.o:     file format elf64-littleaarch64


Disassembly of section .text:

0000000000000000 <.text>:
   0:   f94002f8        ldr     x24, [x23]
                        0: R_AARCH64_TLSDESC_LD64_LO12_NC       sym

-- 
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]