This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Fix compile time warning for sh-symbianelf target
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 21 Mar 2005 15:47:45 +0000
- Subject: Fix compile time warning for sh-symbianelf target
Hi Guys,
I am applying the patch below to fix a compile time warning for the
sh-symbianelf target.
Cheers
Nick
2005-03-21 Nick Clifton <nickc@redhat.com>
* config/tc-sh.c (sh_elf_final_processing): Fix compile time
warning by providing a prototype for sh_symbian_find_elf_flags.
Index: gas/config/tc-sh.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-sh.c,v
retrieving revision 1.106
diff -c -3 -p -r1.106 tc-sh.c
*** gas/config/tc-sh.c 23 Feb 2005 12:28:05 -0000 1.106
--- gas/config/tc-sh.c 21 Mar 2005 15:32:59 -0000
*************** sh_elf_final_processing (void)
*** 3777,3783 ****
else
#elif defined TARGET_SYMBIAN
if (1)
! val = sh_symbian_find_elf_flags (valid_arch);
else
#endif /* HAVE_SH64 */
val = sh_find_elf_flags (valid_arch);
--- 3777,3787 ----
else
#elif defined TARGET_SYMBIAN
if (1)
! {
! extern int sh_symbian_find_elf_flags (unsigned int);
!
! val = sh_symbian_find_elf_flags (valid_arch);
! }
else
#endif /* HAVE_SH64 */
val = sh_find_elf_flags (valid_arch);