diff options
author | Oleg Endo <olegendo@gcc.gnu.org> | 2016-04-09 10:24:00 +0900 |
---|---|---|
committer | Oleg Endo <olegendo@gcc.gnu.org> | 2016-04-09 10:24:00 +0900 |
commit | 417a667c4afc1e04ba2caadc3f4051e0590585bb (patch) | |
tree | 23969bc172c2172f1a3aafde7ada4bb44ad2cdc7 /ld/emulparams | |
parent | 9f5a6a60d9858f54d95443a2adf7d8077ee1528b (diff) | |
download | gdb-417a667c4afc1e04ba2caadc3f4051e0590585bb.zip gdb-417a667c4afc1e04ba2caadc3f4051e0590585bb.tar.gz gdb-417a667c4afc1e04ba2caadc3f4051e0590585bb.tar.bz2 |
Adjust default memory size and stack base address for SH simulator.
ld/ChangeLog:
* sh/interp.c (sim_memory_size): Default init to 30.
(parse_and_set_memory_size): Adjust upper bound to 31.
sim/ChangeLog:
* sh/interp.c (sim_memory_size): Default init to 30.
(parse_and_set_memory_size): Adjust upper bound to 31.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/shelf.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/emulparams/shelf.sh b/ld/emulparams/shelf.sh index 5757b81..83680a6 100644 --- a/ld/emulparams/shelf.sh +++ b/ld/emulparams/shelf.sh @@ -18,13 +18,13 @@ CTOR_START='___ctors = .;' CTOR_END='___ctors_end = .;' DTOR_START='___dtors = .;' DTOR_END='___dtors_end = .;' -# This is like setting STACK_ADDR to 0x300000, except that the setting can +# This is like setting STACK_ADDR to 0x3FFFFF00, except that the setting can # be overridden, e.g. --defsym _stack=0x0f00, and that we put an extra # sentinal value at the bottom. # N.B. We can't use PROVIDE to set the default value in a symbol because # the address is needed to place the .stack section, which in turn is needed # to hold the sentinel value(s). -test -z "$CREATE_SHLIB" && OTHER_SECTIONS=" .stack ${RELOCATING-0}${RELOCATING+(DEFINED(_stack) ? _stack : 0x300000)} : +test -z "$CREATE_SHLIB" && OTHER_SECTIONS=" .stack ${RELOCATING-0}${RELOCATING+(DEFINED(_stack) ? _stack : 0x3FFFFF00)} : { ${RELOCATING+_stack = .;} *(.stack) |