2011-05-03 Stuart Henderson <shenders@gcc.gnu.org>
Originally from Bernd Schmidt
* config/bfin/uclinux.h (SUBTARGET_FDPIC_NOT_SUPPORTED): New macro.
* config/bfin/bfin.c (override_options): Test it and error if
TARGET_FDPIC.
From-SVN: r173307
+2011-05-03 Stuart Henderson <shenders@gcc.gnu.org>
+
+ Originally from Bernd Schmidt
+ * config/bfin/uclinux.h (SUBTARGET_FDPIC_NOT_SUPPORTED): New macro.
+ * config/bfin/bfin.c (override_options): Test it and error if
+ TARGET_FDPIC.
+
2011-05-03 Stuart Henderson <shenders@gcc.gnu.org>
Originally From Bernd Schmidt
if (TARGET_OMIT_LEAF_FRAME_POINTER)
flag_omit_frame_pointer = 1;
+#ifdef SUBTARGET_FDPIC_NOT_SUPPORTED
+ if (TARGET_FDPIC)
+ error ("-mfdpic is not supported, please use a bfin-linux-uclibc target");
+#endif
+
/* Library identification */
if (global_options_set.x_bfin_library_id && ! TARGET_ID_SHARED_LIBRARY)
error ("-mshared-library-id= specified without -mid-shared-library");
#undef TARGET_SUPPORTS_SYNC_CALLS
#define TARGET_SUPPORTS_SYNC_CALLS 1
+
+#define SUBTARGET_FDPIC_NOT_SUPPORTED