This is the mail archive of the gcc-patches@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]

Re: use crtbegin/crtend for powerpc-eabi


On Fri, Apr 14, 2000 at 04:15:44PM -0700, Geoff Keating wrote:
> 
> I am just about to commit the attached.  What it mostly does is 
> now use a multilibbed crtbegin/crtend for powerpc-eabi, replacing
> the previous eabi-ctors.c.
> 
> The main new feature is that we now use the .init and .fini sections,
> just like a normal ELF port.  The main not-yet-done feature is calling
> .init and .fini from crt0 (.init now gets called from eabi.S, which is
> probably not as good), but that's a more major change.
> 
> Another benefit of this is that the constructor-priority stuff now
> works with the default ldscript.

Just to be sure -- did you compile and test code that was using constructors
and destructors compiled with the old compiler works correctly?  I would
imagine both eabi and ppc linux people would get annoyed if this broke.

-- 
Michael Meissner, Cygnus Solutions, a Red Hat company.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work:	  meissner@redhat.com		phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org	fax:   +1 978-692-4482

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