This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: sunos 5.9 - build - vxworks_before_parse defined but not used
- From: "Poor Yorick" <org dot sourceware dot binutils at pooryorick dot com>
- To: "" <binutils at sourceware dot org>
- Cc: "Nick Clifton" <nickc at redhat dot com>
- Date: Mon, 29 Oct 2007 14:18:50 +0000
- Subject: Re: sunos 5.9 - build - vxworks_before_parse defined but not used
- Reply-to: "Poor Yorick" <org dot sourceware dot binutils at pooryorick dot com>
> -------Original Message-------
> From: Poor Yorick <org.sourceware.binutils@pooryorick.com>
> Subject: Re: sunos 5.9 - build - vxworks_before_parse defined but not used
> Sent: 2007-10-29 04:19
>
> > -------Original Message-------
> > From: Nick Clifton <nickc@redhat.com>
> > Subject: Re: sunos 5.9 - build - vxworks_before_parse defined but not used
> > Sent: 2007-10-26 11:38
> >
> > Hi Yorick,
> >
> > > compiling binutils-2.18 on Solaris 9, gcc version 3.4.2, with gnu ld:
> >
> > How did you configure this build ?
>
> /path/to/configure --disable-nls --enable-64-bit-bfd --enable-targets=all --enable-shared --prefix=/path/to/binutils-2.18
>
> >
> > > .././ld/emultempl/vxworks.em:6: warning: 'vxworks_before_parse' defined but not used
> > > .././ld/emultempl/vxworks.em:13: warning: 'vxworks_after_open' defined but not used
> >
> > This is supposed to be handled by the shell script code at the end of
> > ld/emultemp/vxworks.em. What does the ld_armelf_vxworks_emulation structure in
> > the generated earmelf_vxworks.c file look like ?
> >
Here it is:
struct ld_emulation_xfer_struct ld_armelf_vxworks_emulation =
{
gldarmelf_vxworks_before_parse,
syslib_default,
hll_default,
after_parse_default,
arm_elf_after_open,
arm_elf_after_allocation,
set_output_arch_default,
ldemul_default_target,
arm_elf_before_allocation,
gldarmelf_vxworks_get_script,
"armelf_vxworks",
"elf32-littlearm-vxworks",
arm_elf_finish,
arm_elf_create_output_section_statements,
gldarmelf_vxworks_open_dynamic_archive,
gldarmelf_vxworks_place_orphan,
NULL,
NULL,
gldarmelf_vxworks_add_options,
gldarmelf_vxworks_handle_option,
NULL,
gldarmelf_vxworks_list_options,
gldarmelf_vxworks_load_symbols,
NULL,
NULL
};
I tried using Solaris ld instead of gnu ld, but same result.
--
Poor Yorick