bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/21098] New: [AArch64] ilp32 no warning or error generated for "


From: joelkevinjones at gmail dot com
Subject: [Bug gas/21098] New: [AArch64] ilp32 no warning or error generated for "ldr x24, [x23, :got_lo12:sym]"
Date: Tue, 31 Jan 2017 23:44:37 +0000

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:

00000000 <.text>:
   0:   f94002f8        ldr     x24, [x23]
                        0: R_AARCH64_P32_LD32_GOT_LO12_NC       sym
   4:   b94002f8        ldr     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.


reply via email to

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