* Makefile.in (emn10200.c): Add dependencies.
* configure.tgt: Handle mn10200. * emulparms/mn10200.sh: New file. mn10200 support.
This commit is contained in:
parent
1e4a0d020f
commit
9e258df329
1 changed files with 20 additions and 0 deletions
20
ld/emulparams/mn10200.sh
Normal file
20
ld/emulparams/mn10200.sh
Normal file
|
@ -0,0 +1,20 @@
|
|||
MACHINE=
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-mn10200"
|
||||
TEXT_START_ADDR=0x0
|
||||
ARCH=mn10200
|
||||
MACHINE=
|
||||
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 = .;'
|
Loading…
Reference in a new issue