<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 - ELF st_other field is not being set on versioned symbol"
href="https://bugs.llvm.org/show_bug.cgi?id=41048">41048</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ELF st_other field is not being set on versioned symbol
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>8.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>libclang
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alfredo.junior@eldorado.org.br
</td>
</tr>
<tr>
<th>CC</th>
<td>klimek@google.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Using clang on PowerPC64 ELFv2 ABI for FreeBSD I found that the versioned
symbols containing a localEntryPoint are missing st_other flags (see missing
0x60 flag in front of symbol <a href="mailto:openattt@FBSD_1.1">openattt@FBSD_1.1</a> bellow):
root@FreeBSD-ELFv2:~/tmp/symerror # objdump -t test.o
test.o: file format elf64-powerpc-freebsd
SYMBOL TABLE:
0000000000000000 l df *ABS* 0000000000000000 test.c
0000000000000000 l d .toc 0000000000000000 .toc
0000000000000000 *UND* 0000000000000000 .TOC.
0000000000000000 w F .text 000000000000002c 0x60 __impl_openattt
0000000000000000 g O .bss 0000000000000004 a
0000000000000000 g F .text 000000000000002c 0x60 openattt
0000000000000000 w F .text 000000000000002c <a href="mailto:openattt@FBSD_1.1">openattt@FBSD_1.1</a></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>