This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] linux support for SH
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: [PATCH] linux support for SH
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 06 Sep 2000 19:48:33 -0600
- cc: kaz Kojima <kkojima at rr dot iij4u dot or dot jp>, binutils at sources dot redhat dot com
- Reply-To: law at cygnus dot com
In message <orya1bbbqd.fsf@guarana.lsd.ic.unicamp.br>you write:
> --=-=-=
>
> Here's a patch for binutils support of GNU/Linux/SH. Ok to install?
>
> Note the weirdness in BFD in order to correctly drop the leading
> underscores from symbol names, which the SH-Linux guys decided to do.
> Ugh :-(
>
>
> --=-=-=
> Content-Type: text/x-patch
> Content-Disposition: inline; filename=shlin-bfd.patch
>
> Index: bfd/ChangeLog
> from Alexandre Oliva <aoliva@redhat.com>
>
> * config.bfd (sh-*-linux*): Added.
> * configure.in (bfd_elf32_shlin_vec, bfd_elf32_shblin_vec): New.
> * targets.c: Declare them.
> * elf32-sh-lin.c: New file.
> * Makefile.am: Compile it.
> * elf32-sh.c: Don't override defines from elf32-sh-lin.c.
> * configure, Makefile.in: Rebuilt.
Approved.
> Index: gas/ChangeLog
> from Alexandre Oliva <aoliva@redhat.com>
>
> * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
> * configure.in (sh-*-linux*): Added.
> * configure: Rebuilt.
Approved.
> Index: ld/ChangeLog
> from Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>
> , Alexandre Oliva <aoliva@redhat.com>
>
> * configure.tgt (sh-*-linux*): Added.
> * Makefile.am: Added eshelf_linux and eshlelf_linux.
> * Makefile.in: Rebuilt.
> * emulparams/shelf_linux.sh: New file.
> * emulparams/shlelf_linux.sh: New file.
Approved.