<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:i@maskray.me" title="Fangrui Song <i@maskray.me>"> <span class="fn">Fangrui Song</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - [ARM?] PROVIDE (in linker script) produces "Address 0xdeadbeef is out of bounds" in objdump output"
href="https://bugs.llvm.org/show_bug.cgi?id=38725">bug 38725</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>i@maskray.me
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - [ARM?] PROVIDE (in linker script) produces "Address 0xdeadbeef is out of bounds" in objdump output"
href="https://bugs.llvm.org/show_bug.cgi?id=38725#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - [ARM?] PROVIDE (in linker script) produces "Address 0xdeadbeef is out of bounds" in objdump output"
href="https://bugs.llvm.org/show_bug.cgi?id=38725">bug 38725</a>
from <span class="vcard"><a class="email" href="mailto:i@maskray.me" title="Fangrui Song <i@maskray.me>"> <span class="fn">Fangrui Song</span></a>
</span></b>
<pre>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]!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>