* ldexp.c: Warning fixes.
* ldwrite.c: Likewise. * emultempl/elf32.em: Likewise.
This commit is contained in:
parent
8c62e9e130
commit
5718918d7a
4 changed files with 11 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-02-22 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* ldexp.c: Warning fixes.
|
||||||
|
* ldwrite.c: Likewise.
|
||||||
|
* emultempl/elf32.em: Likewise.
|
||||||
|
|
||||||
2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
|
2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
|
* ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
|
||||||
|
|
|
@ -1017,8 +1017,8 @@ if test x"$LDEMUL_BEFORE_ALLOCATION" != xgld"$EMULATION_NAME"_before_allocation;
|
||||||
ELF_INTERPRETER_SET_DEFAULT="
|
ELF_INTERPRETER_SET_DEFAULT="
|
||||||
if (sinterp != NULL)
|
if (sinterp != NULL)
|
||||||
{
|
{
|
||||||
sinterp->contents = ${ELF_INTERPRETER_NAME};
|
sinterp->contents = (unsigned char *) ${ELF_INTERPRETER_NAME};
|
||||||
sinterp->size = strlen (sinterp->contents) + 1;
|
sinterp->size = strlen ((char *) sinterp->contents) + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
"
|
"
|
||||||
|
|
|
@ -1115,7 +1115,7 @@ exp_get_fill (etree_type *tree,
|
||||||
fill = xmalloc ((len + 1) / 2 + sizeof (*fill) - 1);
|
fill = xmalloc ((len + 1) / 2 + sizeof (*fill) - 1);
|
||||||
fill->size = (len + 1) / 2;
|
fill->size = (len + 1) / 2;
|
||||||
dst = fill->data;
|
dst = fill->data;
|
||||||
s = r.str;
|
s = (unsigned char *) r.str;
|
||||||
val = 0;
|
val = 0;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* ldwrite.c -- write out the linked file
|
/* ldwrite.c -- write out the linked file
|
||||||
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2002,
|
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
|
Written by Steve Chamberlain sac@cygnus.com
|
||||||
|
|
||||||
This file is part of GLD, the Gnu Linker.
|
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
|
is going to be output, we'll change it into a
|
||||||
fill. */
|
fill. */
|
||||||
link_order->type = bfd_data_link_order;
|
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;
|
link_order->u.data.size = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue