summaryrefslogtreecommitdiff
path: root/gcc/config/arm
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-02 20:54:12 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-02 20:54:12 +0000
commitb399661d68019d17de70486576fd439f9f67cdd4 (patch)
treec99068f392c54dcda48a7ff0a42038f20ef9a176 /gcc/config/arm
parent7b26a7b6cfaa696e1d28ed89110dd6b9fbe5fce3 (diff)
downloadgcc-b399661d68019d17de70486576fd439f9f67cdd4.tar.gz
* config/arm/symbian.h (LIB_SPEC): Define to empty.
* config/arm/t-symbian (SHLIB_LC): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86990 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm')
-rw-r--r--gcc/config/arm/symbian.h5
-rw-r--r--gcc/config/arm/t-symbian3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/arm/symbian.h b/gcc/config/arm/symbian.h
index 47fe2cbba00..5a59e79af17 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 1b7208b936a..abaf7bd4ce7 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 =