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/emultempl | |
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/emultempl')
-rw-r--r-- | ld/emultempl/elf32.em | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 5337e18..0f90455 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -1017,8 +1017,8 @@ if test x"$LDEMUL_BEFORE_ALLOCATION" != xgld"$EMULATION_NAME"_before_allocation; ELF_INTERPRETER_SET_DEFAULT=" if (sinterp != NULL) { - sinterp->contents = ${ELF_INTERPRETER_NAME}; - sinterp->size = strlen (sinterp->contents) + 1; + sinterp->contents = (unsigned char *) ${ELF_INTERPRETER_NAME}; + sinterp->size = strlen ((char *) sinterp->contents) + 1; } " |