mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-12 02:17:45 +08:00
Make bfd_get_8 return a bfd_vma like other bfd_get_* functions
And similarly for bfd_get_signed_8. bfd/ * libbfd.c (bfd_get_8): Return a bfd_vma. (bfd_get_signed_8): Return a bfd_signed_vma. * bfd-in2.h: Regenerate. binutils/ * od-xcoff.c (dump_dumpx_core): Adjust for bfd_h_get_8 change.
This commit is contained in:
@ -1680,8 +1680,10 @@ dump_dumpx_core (bfd *abfd, struct external_core_dumpx *hdr)
|
||||
{
|
||||
if (options[OPT_FILE_HEADER].selected)
|
||||
{
|
||||
printf (" signal: %u\n", bfd_h_get_8 (abfd, hdr->c_signo));
|
||||
printf (" flags: 0x%02x\n", bfd_h_get_8 (abfd, hdr->c_flag));
|
||||
printf (" signal: %u\n",
|
||||
(unsigned) bfd_h_get_8 (abfd, hdr->c_signo));
|
||||
printf (" flags: 0x%02x\n",
|
||||
(unsigned) bfd_h_get_8 (abfd, hdr->c_flag));
|
||||
printf (" entries: %u\n",
|
||||
(unsigned) bfd_h_get_16 (abfd, hdr->c_entries));
|
||||
#ifdef BFD64
|
||||
|
Reference in New Issue
Block a user