diff options
author | Jason Thorpe <thorpej@netbsd.org> | 2002-06-04 02:57:44 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@netbsd.org> | 2002-06-04 02:57:44 +0000 |
commit | 5b0e55b627d80fe3220036737d639cbba71a3e1e (patch) | |
tree | 03cc0e77bfbabcf054498cd8f7077d57997f4d11 /ld/emulparams | |
parent | a074e149a5779e77e3dfe44c07ed215dca1fefae (diff) | |
download | gdb-5b0e55b627d80fe3220036737d639cbba71a3e1e.zip gdb-5b0e55b627d80fe3220036737d639cbba71a3e1e.tar.gz gdb-5b0e55b627d80fe3220036737d639cbba71a3e1e.tar.bz2 |
bfd:
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64-nbsd.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64-nbsd.c.
(BFD64_BACKENDS): Add elf64-sh64-nbsd.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64-nbsd.c.
(elf32-sh64-nbsd.lo, elf64-sh64-nbsd.lo): New rules.
* Makefile.in: Regenerate.
* config.bfd (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
(sh64-*-netbsd*): New targets.
* configure.in: Add bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec,
bfd_elf64_sh64nbsd_vec, and bfd_elf64_sh64lnbsd_vec.
* configure: Regenerate.
* elf32-sh64-nbsd.c: New file.
* elf64-sh64-nbsd.c: New file.
* targets.c: Add extern decls for bfd_elf32_sh64nbsd_vec,
bfd_elf32_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec, and
bfd_elf64_sh64lnbsd_vec.
gas:
* configure.in (sh5*): Set cpu_type to sh64 and endian to big.
(sh5le*, sh64le*): Set cpu_type to sh64 and endian to little.
(sh5*-*-netbsd*, sh64*-*-netbsd*): New targets.
* configure: Regenerate.
* config/tc-sh64.c (sh64_target_format): Add support for NetBSD
environment.
ld:
* Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
(eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
(eshlelf64_nbsd.c): New rules.
* Makefile.in: Regenerate.
* configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
(sh64-*-netbsd*): New targets.
* emulparams/shelf32_nbsd.sh: New file.
* emulparams/shelf64_nbsd.sh: New file.
* emulparams/shlelf32_nbsd.sh: New file.
* emulparams/shlelf64_nbsd.sh: New file.
opcodes:
* configure.in: Add "sh5*-*" to list of targets which include
sh64 support.
* configure: Regenerate.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/shelf32_nbsd.sh | 13 | ||||
-rw-r--r-- | ld/emulparams/shelf64_nbsd.sh | 8 | ||||
-rw-r--r-- | ld/emulparams/shlelf32_nbsd.sh | 3 | ||||
-rw-r--r-- | ld/emulparams/shlelf64_nbsd.sh | 3 |
4 files changed, 27 insertions, 0 deletions
diff --git a/ld/emulparams/shelf32_nbsd.sh b/ld/emulparams/shelf32_nbsd.sh new file mode 100644 index 0000000..edd6216 --- /dev/null +++ b/ld/emulparams/shelf32_nbsd.sh @@ -0,0 +1,13 @@ +# If you change this file, please alsolook at files which source this one: +# shlelf32_nbsd.sh + +. ${srcdir}/emulparams/shelf32.sh + +OUTPUT_FORMAT="elf32-sh64-nbsd" +TEXT_START_ADDR=0x400000 +MAXPAGESIZE=0x10000 + +ENTRY=__start + +unset EMBEDDED +unset STACK_ADDR diff --git a/ld/emulparams/shelf64_nbsd.sh b/ld/emulparams/shelf64_nbsd.sh new file mode 100644 index 0000000..7a3ff21 --- /dev/null +++ b/ld/emulparams/shelf64_nbsd.sh @@ -0,0 +1,8 @@ +. ${srcdir}/emulparams/shelf32_nbsd.sh + +OUTPUT_FORMAT="elf64-sh64-nbsd" +ELFSIZE=64 + +# We do not need .cranges +OTHER_SECTIONS='' +EXTRA_EM_FILE= diff --git a/ld/emulparams/shlelf32_nbsd.sh b/ld/emulparams/shlelf32_nbsd.sh new file mode 100644 index 0000000..c4abe6b --- /dev/null +++ b/ld/emulparams/shlelf32_nbsd.sh @@ -0,0 +1,3 @@ +. ${srcdir}/emulparams/shelf32_nbsd.sh + +OUTPUT_FORMAT="elf32-sh64l-nbsd" diff --git a/ld/emulparams/shlelf64_nbsd.sh b/ld/emulparams/shlelf64_nbsd.sh new file mode 100644 index 0000000..5b693c3 --- /dev/null +++ b/ld/emulparams/shlelf64_nbsd.sh @@ -0,0 +1,3 @@ +. ${srcdir}/emulparams/shelf64_nbsd.sh + +OUTPUT_FORMAT="elf64-sh64l-nbsd" |