elf.h (STARTFILE_SPEC): Define differently if default ABI is MEABI.

2002-07-30  Chris Demetriou  <cgd@broadcom.com>

        * 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
This commit is contained in:
Chris Demetriou 2002-07-31 06:00:53 +00:00 committed by Chris Demetriou
parent f13a69eccf
commit 3fb9d48aca
3 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2002-07-30 Chris Demetriou <cgd@broadcom.com>
* 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 <ghazi@caip.rutgers.edu>
* alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,

View File

@ -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}"

View File

@ -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}"