Individual processor configurations for sh-elf / sh-linux:
commit552e2c7b1ab8a56f65fca0ba19e19fdf41d3cb6d
authorJoern Rennecke <joern.rennecke@arc.com>
Thu, 13 Jun 2002 20:11:35 +0000 (13 20:11 +0000)
committerJoern Rennecke <joern.rennecke@arc.com>
Thu, 13 Jun 2002 20:11:35 +0000 (13 20:11 +0000)
tree6668021a6ee959d595866c927c117bf92a0a9a6f
parentdf73517ca31204440513fdfae4c276129724e27b
Individual processor configurations for sh-elf / sh-linux:

gcc:
* config.gcc: Add support for sh[234]*-*-elf*, sh[2346lbe]*-*-linux*.
* config/sh/linux.h (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT.
* sh.h (SELECT_SH1, SELECT_SH2, SELECT_SH3, SELECT_SH3E): New macros.
(SELECT_SH4_NOFPU, SELECT_SH4_SINGLE_ONLY, SELECT_SH4): Likewise.
(SELECT_SH4_SINGLE, SELECT_SH5_64, SELECT_SH5_64_NOFPU): Likewise.
(SELECT_SH5_32, SELECT_SH5_32_NOFPU, SELECT_SH5_COMPACT): Likewise.
(SELECT_SH5_COMPACT_NOFPU): Likewise.
(TARGET_SWITCHES): Use them.
(TARGET_CPU_DEFAULT): Define if not already defined.
(TARGET_DEFAULT): Use it.
(LINK_DEFAULT_CPU_EMUL): Value now depends on TARGET_CPU_DEFAULT.
* config/sh/t-linux (MULTILIB_OPTIONS): Use MULTILIB_ENDIAN.
* config/sh/t-monolib: New file.

bfd:
config.bfd: Add support for sh[1234]l*-*-elf* | sh3el*-*-elf*,
sh[1234]*-elf*.

ld:
* configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.

Still outstanding:
config.sub:
* config.sub: Add support for sh[12], sh3e, sh[1234]le, sh3ele,
shle, sh[1234]le, sh3ele, sh64le.
bfd/ChangeLog
bfd/config.bfd
ld/ChangeLog
ld/configure.tgt