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]

Re: sparclite-elf bug, GNATS bootstrap/4198


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~


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