forked from Imagelibrary/binutils-gdb
Add demangling support to readelf.
PR binutils/26331 * readelf.c (do_demangle): New option flag. (print_symbol): If do_demangle is enabled, demangle the symbol. (enum long_option_values): New enum to hold long option values. (options): Add demangle, no-demangle, recursion-limit and no-recursion-limit options. Alpha sort the table. (usage): Describe the new options. (parse_args): Handle the new options. * NEWS: Mention the new feature. * doc/binutils.texi: Document the new feature. * testsuite/binutils-all/readelf.exp: Test the new feature. * testsuite/binutils-all/mangled.s: New file - assembler source. * testsuite/binutils-all/readelf.demangled: New file - expected output from readelf.
This commit is contained in:
5
binutils/testsuite/binutils-all/readelf.demangled
Normal file
5
binutils/testsuite/binutils-all/readelf.demangled
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
Symbol table '.symtab' contains .* entries:
|
||||
#...
|
||||
.*gold::Output_reloc<9, true, 64, false>::Output_reloc\(gold::Sized_relobj<64, false>\*, unsigned int, unsigned int, gold::Output_data\*, unsigned long, bool, bool, bool, bool\)
|
||||
#pass
|
||||
Reference in New Issue
Block a user