This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch for ctor/dtor handling for m68k-elf
- To: Geoff Keating <geoffk at cygnus dot com>
- Subject: Re: patch for ctor/dtor handling for m68k-elf
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 13 Dec 1999 21:24:18 -0700
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <199912131828.KAA00593@localhost.cygnus.com>you write:
>
> I may have sent this in already.
>
> In any case, this patch allows the m68k-elf target to again link code.
> Before it had the wrong combination of HAS_INIT_SECTION,
> INIT_SECTION_ASM_OP, and STARTFILE_SPEC. Now, it works just like
> normal ELF targets work.
>
> --
> - Geoffrey Keating <geoffk@cygnus.com>
>
> ===File ~/patches/cygnus/devo-m68kelfeh.patch===============
> Wed Dec 8 12:45:15 1999 Geoff Keating <geoffk@cygnus.com>
>
> * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
> (INIT_SECTION_ASM_OP): Delete.
> (FINI_SECTION_ASM_OP): Delete.
> (STARTFILE_SPEC): Define to hold just crtbegin.o.
This is fine. Presumably you're going to take care of fixing libgloss
per the recommendations in the comments from m68020-elf.h?
jeff