diff options
author | Alan Modra <amodra@gmail.com> | 2005-02-22 13:00:26 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-02-22 13:00:26 +0000 |
commit | 5718918d7aeb65ee118cd7f2cbcc3f1a4cde4ff6 (patch) | |
tree | b2c403d4ebf833ca63a9a61686f854faa3ec2419 /ld/ldwrite.c | |
parent | 8c62e9e130c4edabca0044ee9543339d959f0b4a (diff) | |
download | gdb-5718918d7aeb65ee118cd7f2cbcc3f1a4cde4ff6.zip gdb-5718918d7aeb65ee118cd7f2cbcc3f1a4cde4ff6.tar.gz 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.c | 4 |
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 |