config.gcc (ia64*-*-aix*, [...]): Set extra_parts.
authorSteve Ellcey <sje@cup.hp.com>
Fri, 13 Sep 2002 21:12:18 +0000 (21:12 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Fri, 13 Sep 2002 21:12:18 +0000 (21:12 +0000)
* 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.

From-SVN: r57119

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

index 6fd649e03ea8d4d7018d6ceef3b1492c8e184ce6..b35bd4469e5de43bd6dc17dd30cfb2e9a1321124 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 e7bdc16607846da0481f68ee5f447a06b3d255e0..faa135d2485eba2280b2f65d1f3ce61e28ebca84 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 2e738f9b9e17ef3ec66472db0dec48e6ab476735..7b6df46a5d05e4324643ce41d4ab65a0c1772a92 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 1987bd0f131712149101430a349cf31577213f56..068d5908e456984dabe641ece9df31b2f7aa0f94 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