[llvm-bugs] [Bug 30830] New: LLD linker script test failure on AArch64

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 28 11:21:38 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30830

            Bug ID: 30830
           Summary: LLD linker script test failure on AArch64
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: renato.golin at linaro.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

It seems LLD is calculating offsets wrong in AArch64:

ELF/linkerscript/locationcounter.s

# RUN:  . = 0x30000 + (1 + 1023 >> 2); \                                        
# RUN:  .shiftr : { *(.shiftr) }

...

test/ELF/linkerscript/locationcounter.s:74:10: error: expected string not found
in input
# CHECK: .shiftr {{.*}} 0000000000030100
         ^
<stdin>:26:39: note: scanning from here
 20 .shiftl 00000008 0000000000030040 DATA 
                                      ^
<stdin>:27:3: note: possible intended match here
 21 .shiftr 00000008 0000000000030400 DATA 
  ^

It should not be 0x30400, but the expected 0x30100

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161028/82c1be1f/attachment.html>


More information about the llvm-bugs mailing list