mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
6ff185b890
This changes s12z to use generic.em and genelf.em, which is more suited to targets that use the generic linker hash table. A tweak or two to some testsuite predicates then gives a clean testsuite result on the target. PR 24596 binutils/ * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add s12z to targets not supporting this feature. ld/ * emulparams/m9s12zelf.sh (TEMPLATE_NAME): Set to generic. (EXTRA_EM_FILE): Define to genelf. * testsuite/lib/ld-lib.exp (uses_genelf): Add s12z.
20 lines
322 B
Bash
20 lines
322 B
Bash
MACHINE=
|
|
SCRIPT_NAME=elfm9s12z
|
|
OUTPUT_FORMAT="elf32-s12z"
|
|
ROM_TOP=0xFFFFFF
|
|
ROM_SIZE=0x20000
|
|
RAM_START_ADDR=0x001000
|
|
RAM_SIZE=8192
|
|
EEPROM_START_ADDR=0x100000
|
|
EEPROM_SIZE=2048
|
|
TEXT_MEMORY=text
|
|
DATA_MEMORY=data
|
|
EEPROM_MEMORY=eeprom
|
|
ARCH=s12z
|
|
EMBEDDED=yes
|
|
GENERIC_BOARD=no
|
|
TEMPLATE_NAME=generic
|
|
EXTRA_EM_FILE=genelf
|
|
NOP=0x00
|
|
|