<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:grimar@accesssoftek.com" title="George Rimar <grimar@accesssoftek.com>"> <span class="fn">George Rimar</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - R_X86_64_32S: error while loading shared libraries: unexpected reloc type 0x0b"
href="https://bugs.llvm.org/show_bug.cgi?id=36923">bug 36923</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;">CC</td>
<td>
</td>
<td>grimar@accesssoftek.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WORKSFORME
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - R_X86_64_32S: error while loading shared libraries: unexpected reloc type 0x0b"
href="https://bugs.llvm.org/show_bug.cgi?id=36923#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - R_X86_64_32S: error while loading shared libraries: unexpected reloc type 0x0b"
href="https://bugs.llvm.org/show_bug.cgi?id=36923">bug 36923</a>
from <span class="vcard"><a class="email" href="mailto:grimar@accesssoftek.com" title="George Rimar <grimar@accesssoftek.com>"> <span class="fn">George Rimar</span></a>
</span></b>
<pre>Unable to reproduce using fresh clang and lld:
~/LLVM/build/bin/clang++ -v
clang version 8.0.0 (trunk 339680)
~/LLVM/build/bin/ld.lld -v
LLD 8.0.0 (trunk 340163) (compatible with GNU linkers)
readelf -WDr a.out
'RELA' relocation section at offset 0x4d0 contains 216 bytes:
Offset Info Type Symbol's Value
Symbol's Name + Addend
0000000000002008 0000000000000008 R_X86_64_RELATIVE
2008
0000000000003000 0000000000000008 R_X86_64_RELATIVE
10c0
0000000000003008 0000000000000008 R_X86_64_RELATIVE
1100
0000000000001112 0000000000000008 R_X86_64_RELATIVE
68c
0000000000001161 0000000000000008 R_X86_64_RELATIVE
68f
0000000000003200 0000000200000006 R_X86_64_GLOB_DAT 0000000000000000
__gmon_start__ + 0
0000000000003208 0000000300000006 R_X86_64_GLOB_DAT 0000000000000000
_ITM_deregisterTMCloneTable + 0
0000000000003210 0000000400000006 R_X86_64_GLOB_DAT 0000000000000000
_ITM_registerTMCloneTable + 0
0000000000003218 0000000500000006 R_X86_64_GLOB_DAT 0000000000000000
<a href="mailto:__cxa_finalize@GLIBC_2.2.5">__cxa_finalize@GLIBC_2.2.5</a> + 0
'PLT' relocation section at offset 0x5a8 contains 192 bytes:
Offset Info Type Symbol's Value
Symbol's Name + Addend
0000000000002028 0000000100000007 R_X86_64_JUMP_SLOT 0000000000000000
<a href="mailto:__libc_start_main@GLIBC_2.2.5">__libc_start_main@GLIBC_2.2.5</a> + 0
0000000000002030 0000000200000007 R_X86_64_JUMP_SLOT 0000000000000000
__gmon_start__ + 0
0000000000002038 0000000500000007 R_X86_64_JUMP_SLOT 0000000000000000
<a href="mailto:__cxa_finalize@GLIBC_2.2.5">__cxa_finalize@GLIBC_2.2.5</a> + 0
0000000000002040 0000000600000007 R_X86_64_JUMP_SLOT 0000000000000000
<a href="mailto:opendir@GLIBC_2.2.5">opendir@GLIBC_2.2.5</a> + 0
0000000000002048 0000000800000007 R_X86_64_JUMP_SLOT 0000000000000000
<a href="mailto:puts@GLIBC_2.2.5">puts@GLIBC_2.2.5</a> + 0
0000000000002050 0000000900000007 R_X86_64_JUMP_SLOT 0000000000000000
<a href="mailto:readdir@GLIBC_2.2.5">readdir@GLIBC_2.2.5</a> + 0
0000000000002058 0000000a00000007 R_X86_64_JUMP_SLOT 00000000000012a0
<a href="mailto:closedir@GLIBC_2.2.5">closedir@GLIBC_2.2.5</a> + 0
0000000000002060 0000000700000007 R_X86_64_JUMP_SLOT 0000000000000000
<a href="mailto:perror@GLIBC_2.2.5">perror@GLIBC_2.2.5</a> + 0</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>