mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 01:50:48 +00:00
* elf.c (bfd_elf_print_symbol): Print the st_other field if it is
not zero.
This commit is contained in:
@@ -536,6 +536,11 @@ bfd_elf_print_symbol (ignore_abfd, filep, symbol, how)
|
||||
(bfd_is_com_section (symbol->section)
|
||||
? ((elf_symbol_type *) symbol)->internal_elf_sym.st_value
|
||||
: ((elf_symbol_type *) symbol)->internal_elf_sym.st_size));
|
||||
/* If the st_other field is not zero, print it. */
|
||||
if (((elf_symbol_type *) symbol)->internal_elf_sym.st_other != 0)
|
||||
fprintf (file, " 0x%02x",
|
||||
((unsigned int)
|
||||
((elf_symbol_type *) symbol)->internal_elf_sym.st_other));
|
||||
fprintf (file, " %s", symbol->name);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user