bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/28888] New: aarch64: adrp with plain . operand mis-assembled


From: jbeulich at suse dot com
Subject: [Bug gas/28888] New: aarch64: adrp with plain . operand mis-assembled
Date: Mon, 14 Feb 2022 14:02:25 +0000

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

            Bug ID: 28888
           Summary: aarch64: adrp with plain . operand mis-assembled
           Product: binutils
           Version: 2.38
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: jbeulich at suse dot com
  Target Milestone: ---

These two are expected to assemble to similar encodings with similar
relocations attached:

        adrp    x0, .
1:      adrp    x0, 1b

Yet presumably as of eac4eb8ecb26 "Fix a problem assembling AArch64 sources
when a
relocation is generated against a..." the former looks to resolve . only at the
end of assembly, i.e. depending on how many further insns follow.

Nick then found that

        adrp    x0, . - 8

doesn't have this problem, so it's apparently only plain . which is affected
(for whatever reason).

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