mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-29 05:29:47 +00:00
binutils: display file auxentries
This commit is contained in:
parent
641a8e2c77
commit
ee5a3b13ca
@ -2407,6 +2407,21 @@ coff_print_aux (bfd *abfd ATTRIBUTE_UNUSED,
|
||||
BFD_ASSERT (symbol->is_sym);
|
||||
BFD_ASSERT (! aux->is_sym);
|
||||
#ifdef RS6000COFF_C
|
||||
if (symbol->u.syment.n_sclass == C_FILE)
|
||||
{
|
||||
if (aux->u.auxent.x_file.x_n.x_zeroes)
|
||||
{
|
||||
fprintf (file, "File \"%s\"", aux->u.auxent.x_file.x_fname);
|
||||
}
|
||||
else
|
||||
{
|
||||
const char * string_table = obj_coff_strings(abfd);
|
||||
|
||||
fprintf (file, "File \"%s\"", string_table + aux->u.auxent.x_file.x_n.x_offset);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if (CSECT_SYM_P (symbol->u.syment.n_sclass)
|
||||
&& indaux + 1 == symbol->u.syment.n_numaux)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user