[PATCH]crt1.asm- _stack symbol causes problem for SH-ELF-Pl. refer accepted patch at newlib by Jeff J.
anitak
anitak@kpit.com
Sun Dec 16 23:28:00 GMT 2001
Hi,
Please refer to the following patch accepted at newlib by Jeff J.
http://sources.redhat.com/ml/newlib/2001/msg00641.html
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 SH-ELF. If linker error is removed still causes problem while flashing
in ROM area as
RAM address gets specified to this dummy symbol
Please see the patch below. Thanks for any reply.
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download and free European support of GNU tool
chain (GNUSH v0101) for Hitachi's SH Series
Read more at http://www.kpit.com/products/support.htm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the Gcc-bugs
mailing list