mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 10:09:16 +08:00
* coffcode.h (coff_print_aux): Warning fix.
* elf-m10300.c (mn10300_elf_relax_section): Use section->id instead of section pointer to identify. * coff-h8300.c (h8300_reloc16_extra_cases): Likewise. Allocate the correct size buffer for local sym mangling too. (h8300_bfd_link_add_symbols): Likewise. * elf32-sh-symbian.c (sh_symbian_process_embedded_commands): Fix warning. * elf32-sh64.c (shmedia_prepare_reloc): Use %B and %p in error message * elf32-xtensa.c (literal_value_hash): Warning fix. * versados.c (process_otr): Warning fix. (versados_canonicalize_reloc): Likewise. * vms-gsd.c (_bfd_vms_slurp_gsd): Warning fix. * vms.c (fill_section_ptr): Warning fix.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
/* Support for the generic parts of most COFF variants, for BFD.
|
||||
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
2000, 2001, 2002, 2003, 2004
|
||||
2000, 2001, 2002, 2003, 2004, 2005
|
||||
Free Software Foundation, Inc.
|
||||
Written by Cygnus Support.
|
||||
|
||||
@ -2406,7 +2406,8 @@ coff_print_aux (abfd, file, table_base, symbol, aux, indaux)
|
||||
{
|
||||
BFD_ASSERT (! aux->fix_scnlen);
|
||||
#ifdef XCOFF64
|
||||
fprintf (file, "val %5lld", aux->u.auxent.x_csect.x_scnlen.l);
|
||||
fprintf (file, "val %5lld",
|
||||
(long long) aux->u.auxent.x_csect.x_scnlen.l);
|
||||
#else
|
||||
fprintf (file, "val %5ld", (long) aux->u.auxent.x_csect.x_scnlen.l);
|
||||
#endif
|
||||
@ -2416,7 +2417,8 @@ coff_print_aux (abfd, file, table_base, symbol, aux, indaux)
|
||||
fprintf (file, "indx ");
|
||||
if (! aux->fix_scnlen)
|
||||
#ifdef XCOFF64
|
||||
fprintf (file, "%4lld", aux->u.auxent.x_csect.x_scnlen.l);
|
||||
fprintf (file, "%4lld",
|
||||
(long long) aux->u.auxent.x_csect.x_scnlen.l);
|
||||
#else
|
||||
fprintf (file, "%4ld", (long) aux->u.auxent.x_csect.x_scnlen.l);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user