* config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Sep 2002 21:12:18 +0000 (21:12 +0000)
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Sep 2002 21:12:18 +0000 (21:12 +0000)
ia64*-*-linux*): Set extra_parts.
* config/ia64/t-aix (EXTRA_PARTS): Remove.
* config/ia64/t-ia64 (EXTRA_PARTS): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57119 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc
gcc/config/ia64/t-aix
gcc/config/ia64/t-ia64

index 6fd649e..b35bd44 100644 (file)
@@ -1,3 +1,10 @@
+2002-09-13  Steve Ellcey  <sje@cup.hp.com>
+
+       * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
+       ia64*-*-linux*): Set extra_parts.
+       * config/ia64/t-aix (EXTRA_PARTS): Remove.
+       * config/ia64/t-ia64 (EXTRA_PARTS): Remove.
+
 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
index e7bdc16..faa135d 100644 (file)
@@ -1364,6 +1364,7 @@ ia64*-*-aix*)
        tm_file="${tm_file} dbxelf.h elfos.h svr4.h ia64/sysv4.h ia64/aix.h"
        tmake_file="ia64/t-ia64 ia64/t-aix"
        target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
+       extra_parts="crti.o crtn.o crtbegin.o crtend.o crtbeginS.o crtendS.o"
        ;;
 ia64*-*-elf*)
        tm_file="${tm_file} dbxelf.h elfos.h ia64/sysv4.h ia64/elf.h"
@@ -1377,16 +1378,19 @@ ia64*-*-elf*)
        then
                target_cpu_default="${target_cpu_default}|MASK_GNU_LD"
        fi
+       extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
        ;;
 ia64*-*-freebsd*)
        tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} ia64/sysv4.h ia64/freebsd.h"
        target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
        tmake_file="${tmake_file} ia64/t-ia64"
+       extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
        ;;
 ia64*-*-linux*)
        tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h ia64/sysv4.h ia64/linux.h"
        tmake_file="t-slibgcc-elf-ver t-linux ia64/t-ia64 ia64/t-glibc"
        target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
+       extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
        ;;
 ia64*-*-hpux*)
        tm_file="${tm_file} dbxelf.h elfos.h svr4.h ia64/sysv4.h ia64/hpux.h ia64/hpux_longdouble.h"
index 2e738f9..7b6df46 100644 (file)
@@ -6,11 +6,7 @@ CRTSTUFF_T_CFLAGS_S = -fPIC
 TARGET_LIBGCC2_CFLAGS = -fPIC -D__64BIT__ -D_LONG_LONG -D_IA64 -D__int128=__size128_t
 LIB2ADDEH += $(srcdir)/config/ia64/unwind-aix.c
 
-# Add crt[in].o to the list defined in t-ia64.  These files provide
-# endpoints for crtbegin/end.
-
-EXTRA_PARTS=crti.o crtn.o crtbegin.o crtend.o crtbeginS.o crtendS.o
-
+# Assemble startup files.
 crti.o: $(srcdir)/config/ia64/crti.asm $(GCC_PASSES)
        $(GCC_FOR_TARGET) -c -o crti.o -x assembler $(srcdir)/config/ia64/crti.asm
 crtn.o: $(srcdir)/config/ia64/crtn.asm $(GCC_PASSES)
index 1987bd0..068d590 100644 (file)
@@ -19,11 +19,6 @@ LIB1ASMFUNCS  = __divtf3 __divdf3 __divsf3 \
 
 SHLIB_MAPFILES += $(srcdir)/config/ia64/libgcc-ia64.ver
 
-# For svr4 we build crtbegin.o and crtend.o which serve to add begin and
-# end labels to the .ctors and .dtors section when we link using gcc.
-
-EXTRA_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o
-
 # Effectively disable the crtbegin/end rules using crtstuff.c
 T = disable