This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Fw: [PATCH]crt1.asm-remove stack symbol definition 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>,<aoliva at gcc dot gnu dot org>
- Date: Tue, 4 Dec 2001 16:04:44 +0530
- Subject: Fw: [PATCH]crt1.asm-remove stack symbol definition for SH
----- Original Message -----
From: anitak <anitak@kpit.com>
To: <gcc-patches@gcc.gnu.org>
Cc: <gcc-bugs@gcc.gnu.org>
Sent: Monday, December 03, 2001 1:39 PM
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
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~