[llvm-bugs] [Bug 41048] New: ELF st_other field is not being set on versioned symbol

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 12 12:27:06 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41048

            Bug ID: 41048
           Summary: ELF st_other field is not being set on versioned
                    symbol
           Product: clang
           Version: 8.0
          Hardware: Other
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: libclang
          Assignee: unassignedclangbugs at nondot.org
          Reporter: alfredo.junior at eldorado.org.br
                CC: klimek at google.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

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 openattt at FBSD_1.1 bellow):

root at 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 openattt at FBSD_1.1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190312/f8c09483/attachment.html>


More information about the llvm-bugs mailing list