diff options
author | Kaz Kojima <kkojima@rr.iij4u.or.jp> | 2006-10-22 01:07:30 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@rr.iij4u.or.jp> | 2006-10-22 01:07:30 +0000 |
commit | 30bebb95d6029675439382a7f813da7da723ec77 (patch) | |
tree | b81eb04e429ace66cdd390f71092f8c3b9cd56ba /ld | |
parent | dc84ceef3ac53050c218e388b26f08e35462440c (diff) | |
download | fsf-binutils-gdb-30bebb95d6029675439382a7f813da7da723ec77.zip fsf-binutils-gdb-30bebb95d6029675439382a7f813da7da723ec77.tar.gz fsf-binutils-gdb-30bebb95d6029675439382a7f813da7da723ec77.tar.bz2 |
* emulparams/shelf32.sh: Set default stack to 0x80000.
* emulparams/shelf64.sh: Likewise.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/emulparams/shelf32.sh | 2 | ||||
-rw-r--r-- | ld/emulparams/shelf64.sh | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index e4e9a74..2957c76 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * emulparams/shelf32.sh: Set default stack to 0x80000. + * emulparams/shelf64.sh: Likewise. + 2006-10-20 Richard Sandiford <richard@codesourcery.com> * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define. diff --git a/ld/emulparams/shelf32.sh b/ld/emulparams/shelf32.sh index 6582b02..c72fadb 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 eb1f6c7..5037f35 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) |