From 3fb9d48aca3cc743c56ab92c9069b4d69b33c460 Mon Sep 17 00:00:00 2001 From: Chris Demetriou Date: Wed, 31 Jul 2002 06:00:53 +0000 Subject: elf.h (STARTFILE_SPEC): Define differently if default ABI is MEABI. 2002-07-30 Chris Demetriou * config/mips/elf.h (STARTFILE_SPEC): Define differently if default ABI is MEABI. (Undoes incorrect change in Eric Christopher's patch on 2002-07-29.) * config/mips/elf64.h (STARTFILE_SPEC): Likewise. From-SVN: r55894 --- gcc/ChangeLog | 7 +++++++ gcc/config/mips/elf.h | 3 ++- gcc/config/mips/elf64.h | 3 ++- 3 files changed, 11 insertions(+), 2 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3f8c909..201f528 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2002-07-30 Chris Demetriou + + * config/mips/elf.h (STARTFILE_SPEC): Define differently if + default ABI is MEABI. (Undoes incorrect change in Eric Christopher's + patch on 2002-07-29.) + * config/mips/elf64.h (STARTFILE_SPEC): Likewise. + 2002-07-30 Kaveh R. Ghazi * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h, diff --git a/gcc/config/mips/elf.h b/gcc/config/mips/elf.h index 07fe785..692a903 100644 --- a/gcc/config/mips/elf.h +++ b/gcc/config/mips/elf.h @@ -235,7 +235,8 @@ void FN () \ #define LIB_SPEC "" #undef STARTFILE_SPEC -#ifdef HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES +#if defined(HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES) \ + || (MIPS_ABI_DEFAULT == ABI_MEABI) #define STARTFILE_SPEC "crti%O%s crtbegin%O%s" #else #define STARTFILE_SPEC "crti%O%s crtbegin%O%s %{!mno-crt0:crt0%O%s}" diff --git a/gcc/config/mips/elf64.h b/gcc/config/mips/elf64.h index 1882747..b7ed0e1 100644 --- a/gcc/config/mips/elf64.h +++ b/gcc/config/mips/elf64.h @@ -193,7 +193,8 @@ void FN () \ #define LIB_SPEC "" #undef STARTFILE_SPEC -#ifdef HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES +#if defined(HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES) \ + || (MIPS_ABI_DEFAULT == ABI_MEABI) #define STARTFILE_SPEC "crti%O%s crtbegin%O%s" #else #define STARTFILE_SPEC "crti%O%s crtbegin%O%s %{!mno-crt0:crt0%O%s}" -- cgit v1.1