From: kkojima Date: Sun, 22 Oct 2006 01:07:29 +0000 (+0000) Subject: * emulparams/shelf32.sh: Set default stack to 0x80000. X-Git-Tag: drop_9x_support_start~1362 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=cc7c2aaf44a46114b8601f87ca860ab1d270dede;p=pf3gnuchains%2Fpf3gnuchains4x.git * emulparams/shelf32.sh: Set default stack to 0x80000. * emulparams/shelf64.sh: Likewise. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index e4e9a74f65..2957c76087 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2006-10-21 Kaz Kojima + + * emulparams/shelf32.sh: Set default stack to 0x80000. + * emulparams/shelf64.sh: Likewise. + 2006-10-20 Richard Sandiford * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define. diff --git a/ld/emulparams/shelf32.sh b/ld/emulparams/shelf32.sh index 6582b02839..c72fadb8fa 100644 --- a/ld/emulparams/shelf32.sh +++ b/ld/emulparams/shelf32.sh @@ -40,7 +40,7 @@ DTOR_END='___dtors_end = .;' # 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 : ALIGN (0x40000) + 0x40000)} : + .stack ${RELOCATING-0}${RELOCATING+(DEFINED(_stack) ? _stack : ALIGN (0x40000) + 0x80000)} : { ${RELOCATING+_stack = .;} *(.stack) diff --git a/ld/emulparams/shelf64.sh b/ld/emulparams/shelf64.sh index eb1f6c76ec..5037f35018 100644 --- a/ld/emulparams/shelf64.sh +++ b/ld/emulparams/shelf64.sh @@ -7,7 +7,7 @@ EXTRA_EM_FILE= # We do not need .cranges test -z "$CREATE_SHLIB" && OTHER_SECTIONS=" - .stack ${RELOCATING-0}${RELOCATING+(DEFINED(_stack) ? _stack : ALIGN (0x40000) + 0x40000)} : + .stack ${RELOCATING-0}${RELOCATING+(DEFINED(_stack) ? _stack : ALIGN (0x40000) + 0x80000)} : { ${RELOCATING+_stack = .;} *(.stack)