Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Andrew Cagney <ac131313@ges.redhat.com>
Cc: Nick Clifton <nickc@redhat.com>,
	Hans-Peter Nilsson <hp@bitrange.com>,
	gdb-patches@sources.redhat.com
Subject: Re: v850 sim noncompile (was: Re: Add v850 linker relaxation)
Date: Thu, 19 Sep 2002 07:51:00 -0000	[thread overview]
Message-ID: <20020919145121.GA19937@nevyn.them.org> (raw)
In-Reply-To: <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


  reply	other threads:[~2002-09-19 14:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.BSF.4.44.0209181811090.78869-100000@dair.pair.com>
2002-09-19  0:50 ` Nick Clifton
2002-09-19  7:47   ` Andrew Cagney
2002-09-19  7:51     ` Daniel Jacobowitz [this message]
2002-09-19  8:15       ` Andrew Cagney
2002-09-19  9:26         ` Nick Clifton
2002-09-19 12:10           ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020919145121.GA19937@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=ac131313@ges.redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=hp@bitrange.com \
    --cc=nickc@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox