aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2004-05-07 15:21:27 +0000
committerJoern Rennecke <joern.rennecke@embecosm.com>2004-05-07 15:21:27 +0000
commit5f9b892013f7eacc96a3915f14005c59b5a1d3c5 (patch)
treee23b013534ce02f7bb1ac7f3d008f4f1deb4a0e2 /ld/ldlang.c
parent26d2d8a262f6d6248ec4a76dbcca532a42af2130 (diff)
downloadgdb-5f9b892013f7eacc96a3915f14005c59b5a1d3c5.zip
gdb-5f9b892013f7eacc96a3915f14005c59b5a1d3c5.tar.gz
gdb-5f9b892013f7eacc96a3915f14005c59b5a1d3c5.tar.bz2
* ldlang.c (print_padding_statement): Cast size_t to bfd_vma
before printing it with %W.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index d2b5fed..40feeb3 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -2490,7 +2490,7 @@ print_padding_statement (lang_padding_statement_type *s)
addr = s->output_offset;
if (s->output_section != NULL)
addr += s->output_section->vma;
- minfo ("0x%V %W ", addr, s->size);
+ minfo ("0x%V %W ", addr, (bfd_vma) s->size);
if (s->fill->size != 0)
{