This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: [PATCH]Remove stack symbol definition from crt files for SH
- From: "J. Johnston" <jjohnstn at cygnus dot com>
- To: anitak <anitak at kpit dot com>
- Cc: newlib at sources dot redhat dot com, "J\\"orn Rennecke" <amylaar at cygnus dot co dot uk>
- Date: Thu, 13 Dec 2001 15:10:42 -0500
- Subject: Re: [PATCH]Remove stack symbol definition from crt files for SH
- Organization: Red Hat Inc.
- References: <012f01c17ca4$17df8590$8d100aac@stpp.soft.net>
anitak wrote:
>
> Hi,
> When the stack region is specified at the top of the memory in linker
> script,
> the following definition in newlib/libc/sys/sh/crt0.S
> _stack: .long 0xdeaddead causes it to be put out of ram and gives error
> for COFF.
> Thanks for any reply.
> Regards,
> Anita Kulkarni
>
Patch accepted, thanks.
-- Jeff J.
> Following is the patch for removing it:
> ----------------------------------------------------------------------------
> ----------
> --- ChangeLog Mon Dec 3 12:43:45 2001
> +++ ChangeLog.New Mon Dec 3 13:03:18 2001
> @@ -1,3 +1,7 @@
> +2001-12-03 Anita Kulkarni <anitak@kpit.com>
> +
> + * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
> +
> Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
>
> * configure.host: Turn on long double I/O for Cygwin.
>
> ----------------------------------------------------------------------------
> ----------
> --- crt0.S Fri Feb 18 01:09:50 2000
> +++ crt0.S.New Mon Dec 3 11:56:28 2001
> @@ -52,4 +52,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
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~