This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH]Remove stack symbol definition from crt files for SH
- From: "anitak" <anitak at kpit dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Cc: <gcc-bugs at gcc dot gnu dot org>
- Date: Mon, 3 Dec 2001 13:39:52 +0530
- Subject: [PATCH]Remove stack symbol definition from crt files for SH
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