This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: gcc-3.1 builds for targets sh-hms
On Sat, May 11, 2002 at 12:29:26PM +0100, Nick Clifton wrote:
> Hi Rekha,
>
> > I tried the sh-coff and sh-hms target builds with gcc-3.1,
> > binutils-2.12 and newlib-1.10.
>
> > Out of which sh-coff got successfully built. Even though sh-hms and
> > sh-coff formats are said to be quite similar, sh-hms was failing in
> > binutils-> make all with the following error
> >
> > obj-coff.o(.text+0x2eca): undefined reference to `md_pcrel_from'
> > obj-coff.o(.text+0x2f3f): undefined reference to `md_pcrel_from'
>
> Thanks for reporting this problem. I have fixed it by applying the
> patch below.
>
> Cheers
> Nick
>
> 2002-05-11 Nick Clifton <nickc@cambridge.redhat.com>
>
> * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms
> target.
> (md_pcrel_from_section): Use md_pcrel_from().
Thanks; I've merged this patch to the 2.12 branch.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer