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

Fangrui Song <i...@maskray.me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
                 CC|                            |i...@maskray.me

--- Comment #2 from Fangrui Song <i...@maskray.me> ---
Tested with lld built at HEAD today. The section contents match GNU ld. I
confirm that GNU objdump may have a disassembly problem.

% arm-linux-gnueabi-objdump -d app 

app:     file format elf32-littlearm


Disassembly of section .text:

08000040 <DefaultHandler>:
 8000040:       Address 0x0000000008000040 is out of bounds.


08000041 <BusFault>:
 8000041:       Address 0x0000000008000041 is out of bounds.


08000042 <Reset>:
 8000042:       be00            bkpt    0x0000
 8000044:       e7fe            b.n     8000044 <Reset+0x2>



% llvm-objdump -dr app 

app:    file format elf32-littlearm


Disassembly of section .text:

08000040 <DefaultHandler>:
 8000040: fe e7 00 be                   mcrlt   p7, #0, lr, c0, c14, #7

08000041 <UsageFault>:
 8000041: e7 00 be fe                   cdp2    p0, #11, c0, c14, c7, #7

08000042 <Reset>:
 8000042: 00 be fe e7                   ldrb    r11, [lr, r0, lsl #28]!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to