[Bug gas/21202] AARCH64: incorrect relocation name TLSDESC_LD64_LO12_NC

2017-03-13 Thread joelkevinjones at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21202

--- Comment #3 from Joel Jones  ---
Thanks! One of the things on my to do list is to audit all the relocation
related stuff in the gnu toolchain for AArch64 LP64/ILP32. I’ve done it for
LLVM and am about to file a defect about the ones that are unsupported there.

Joel

> On Mar 13, 2017, at 3:08 AM, nickc at redhat dot com 
>  wrote:
> 
> https://sourceware.org/bugzilla/show_bug.cgi?id=21202
> 
> Nick Clifton  changed:
> 
>   What|Removed |Added
> 
> Status|UNCONFIRMED |RESOLVED
> CC||nickc at redhat dot com
> Resolution|--- |FIXED
> 
> --- Comment #2 from Nick Clifton  ---
> Hi Joel,
> 
>  I have checked in a patch to fix this.
> 
>  The patch also renames the R_AARCH64_TLSDESC_ADD_LO12 reloc as well.
> 
>  I noticed that there is an R_AARCh64_TLSDESC_LD32_LO12_NC reloc, but
>  I could not find it documented in the version of the AARCH64 ELF spec
>  I am currently using, so I left it alone.
> 
> Cheers
>  Nick
> 
> -- 
> You are receiving this mail because:
> You reported the bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2017-02-27 Thread joelkevinjones at gmail dot com
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:

 <.text>:
   0:   f94002f8ldr 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.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/21098] New: [AArch64] ilp32 no warning or error generated for "ldr x24, [x23, :got_lo12:sym]"

2017-01-31 Thread joelkevinjones at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21098

Bug ID: 21098
   Summary: [AArch64] ilp32 no warning or error generated for "ldr
x24, [x23, :got_lo12:sym]"
   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: ---

crb6 % cat ldr-reloc.s
ldr x24, [x23, :got_lo12:sym]
ldr w24, [x23, :got_lo12:sym]
crb6 % as -mabi=ilp32 -o ldr-reloc.o ldr-reloc.s
crb6 % objdump -dr ldr-reloc.o

ldr-reloc.o: file format elf32-littleaarch64


Disassembly of section .text:

 <.text>:
   0:   f94002f8ldr x24, [x23]
0: R_AARCH64_P32_LD32_GOT_LO12_NC   sym
   4:   b94002f8ldr w24, [x23]
4: R_AARCH64_P32_LD32_GOT_LO12_NC   sym
crb6 % 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'.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/18800] New: [AArch64] objdump incorrectly disassembles SIMD ext instruction as undefined

2015-08-10 Thread joelkevinjones at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18800

Bug ID: 18800
   Summary: [AArch64] objdump incorrectly disassembles SIMD ext
instruction as undefined
   Product: binutils
   Version: 2.25
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: joelkevinjones at gmail dot com
  Target Milestone: ---

$ cat extDis.S
ext v0.16b, v0.16b, v0.16b, #8
$ gas/as-new extDis.S -o extDis.o
$ binutils/objdump -d extDis.o

extDis.o: file format elf64-littleaarch64


Disassembly of section .text:

 <.text>:
   0:   6e004000.inst   0x6e004000 ; undefined

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils