* emulparams/shelf.sh (.stack): Increase stack start address to 0x300000.
This commit is contained in:
Nick Clifton 2004-12-23 12:27:45 +00:00
parent f471f2e78b
commit c38f024c3d
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-12-23 Nick Clifton <nickc@redhat.com>
PR 600
* emulparams/shelf.sh (.stack): Increase stack start address to
0x300000.
2004-12-20 Nick Clifton <nickc@redhat.com>
* ldmain.c (main): Issue an error message if -static and -shared

View File

@ -17,13 +17,13 @@ CTOR_START='___ctors = .;'
CTOR_END='___ctors_end = .;'
DTOR_START='___dtors = .;'
DTOR_END='___dtors_end = .;'
# This is like setting STACK_ADDR to 0x30000, except that the setting can
# This is like setting STACK_ADDR to 0x300000, 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 : 0x30000)} :
test -z "$CREATE_SHLIB" && OTHER_SECTIONS=" .stack ${RELOCATING-0}${RELOCATING+(DEFINED(_stack) ? _stack : 0x300000)} :
{
${RELOCATING+_stack = .;}
*(.stack)