aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-09-02 20:54:12 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2004-09-02 20:54:12 +0000
commit19dc705e0c81b9b626896a90b83a78f2cfece6fd (patch)
treec99068f392c54dcda48a7ff0a42038f20ef9a176
parentfba5243db654c848d54fd5fa48a5db83cdba0af8 (diff)
downloadgcc-19dc705e0c81b9b626896a90b83a78f2cfece6fd.zip
gcc-19dc705e0c81b9b626896a90b83a78f2cfece6fd.tar.gz
gcc-19dc705e0c81b9b626896a90b83a78f2cfece6fd.tar.bz2
symbian.h (LIB_SPEC): Define to empty.
* config/arm/symbian.h (LIB_SPEC): Define to empty. * config/arm/t-symbian (SHLIB_LC): Likewise. From-SVN: r86990
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/symbian.h5
-rw-r--r--gcc/config/arm/t-symbian3
3 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 090300f..5fad75d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-02 Mark Mitchell <mark@codesourcery.com>
+
+ * config/arm/symbian.h (LIB_SPEC): Define to empty.
+ * config/arm/t-symbian (SHLIB_LC): Likewise.
+
2004-09-02 Paul Brook <paul@codesourcery.com>
* config/arm/bpabi.c (__aeabi_ul2d, __aeabi_ul2f): Remove.
diff --git a/gcc/config/arm/symbian.h b/gcc/config/arm/symbian.h
index 47fe2cb..5a59e79 100644
--- a/gcc/config/arm/symbian.h
+++ b/gcc/config/arm/symbian.h
@@ -50,6 +50,11 @@
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "crti%O%s crtbegin%O%s"
+/* Do not link with any libraries by default. On Symbian OS, the user
+ must supply all required libraries on the command line. */
+#undef LIB_SPEC
+#define LIB_SPEC ""
+
/* Support the "dllimport" attribute. */
#define TARGET_DLLIMPORT_DECL_ATTRIBUTES 1
diff --git a/gcc/config/arm/t-symbian b/gcc/config/arm/t-symbian
index 1b7208b..abaf7bd 100644
--- a/gcc/config/arm/t-symbian
+++ b/gcc/config/arm/t-symbian
@@ -19,3 +19,6 @@ LIB1ASMFUNCS += \
MULTILIB_OPTIONS = mfloat-abi=softfp
MULTILIB_DIRNAMES = softfp
+# There is no C library to link against on Symbian OS -- at least when
+# building GCC.
+SHLIB_LC =