OSDN Git Service

* config.gcc (arm*-*-symbianelf*): Do not include t-bpabi.
[pf3gnuchains/gcc-fork.git] / gcc / config / arm / symbian.h
index d30e738..47fe2cb 100644 (file)
 #define SUBTARGET_ASM_FLOAT_SPEC \
   "%{!mfpu=*:-mfpu=vfp} %{!mcpu=*:%{!march=*:-march=armv5t}}"
   
+/* SymbianOS provides the BPABI routines in a separate library.
+   Therefore, we do not need to define any of them in libgcc.  */
+#undef RENAME_LIBRARY
+#define RENAME_LIBRARY(GCC_NAME, AEABI_NAME) /* empty */
+
+/* Define the __symbian__ macro.  */
+#define TARGET_OS_CPP_BUILTINS()               \
+  do                                           \
+    {                                          \
+      builtin_define ("__symbian__");          \
+    }                                          \
+  while (false)