sparclite-elf bug, GNATS bootstrap/4198
Mon Oct 7 02:29:00 GMT 2002
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 <firstname.lastname@example.org>
* config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
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.
More information about the Gcc-bugs