aboutsummaryrefslogtreecommitdiff
path: root/ld/ldwrite.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-02-22 13:00:26 +0000
committerAlan Modra <amodra@gmail.com>2005-02-22 13:00:26 +0000
commit5718918d7aeb65ee118cd7f2cbcc3f1a4cde4ff6 (patch)
treeb2c403d4ebf833ca63a9a61686f854faa3ec2419 /ld/ldwrite.c
parent8c62e9e130c4edabca0044ee9543339d959f0b4a (diff)
downloadfsf-binutils-gdb-5718918d7aeb65ee118cd7f2cbcc3f1a4cde4ff6.zip
fsf-binutils-gdb-5718918d7aeb65ee118cd7f2cbcc3f1a4cde4ff6.tar.gz
fsf-binutils-gdb-5718918d7aeb65ee118cd7f2cbcc3f1a4cde4ff6.tar.bz2
* ldexp.c: Warning fixes.
* ldwrite.c: Likewise. * emultempl/elf32.em: Likewise.
Diffstat (limited to 'ld/ldwrite.c')
-rw-r--r--ld/ldwrite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldwrite.c b/ld/ldwrite.c
index a41a0e9..56c4d0a 100644
--- a/ld/ldwrite.c
+++ b/ld/ldwrite.c
@@ -1,6 +1,6 @@
/* ldwrite.c -- write out the linked file
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2002,
- 2003, 2004 Free Software Foundation, Inc.
+ 2003, 2004, 2005 Free Software Foundation, Inc.
Written by Steve Chamberlain sac@cygnus.com
This file is part of GLD, the Gnu Linker.
@@ -242,7 +242,7 @@ build_link_order (lang_statement_union_type *statement)
is going to be output, we'll change it into a
fill. */
link_order->type = bfd_data_link_order;
- link_order->u.data.contents = "";
+ link_order->u.data.contents = (unsigned char *) "";
link_order->u.data.size = 1;
}
else