mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
m32r support
This commit is contained in:
@ -31,6 +31,14 @@ else
|
|||||||
lose_these_too="${d10v_files} ${lose_these_too}"
|
lose_these_too="${d10v_files} ${lose_these_too}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
m32r_files="m32relf.sh"
|
||||||
|
|
||||||
|
if ( echo $* | grep keep\-m32r > /dev/null ) ; then
|
||||||
|
keep_these_too="${m32r_files} ${keep_these_too}"
|
||||||
|
else
|
||||||
|
lose_these_too="${m32r_files} ${lose_these_too}"
|
||||||
|
fi
|
||||||
|
|
||||||
v850_files="v850.sh"
|
v850_files="v850.sh"
|
||||||
|
|
||||||
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
|
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
|
||||||
|
10
ld/emulparams/m32relf.sh
Normal file
10
ld/emulparams/m32relf.sh
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
MACHINE=
|
||||||
|
SCRIPT_NAME=elf
|
||||||
|
OUTPUT_FORMAT="elf32-m32r"
|
||||||
|
TEXT_START_ADDR=0x0
|
||||||
|
ARCH=m32r
|
||||||
|
MAXPAGESIZE=32
|
||||||
|
|
||||||
|
# Hmmm, there's got to be a better way. This sets the stack to the
|
||||||
|
# top of the simulator memory (currently 1M).
|
||||||
|
OTHER_RELOCATING_SECTIONS='.stack 0x100000 : { _stack = .; *(.stack) }'
|
Reference in New Issue
Block a user