[Patch] Add sh64*-*-linux* targets
Clarke, Stephen
stephen.clarke@superh.com
Tue Sep 3 10:52:00 GMT 2002
The attached patch adds two new targets:
sh64-*-linux* (SH-5 Linux little-endian, 32-bit ABI),
and sh64eb-*-linux* (SH-5 Linux big-endian, 32-bit ABI).
There are lots of gas and ld testsuite failures in
these configurations: I'll submit patches to fix
those separately.
Ok to apply?
bfd:
* Makefile.am: Add entries for elf32-sh64-lin.c and
elf64-sh64-lin.c. Regenerate.
* Makefile.in: Regenerate.
* config.bfd: Change sh64eb-*-linux* and sh64-*-linux*
to use sh64 vectors rather than sh vectors.
* configure.in: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec,
bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec.
* configure: Regenerate.
* elf32-sh64-lin.c: New file.
* elf64-sh64-lin.c: New file.
* targets.c: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec,
bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec.
gas:
* tc-sh64.c (sh64_target_format): Add support for sh64
Linux environment.
ld:
* Makefile.am: Add eshelf32_linux.o and
eshlelf32_linux.o, new emulations for sh64 Linux.
* Makefile.in: Regenerate.
* configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations.
* emulparams/shelf32_linux.sh: New file.
* emulparams/shlelf32_linux.sh: New file.
Steve.
--
Stephen Clarke, Principal Engineer, SuperH Inc.
Phone:1-408-273-3146, Fax:1-408-273-3199, mailto:Stephen.Clarke@superh.com
Mail: SuperH Inc., 405 River Oaks Pkwy, San Jose, CA 95134, USA.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sh64-linux.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20020903/eccf8700/attachment.txt>
More information about the Binutils
mailing list