version 1.1.1.5, 2020/04/03 23:39:56 |
version 1.1.1.6, 2022/12/23 19:01:05 |
|
|
/* od-xcoff.c -- dump information about an xcoff object file. |
/* od-xcoff.c -- dump information about an xcoff object file. |
Copyright (C) 2011-2020 Free Software Foundation, Inc. |
Copyright (C) 2011-2022 Free Software Foundation, Inc. |
Written by Tristan Gingold, Adacore. |
Written by Tristan Gingold, Adacore. |
|
|
This file is part of GNU Binutils. |
This file is part of GNU Binutils. |
Line 300 static const struct xlat_table rtype_xla |
|
Line 300 static const struct xlat_table rtype_xla |
|
RTYPE_ENTRY (NEG), |
RTYPE_ENTRY (NEG), |
RTYPE_ENTRY (REL), |
RTYPE_ENTRY (REL), |
RTYPE_ENTRY (TOC), |
RTYPE_ENTRY (TOC), |
RTYPE_ENTRY (RTB), |
RTYPE_ENTRY (TRL), |
RTYPE_ENTRY (GL), |
RTYPE_ENTRY (GL), |
RTYPE_ENTRY (TCL), |
RTYPE_ENTRY (TCL), |
RTYPE_ENTRY (BA), |
RTYPE_ENTRY (BA), |
Line 308 static const struct xlat_table rtype_xla |
|
Line 308 static const struct xlat_table rtype_xla |
|
RTYPE_ENTRY (RL), |
RTYPE_ENTRY (RL), |
RTYPE_ENTRY (RLA), |
RTYPE_ENTRY (RLA), |
RTYPE_ENTRY (REF), |
RTYPE_ENTRY (REF), |
RTYPE_ENTRY (TRL), |
|
RTYPE_ENTRY (TRLA), |
RTYPE_ENTRY (TRLA), |
RTYPE_ENTRY (RRTBI), |
RTYPE_ENTRY (RRTBI), |
RTYPE_ENTRY (RRTBA), |
RTYPE_ENTRY (RRTBA), |
Line 839 dump_xcoff32_symbols (bfd *abfd, struct |
|
Line 838 dump_xcoff32_symbols (bfd *abfd, struct |
|
{ |
{ |
/* Function aux entry (Do not translate). */ |
/* Function aux entry (Do not translate). */ |
printf (" exptr: %08x fsize: %08x lnnoptr: %08x endndx: %u\n", |
printf (" exptr: %08x fsize: %08x lnnoptr: %08x endndx: %u\n", |
(unsigned)bfd_h_get_32 (abfd, aux->x_sym.x_tagndx), |
(unsigned)bfd_h_get_32 (abfd, aux->x_fcn.x_exptr), |
(unsigned)bfd_h_get_32 |
(unsigned)bfd_h_get_32 |
(abfd, aux->x_sym.x_misc.x_fsize), |
(abfd, aux->x_fcn.x_fsize), |
(unsigned)bfd_h_get_32 |
(unsigned)bfd_h_get_32 |
(abfd, aux->x_sym.x_fcnary.x_fcn.x_lnnoptr), |
(abfd, aux->x_fcn.x_lnnoptr), |
(unsigned)bfd_h_get_32 |
(unsigned)bfd_h_get_32 |
(abfd, aux->x_sym.x_fcnary.x_fcn.x_endndx)); |
(abfd, aux->x_fcn.x_endndx)); |
} |
} |
else if (j == 1 || (j == 0 && s->sym.numaux == 1)) |
else if (j == 1 || (j == 0 && s->sym.numaux == 1)) |
{ |
{ |
Line 900 dump_xcoff32_symbols (bfd *abfd, struct |
|
Line 899 dump_xcoff32_symbols (bfd *abfd, struct |
|
case C_FCN: |
case C_FCN: |
printf (" lnno: %u\n", |
printf (" lnno: %u\n", |
(unsigned)bfd_h_get_16 |
(unsigned)bfd_h_get_16 |
(abfd, aux->x_sym.x_misc.x_lnsz.x_lnno)); |
(abfd, aux->x_sym.x_lnno)); |
break; |
break; |
default: |
default: |
/* Do not translate - generic field name. */ |
/* Do not translate - generic field name. */ |