mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
8d05742ff6
* Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo. (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c. (elf32-sh-nbsd.lo): New rule. * Makefile.in: Regenerate. * config.bfd (sh*le-*-netbsdelf*): New target. (sh*-*-netbsdelf*): New target. * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*. (bfd_elf32_shnbsd_vec): New vector. (bfd_elf32_shlnbsd_vec): New vector. * configure: Regenerate. * elf32-sh-nbsd.c: New file. * targets.c: Update copyright years. (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and bfd_elf32_shnbsd_vec. gas: * configure.in (sh*le): Set cpu_type=sh and endian=little. (sh*-*-netbsdelf*): New target. * configure: Regenerate. * tc-sh.h: Update copyright years. (TARGET_FORMAT): Add version for TE_NetBSD. ld: * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o. (eshelf_nbsd.c): New rule. (eshlelf_nbsd.c): New rule. * Makefile.in: Regenerate. * configure.tgt (sh*le-*-netbsdelf*): New target. (sh*-*-netbsdelf*): New target. * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file. * ld/emulparams/shelf_nbsd.sh: New emulation. * ld/emulparams/shlelf_nbsd.sh: New emulation.
21 lines
459 B
Bash
21 lines
459 B
Bash
# If you change this file, please also look at files which source this one:
|
|
# shlelf.sh, shelf_nbsd.sh
|
|
|
|
SCRIPT_NAME=elf
|
|
OUTPUT_FORMAT="elf32-sh"
|
|
TEXT_START_ADDR=0x1000
|
|
MAXPAGESIZE=128
|
|
ARCH=sh
|
|
MACHINE=
|
|
TEMPLATE_NAME=elf32
|
|
GENERATE_SHLIB_SCRIPT=yes
|
|
EMBEDDED=yes
|
|
|
|
# These are for compatibility with the COFF toolchain.
|
|
ENTRY=start
|
|
CTOR_START='___ctors = .;'
|
|
CTOR_END='___ctors_end = .;'
|
|
DTOR_START='___dtors = .;'
|
|
DTOR_END='___dtors_end = .;'
|
|
STACK_ADDR=0x30000
|