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: unassignedclangb...@nondot.org
          Reporter: alfredo.jun...@eldorado.org.br
                CC: kli...@google.com, llvm-bugs@lists.llvm.org,
                    richard-l...@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@FBSD_1.1 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 openattt@FBSD_1.1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to