[PATCH]Remove stack symbol definition from crt files for SH

anitak anitak@kpit.com
Mon Dec 3 00:15:00 GMT 2001


Hi,
When the stack region is specified at the top of the memory in linker
script,
the following definition in gcc/config/sh/crt1.asm
 _stack: .long   0xdeaddead causes it to be put out of ram and gives error
for ELF.

Regards,
Anita Kulkarni

Following is the patch for removing it:
----------------------------------------------------------------------------
----------
--- ChangeLog Mon Dec  3 12:42:08 2001
+++ ChangeLog.New Mon Dec  3 13:04:56 2001
@@ -1,3 +1,7 @@
+2001-12-03 Anita Kulkarni <anitak@kpit.com>
+
+ * config/sh/crt1.asm: Remove stack symbol definition 0xdeaddead.
+
 2001-08-19  Release Manager

  * GCC 3.0.1 Released.

----------------------------------------------------------------------------
----------
--- crt1.asm Fri Feb  2 03:04:26 2001
+++ crt1.asm.New Mon Dec  3 11:59:43 2001
@@ -105,4 +105,3 @@
 #else
  .section .stack
 #endif
-_stack: .long 0xdeaddead



More information about the Gcc-bugs mailing list