diff options
author | Steve Ellcey <sje@cup.hp.com> | 2002-09-13 21:12:18 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2002-09-13 21:12:18 +0000 |
commit | 32b4f6f42ab798717813254ce9a2087f6573522c (patch) | |
tree | 0f6da00919595b343ce08b608a4473c3a6a0c3cb /gcc | |
parent | 3db11b5c9f9b4a267cb46a9e2e1e531fb3df30f0 (diff) | |
download | gcc-32b4f6f42ab798717813254ce9a2087f6573522c.zip gcc-32b4f6f42ab798717813254ce9a2087f6573522c.tar.gz gcc-32b4f6f42ab798717813254ce9a2087f6573522c.tar.bz2 |
config.gcc (ia64*-*-aix*, [...]): Set extra_parts.
* 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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config.gcc | 4 | ||||
-rw-r--r-- | gcc/config/ia64/t-aix | 6 | ||||
-rw-r--r-- | gcc/config/ia64/t-ia64 | 5 |
4 files changed, 12 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6fd649e..b35bd44 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config.gcc b/gcc/config.gcc index e7bdc16..faa135d 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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" diff --git a/gcc/config/ia64/t-aix b/gcc/config/ia64/t-aix index 2e738f9b..7b6df46 100644 --- a/gcc/config/ia64/t-aix +++ b/gcc/config/ia64/t-aix @@ -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) diff --git a/gcc/config/ia64/t-ia64 b/gcc/config/ia64/t-ia64 index 1987bd0..068d590 100644 --- a/gcc/config/ia64/t-ia64 +++ b/gcc/config/ia64/t-ia64 @@ -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 |