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]

[PATCH]crt1.asm-Removing _stack symbol may not cause any problem for SH-ELF



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


 Hi,
Yes I had considered that crt1.asm is used for ELF port. Same problem
(described in http://gcc.gnu.org/ml/gcc-bugs/2001-12/msg00193.html) occurs
for ELF as well as for coff,hms.
 The symbol is already present in the default sh-elf linker script (shelf.x)
just like
 coff. So removing it from crt1.asm may not cause any problem.
Many thanks for the reply in advance.
 Regards,
 Anita


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