diff options
author | Alan Modra <amodra@bigpond.net.au> | 2005-02-24 13:34:38 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2005-02-24 13:34:38 +0000 |
commit | da7f4fa94dff305df016b762dac3ca179542aa54 (patch) | |
tree | 15907f5a8bbd15988f184baa9934f479bc65652e /bfd/elf32-sh-symbian.c | |
parent | 8eeaa710ccfd252b9f2d189453f00e555f8ed82b (diff) | |
download | gdb-da7f4fa94dff305df016b762dac3ca179542aa54.tar.gz |
* 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.
Diffstat (limited to 'bfd/elf32-sh-symbian.c')
-rw-r--r-- | bfd/elf32-sh-symbian.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-sh-symbian.c b/bfd/elf32-sh-symbian.c index 549da3a605f..8b15606dde4 100644 --- a/bfd/elf32-sh-symbian.c +++ b/bfd/elf32-sh-symbian.c @@ -374,8 +374,8 @@ sh_symbian_process_embedded_commands (struct bfd_link_info *info, bfd * abfd, if (! result) { if (DEBUG) - fprintf (stderr, "offset into .directive section: %d\n", - directive - (char *) contents); + fprintf (stderr, "offset into .directive section: %ld\n", + (long) (directive - (char *) contents)); bfd_set_error (bfd_error_invalid_operation); _bfd_error_handler (_("%B: Unrecognised .directive command: %s"), |