summaryrefslogtreecommitdiff
path: root/ld/ldwrite.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-02-22 13:00:26 +0000
committerAlan Modra <amodra@bigpond.net.au>2005-02-22 13:00:26 +0000
commit32b3b9f6eaeb442de1947d8280c07317f938fe81 (patch)
tree527c4e189db46e0b2c7b98a4897df51a80f71e07 /ld/ldwrite.c
parentbfbbe4058fb0bab777bab6aa78d99ea99e29618f (diff)
downloadbinutils-redhat-32b3b9f6eaeb442de1947d8280c07317f938fe81.tar.gz
* 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 a41a0e96c1..56c4d0a343 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