symbian.h (STARTFILE_SPEC): Remove crt*.o.
authorPaul Brook <paul@codesourcery.com>
Thu, 30 Sep 2004 20:24:33 +0000 (20:24 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Thu, 30 Sep 2004 20:24:33 +0000 (20:24 +0000)
* config/arm/symbian.h (STARTFILE_SPEC): Remove crt*.o.
(ENDFILE_SPEC): Define.
* config/arm/t-symbian.h (EXTRA_MULTILIB_PARTS): Set.

From-SVN: r88355

gcc/ChangeLog
gcc/config/arm/symbian.h
gcc/config/arm/t-symbian

index b54973decab48d6be29e4ebba195419c43ddc2b3..5be270b967c062e50332da2881b82fe0a167a700 100644 (file)
@@ -1,3 +1,9 @@
+2004-09-30  Paul Brook  <paul@codesourcery.com>
+
+       * 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  <rth@redhat.com>
 
        * config/alpha/qrnnd.asm: Mark for noexecstack.
index a900d76f76b6f9b7d48e191b6fdf99f9f91ad733..2a588ed780a8da27d20a9eaea3607b6d85c7637b 100644 (file)
   "%{!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.  */
index abaf7bd4ce7289222df5991276ab4e0bd4081b1c..34a58ce9f11c05100c6c9f966027d53076e3cdc7 100644 (file)
@@ -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=