This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]crt1.asm- _stack symbol causes problem for SH-ELF-Pl. refer accepted patch at newlib by Jeff J.


Hi,
Yes, crt1.asm is used for elf port. Same problem (described in previous
mail) occurs for ELF as well as for coff,hms.
The symbol is already present in the default sh-elf linker script just like
coff. So removing it from crt1.asm may not cause any problem.
Regards,
Anita

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


----- Original Message -----
From: "Alexandre Oliva" <aoliva@redhat.com>
To: "anitak" <anitak@kpit.com>
Cc: <gcc-bugs@gcc.gnu.org>; <gcc-patches@gcc.gnu.org>
Sent: Wednesday, December 19, 2001 11:56 PM
Subject: Re: [PATCH]crt1.asm- _stack symbol causes problem for SH-ELF-Pl.
refer accepted patch at newlib by Jeff J.


> On Dec 17, 2001, "anitak" <anitak@kpit.com> wrote:
>
> > Please refer to the following patch accepted at newlib by Jeff J.
> > http://sources.redhat.com/ml/newlib/2001/msg00641.html
>
> While that patch is appropriate for newlib, since it handles the
> sh-coff/sh-hms port, gcc/config/sh/crt1.asm is used for sh-elf, and I
> don't think this change is appropriate for the ELF port.  It would
> require the symbol to be introduced by the default sh-elf linker
> script, just like it is in sh-coff's default linker script.  Is this
> the case?
>
> --
> Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist    *Please* write to mailing lists, not to me



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]