<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - --disassemble should disassemble non-executable sections if specifically requested"
href="https://bugs.llvm.org/show_bug.cgi?id=41897">41897</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>--disassemble should disassemble non-executable sections if specifically requested
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>llvm-objdump
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jh7370.2008@my.bristol.ac.uk
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Consider a test input with both .data and .text. Without any other switches,
both GNU objdump and llvm-objdump --disassemble disassemble the .text section
only. However, if --section=.data is also supplied, then the .data section is
disassembled by GNU objdump and not llvm-objdump. We should follow the GNU
behaviour here.
binutils@ubuntu:~/Work$ ~/llvm/build/bin/llvm-objdump -d -j .data test.o
test.o: file format ELF64-x86-64
binutils@ubuntu:~/Work$ objdump -d -j .data test.o
test.o: file format elf64-x86-64
Disassembly of section .data:
0000000000000000 <bar>:
0: 90 nop</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>