This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: v850 sim noncompile (was: Re: Add v850 linker relaxation)
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andrew Cagney <ac131313 at ges dot redhat dot com>
- Cc: Nick Clifton <nickc at redhat dot com>, Hans-Peter Nilsson <hp at bitrange dot com>,gdb-patches at sources dot redhat dot com
- Date: Thu, 19 Sep 2002 10:51:21 -0400
- Subject: Re: v850 sim noncompile (was: Re: Add v850 linker relaxation)
- References: <Pine.BSF.4.44.0209181811090.78869-100000@dair.pair.com> <m37khizabx.fsf@north-pole.nickc.cambridge.redhat.com> <3D89E392.1080100@ges.redhat.com>
On Thu, Sep 19, 2002 at 10:47:46AM -0400, Andrew Cagney wrote:
> >Hi Hans-Peter,
> >
> >
> >>I just noticed this error when doing a "full build" as per
> >><URL:http://gcc.gnu.org/simtest-howto.html> yaddayaddayadda:
> >>.../sim/v850/interp.c: In function `sim_open':
> >>.../sim/v850/interp.c:283: `bfd_mach_v850ea' undeclared (first use in
> >>this function)
> >
> >
> >Oopsie, fixed by applying the attached patch.
> >
> >Cheers
> > Nick
> >
> >2002-09-19 Nick Clifton <nickc@redhat.com>
> >
> > * interp.c (sim_open): Remove reference to v850ea.
> > (sim_create_inferior): Likewise.
> > * v850-dc: Likewise.
> > * v850.igen: Remove all references to v850ea, including v850ea
> > specific instructions.
> >
>
> Nick, this isn't right. That code has been around for a very long time
> and has compiled before. I think the problem is elsewhere.
Andrew, Nick is perfectly correct:
2002-08-28 Catherine Moore <clm@redhat.com>
* elf32-v850.c (v850_elf_reloc_map): Add new relocs.
(v850-elf-reloc): Don't resolve pc relative relocs.
(v850_elf_ignore_reloc): New routine.
(v850_elf_final_link_relocate): Handle new relocs.
(v850_elf_relax_delete_bytes ): New routine.
(v850_elf_relax_section): New routine.
(bfd_elf32_bfd_relax_section): Define.
(HOWTO): New entries for new relocs.
* reloc.c (BFD_RELOC_V850_LONGCALL): New reloc.
(BFD_RELOC_V850_LONGJUMP): New reloc.
(BFD_RELOC_V850_ALIGN): New reloc.
* archures.c: Remove redundant v850ea architecture.
* cpu-v850.c: Remove redundant v850ea support.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerated.
Catherine forgot to regenerate bfd-in2.h, so this only showed up when I
committed a separate patch yesterday.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer