This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: sparclite-elf bug, GNATS bootstrap/4198
- From: Richard Henderson <rth at redhat dot com>
- To: "David S. Miller" <davem at redhat dot com>
- Cc: wilson at redhat dot com, gcc-bugs at gcc dot gnu dot org
- Date: Mon, 7 Oct 2002 02:29:12 -0700
- Subject: Re: sparclite-elf bug, GNATS bootstrap/4198
- References: <20021007.015123.25164358.davem@redhat.com>
On Mon, Oct 07, 2002 at 01:51:23AM -0700, David S. Miller wrote:
> It is possible that gcc/crtstuff.c changed incompatibly between your
> changes and now. I did a quick cvs log of crtstuff.c and this appears
> to not be the case...
Um, no, Jim's change happend not quite 2 years before.
Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
* config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
Undef.
[...]
date: 2001/08/21 10:12:06; author: rth; state: Exp; lines: +82 -90
* crtstuff.c: Fix thinko last change. Move list tails to start
of CRT_END section. Tidy ifdefs.
(__EH_FRAME_BEGIN__): Always static for ELF.
(__do_global_ctors_1): Rename from __frame_dummy.
* config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
name change; don't hide __EH_FRAME_BEGIN__.
But indeed, if we're intending to use __main, we have no need to
compile crtstuff.o whatsoever. So either it should be taken out
of extra_parts, or newlib/libgloss updated to use the proper ELF
constructor methods. No doubt the former is easier.
r~