This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch] Add sh64*-*-linux* targets


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.

Attachment: sh64-linux.txt
Description: sh64-linux.txt


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]