summaryrefslogtreecommitdiff
path: root/bfd/elf32-sh-symbian.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2008-07-30 04:34:55 +0000
committerAlan Modra <amodra@bigpond.net.au>2008-07-30 04:34:55 +0000
commit95584ca86345c94ccccdaf0c927e0f72ac7aa7c0 (patch)
treeefd9609ec9fbfc1fc22999a21ca49ca2e14935c3 /bfd/elf32-sh-symbian.c
parent59ea9db5720df5ef9dd656d7816bc9a1190c70d3 (diff)
downloadgdb-95584ca86345c94ccccdaf0c927e0f72ac7aa7c0.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 361031a4683..cec0d032b62 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;
}