diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 2002-06-13 20:11:35 +0000 |
---|---|---|
committer | Joern Rennecke <joern.rennecke@embecosm.com> | 2002-06-13 20:11:35 +0000 |
commit | 5d9b5481e3b319718a3c3736d5b7f308abeaa156 (patch) | |
tree | 1ea0bf0c11d78a15b7201eea0190f74ee52c2cd3 /ld | |
parent | 6da02953ffea422a5d0f2d7b200f915e0be028eb (diff) | |
download | gdb-5d9b5481e3b319718a3c3736d5b7f308abeaa156.zip gdb-5d9b5481e3b319718a3c3736d5b7f308abeaa156.tar.gz gdb-5d9b5481e3b319718a3c3736d5b7f308abeaa156.tar.bz2 |
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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/configure.tgt | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 6fb172a..071d22f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +Thu Jun 13 20:18:38 2002 J"orn Rennecke <joern.rennecke@superh.com> + + * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf. + 2002-06-12 H.J. Lu <hjl@gnu.org> * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return diff --git a/ld/configure.tgt b/ld/configure.tgt index 5a135c6..9deb504 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -294,11 +294,11 @@ sh*-*-netbsdelf*) targ_emul=shelf_nbsd targ_extra_emuls=shlelf_nbsd ;; -shle*-*-elf*) +shle*-*-elf* | sh[1234]*le*-*-elf) targ_emul=shlelf targ_extra_emuls="shelf shl sh" ;; -sh-*-elf* | sh-*-rtemself*) +sh-*-elf* | sh[1234]*-*-elf | sh-*-rtemself*) targ_emul=shelf targ_extra_emuls="shlelf sh shl" ;; |