binutils-gdb/ld/emulparams/mn10300.sh
Jeff Law 96e34542a1 * Makefile.in (emn10300.c): Add dependencies.
* configure.tgt: Handle mn10300.
        * emulparms/mn10300.sh: New file.
Skeleton support for the mn10300.  Matsushita.
1996-11-15 20:02:07 +00:00

20 lines
523 B
Bash

MACHINE=
SCRIPT_NAME=elf
OUTPUT_FORMAT="elf32-mn10300"
TEXT_START_ADDR=0x0
ARCH=mn10300
MAXPAGESIZE=256
ENTRY=_start
EMBEDDED=yes
# Hmmm, there's got to be a better way. This sets the stack to the
# top of the simulator memory (2^18 bytes).
OTHER_RELOCATING_SECTIONS='.stack 0x40000 : { _stack = .; *(.stack) }'
# These are for compatibility with the COFF toolchain.
# XXX These should definitely disappear.
CTOR_START='___ctors = .;'
CTOR_END='___ctors_end = .;'
DTOR_START='___dtors = .;'
DTOR_END='___dtors_end = .;'