summaryrefslogtreecommitdiff
path: root/bfd/elf32-sh-symbian.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2008-07-30 04:34:58 +0000
committerAlan Modra <amodra@bigpond.net.au>2008-07-30 04:34:58 +0000
commit2992fc038ac25897a1324145ed146d18e83d92be (patch)
treea401676b306b6dc9984d82ea9219b4d822e4cf59 /bfd/elf32-sh-symbian.c
parent1af22fcd336623a00a96c8e47db78ca5192af449 (diff)
downloadbinutils-redhat-2992fc038ac25897a1324145ed146d18e83d92be.tar.gz
Silence gcc printf warnings
Diffstat (limited to 'bfd/elf32-sh-symbian.c')
-rw-r--r--bfd/elf32-sh-symbian.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/elf32-sh-symbian.c b/bfd/elf32-sh-symbian.c
index 361031a468..cec0d032b6 100644
--- a/bfd/elf32-sh-symbian.c
+++ b/bfd/elf32-sh-symbian.c
@@ -1,5 +1,5 @@
/* Renesas / SuperH specific support for Symbian 32-bit ELF files
- Copyright 2004, 2005, 2006, 2007
+ Copyright 2004, 2005, 2006, 2007, 2008
Free Software Foundation, Inc.
Contributed by Red Hat
@@ -605,7 +605,8 @@ sh_symbian_relocate_section (bfd * output_bfd,
BFD_ASSERT (ptr->new_symndx);
if (SYMBIAN_DEBUG)
fprintf (stderr, "convert reloc %lx from using index %ld to using index %ld\n",
- (long) rel->r_info, (long) ELF32_R_SYM (rel->r_info), ptr->new_symndx);
+ (unsigned long) rel->r_info,
+ (long) ELF32_R_SYM (rel->r_info), ptr->new_symndx);
rel->r_info = ELF32_R_INFO (ptr->new_symndx, r_type);
break;
}