public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [patch committed] Fix some sh64 FAILs [2]
@ 2006-10-22 18:13 Kaz Kojima
  0 siblings, 0 replies; only message in thread
From: Kaz Kojima @ 2006-10-22 18:13 UTC (permalink / raw)
  To: binutils

This is the second patch to fix the failures on sh64-unknown-elf.
Some ld tests fails because the default stack address has affected
with the generic change.  The attached patch restores the old address
0x80000 for _stack.

Regards,
	kaz
--
2006-10-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* emulparams/shelf32.sh: Set default stack to 0x80000.
	* emulparams/shelf64.sh: Likewise.

diff -uprN ORIG/src/ld/emulparams/shelf32.sh LOCAL/src/ld/emulparams/shelf32.sh
--- ORIG/src/ld/emulparams/shelf32.sh	2003-07-30 11:22:07.000000000 +0900
+++ LOCAL/src/ld/emulparams/shelf32.sh	2006-10-21 13:47:26.000000000 +0900
@@ -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 -uprN ORIG/src/ld/emulparams/shelf64.sh LOCAL/src/ld/emulparams/shelf64.sh
--- ORIG/src/ld/emulparams/shelf64.sh	2003-07-30 11:22:07.000000000 +0900
+++ LOCAL/src/ld/emulparams/shelf64.sh	2006-10-21 13:48:59.000000000 +0900
@@ -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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-22  1:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-22 18:13 [patch committed] Fix some sh64 FAILs [2] Kaz Kojima

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).