From 476391821eba2421a6f463c493de97210399a802 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 23 Feb 2005 12:30:48 +0000 Subject: * pe-dll.c: Warning fixes. * emultempl/sunos.em: Likewise. --- ld/emultempl/sunos.em | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ld/emultempl') diff --git a/ld/emultempl/sunos.em b/ld/emultempl/sunos.em index 070ff98..cc19201 100644 --- a/ld/emultempl/sunos.em +++ b/ld/emultempl/sunos.em @@ -10,7 +10,7 @@ cat >e${EMULATION_NAME}.c < SunOS shared library support by Ian Lance Taylor @@ -917,7 +917,7 @@ gld${EMULATION_NAME}_set_need (lang_input_statement_type *inp) bfd_put_32 (output_bfd, (bfd_vma) 0, need_pinfo + 4); bfd_put_16 (output_bfd, (bfd_vma) 0, need_pinfo + 8); bfd_put_16 (output_bfd, (bfd_vma) 0, need_pinfo + 10); - strcpy (need_pnames, inp->filename); + strcpy ((char *) need_pnames, inp->filename); } else { @@ -932,7 +932,7 @@ gld${EMULATION_NAME}_set_need (lang_input_statement_type *inp) sscanf (verstr, ".so.%d.%d", &maj, &min); bfd_put_16 (output_bfd, (bfd_vma) maj, need_pinfo + 8); bfd_put_16 (output_bfd, (bfd_vma) min, need_pinfo + 10); - strcpy (need_pnames, inp->local_sym_name + 2); + strcpy ((char *) need_pnames, inp->local_sym_name + 2); } c = (need_pinfo - need_contents) / NEED_ENTRY_SIZE; @@ -943,7 +943,7 @@ gld${EMULATION_NAME}_set_need (lang_input_statement_type *inp) need_pinfo + 12); need_pinfo += NEED_ENTRY_SIZE; - need_pnames += strlen (need_pnames) + 1; + need_pnames += strlen ((char *) need_pnames) + 1; } } -- cgit v1.1