https://bugs.llvm.org/show_bug.cgi?id=40785
Bug ID: 40785
Summary: Print unknown st_other value if present in GNU output
Product: tools
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: llvm-readobj
Assignee: unassignedb...@nondot.org
Reporter: jh7370.2...@my.bristol.ac.uk
CC: jh7370.2...@my.bristol.ac.uk, llvm-bugs@lists.llvm.org
llvm-readelf, when printing an unknown st_other value, simply prints "DEFAULT",
and doesn't list the actual value, unlike readelf:
C:\Work>readelf test.o --dyn-syms
Symbol table '.dynsym' contains 2 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 00000000 0 NOTYPE LOCAL DEFAULT UND
1: 00000000 0 NOTYPE LOCAL DEFAULT [<other>: 4] UND other
C:\Work>llvm-readelf test.o --dyn-syms
Symbol table '.dynsym' contains 2 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 00000000 0 NOTYPE LOCAL DEFAULT UND
1: 00000000 0 NOTYPE LOCAL DEFAULT UND other
We can, and should do better, although I don't think we necessarily have to
match GNU's output here, we should at least print the relevant value somehow.
--
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