<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - llvm-objdump -r reports relocation against symbol `Unknown' on x86"
href="http://llvm.org/bugs/show_bug.cgi?id=21059">21059</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llvm-objdump -r reports relocation against symbol `Unknown' on x86
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>hjl.tools@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>On Fedora 20/x86-64, I got
[hjl@gnu-6 X86]$ /opt/llvm/master/bin/llvm-objdump -r /lib/crti.o
/lib/crti.o: file format ELF32-i386
RELOCATION RECORDS FOR [.rel.init]:
5 R_386_PC32 Unknown
11 R_386_GOTPC Unknown
17 R_386_GOT32 Unknown
26 R_386_PLT32 Unknown
RELOCATION RECORDS FOR [.rel.fini]:
5 R_386_PC32 Unknown
11 R_386_GOTPC Unknown
[hjl@gnu-6 X86]$ /opt/llvm/master/bin/llvm-objdump -r /lib64/crti.o
/lib64/crti.o: file format ELF64-x86-64
RELOCATION RECORDS FOR [.rela.init]:
7 R_X86_64_GOTPCREL Unknown
17 R_X86_64_PLT32 Unknown
[hjl@gnu-6 X86]$ objdump -r /lib/crti.o
/lib/crti.o: file format elf32-i386
RELOCATION RECORDS FOR [.init]:
OFFSET TYPE VALUE
00000005 R_386_PC32 __x86.get_pc_thunk.bx
0000000b R_386_GOTPC _GLOBAL_OFFSET_TABLE_
00000011 R_386_GOT32 __gmon_start__
0000001a R_386_PLT32 __gmon_start__
RELOCATION RECORDS FOR [.fini]:
OFFSET TYPE VALUE
00000005 R_386_PC32 __x86.get_pc_thunk.bx
0000000b R_386_GOTPC _GLOBAL_OFFSET_TABLE_
[hjl@gnu-6 X86]$ objdump -r /lib64/crti.o
/lib64/crti.o: file format elf64-x86-64
RELOCATION RECORDS FOR [.init]:
OFFSET TYPE VALUE
0000000000000007 R_X86_64_GOTPCREL __gmon_start__-0x0000000000000004
0000000000000011 R_X86_64_PLT32 __gmon_start__-0x0000000000000004
[hjl@gnu-6 X86]$</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>