* readelf.c (print_dynamic_symbol): Format entries as for
normal symbol table. (process_symbol_table): Use -7s format string for visibility.
This commit is contained in:
parent
f5d9e8160d
commit
f4be36b3fb
|
@ -1,3 +1,9 @@
|
|||
2009-09-25 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* readelf.c (print_dynamic_symbol): Format entries as for
|
||||
normal symbol table.
|
||||
(process_symbol_table): Use -7s format string for visibility.
|
||||
|
||||
2009-09-22 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
* objdump.c (disassemble_section): Use bfd_get_arch_size
|
||||
|
|
|
@ -7226,9 +7226,9 @@ print_dynamic_symbol (bfd_vma si, unsigned long hn)
|
|||
putchar (' ');
|
||||
print_vma (psym->st_size, DEC_5);
|
||||
|
||||
printf (" %6s", get_symbol_type (ELF_ST_TYPE (psym->st_info)));
|
||||
printf (" %6s", get_symbol_binding (ELF_ST_BIND (psym->st_info)));
|
||||
printf (" %3s", get_symbol_visibility (ELF_ST_VISIBILITY (psym->st_other)));
|
||||
printf (" %-7s", get_symbol_type (ELF_ST_TYPE (psym->st_info)));
|
||||
printf (" %-6s", get_symbol_binding (ELF_ST_BIND (psym->st_info)));
|
||||
printf (" %-7s", get_symbol_visibility (ELF_ST_VISIBILITY (psym->st_other)));
|
||||
/* Check to see if any other bits in the st_other field are set.
|
||||
Note - displaying this information disrupts the layout of the
|
||||
table being generated, but for the moment this case is very
|
||||
|
@ -7532,7 +7532,7 @@ process_symbol_table (FILE * file)
|
|||
print_vma (psym->st_size, DEC_5);
|
||||
printf (" %-7s", get_symbol_type (ELF_ST_TYPE (psym->st_info)));
|
||||
printf (" %-6s", get_symbol_binding (ELF_ST_BIND (psym->st_info)));
|
||||
printf (" %-3s", get_symbol_visibility (ELF_ST_VISIBILITY (psym->st_other)));
|
||||
printf (" %-7s", get_symbol_visibility (ELF_ST_VISIBILITY (psym->st_other)));
|
||||
/* Check to see if any other bits in the st_other field are set.
|
||||
Note - displaying this information disrupts the layout of the
|
||||
table being generated, but for the moment this case is very rare. */
|
||||
|
|
Loading…
Reference in New Issue