------- Additional Comments From joel at gcc dot gnu dot org  2005-01-12 00:03 
-------
(In reply to comment #7)
> sparc/sol2.h seems to be used just for sparc*-*-solaris* (correct)
> and sparc*-*-{elf,rtems}* (incorrectly).  sparc*-*-linux* and
> sparc*-*-{free,net,open}bsd* don't use sol2.h at all.

Good hint.  That got me much further.  I now have this in config.gcc and it gets
up to assembling sol2-ci.asm (sparc/t-elf says this is the crti.o source file).
 Unfortunately, xgcc doesn't appear to know that ! is a comment character.  The
only ASM_COMMENT_START I see (sparc.h) looks OK.  What this target should be
using for the crti/crtn code?  Or what else could be wrong.  This feels closer.

sparc-*-rtems*)
        tm_file="${tm_file} elfos.h svr4.h sparc/sysv4.h netbsd.h netbsd-elf.h
sparc/netbsd-elf.h sparc/rtemself.h rtems.h"
        # tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h
sparc/sol2.h sparc/elf.h sparc/rtemself.h rtems.h"
        tmake_file="sparc/t-elf sparc/t-crtfm t-rtems"
        extra_parts="crti.o crtn.o crtbegin.o crtend.o"
        ;;


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19364

Reply via email to