From: Paul Brook Date: Thu, 30 Sep 2004 20:24:33 +0000 (+0000) Subject: symbian.h (STARTFILE_SPEC): Remove crt*.o. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=99b2692a099907b6f6c07c12be04bdaf270ccce1;p=gcc.git symbian.h (STARTFILE_SPEC): Remove crt*.o. * config/arm/symbian.h (STARTFILE_SPEC): Remove crt*.o. (ENDFILE_SPEC): Define. * config/arm/t-symbian.h (EXTRA_MULTILIB_PARTS): Set. From-SVN: r88355 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b54973decab..5be270b967c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-09-30 Paul Brook + + * config/arm/symbian.h (STARTFILE_SPEC): Remove crt*.o. + (ENDFILE_SPEC): Define. + * config/arm/t-symbian.h (EXTRA_MULTILIB_PARTS): Set. + 2004-09-30 Richard Henderson * config/alpha/qrnnd.asm: Mark for noexecstack. diff --git a/gcc/config/arm/symbian.h b/gcc/config/arm/symbian.h index a900d76f76b..2a588ed780a 100644 --- a/gcc/config/arm/symbian.h +++ b/gcc/config/arm/symbian.h @@ -45,10 +45,13 @@ "%{!fshort-wchar:%{!fno-short-wchar:-fshort-wchar}} " #define CC1PLUS_SPEC CC1_SPEC -/* Symbian OS does not use crt0.o, unlike the generic unknown-elf +/* Symbian OS does not use crt*.o, unlike the generic unknown-elf configuration. */ #undef STARTFILE_SPEC -#define STARTFILE_SPEC "crti%O%s crtbegin%O%s" +#define STARTFILE_SPEC "" + +#undef ENDFILE_SPEC +#define ENDFILE_SPEC "" /* Do not link with any libraries by default. On Symbian OS, the user must supply all required libraries on the command line. */ diff --git a/gcc/config/arm/t-symbian b/gcc/config/arm/t-symbian index abaf7bd4ce7..34a58ce9f11 100644 --- a/gcc/config/arm/t-symbian +++ b/gcc/config/arm/t-symbian @@ -22,3 +22,6 @@ MULTILIB_DIRNAMES = softfp # There is no C library to link against on Symbian OS -- at least when # building GCC. SHLIB_LC = + +# Symbian OS provides its own startup code. +EXTRA_MULTILIB_PARTS=