Commit 44fb48ef by Stuart Henderson

Originally from Bernd Schmidt

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
parent 1a3a9152
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
......
......@@ -2672,6 +2672,11 @@ bfin_option_override (void)
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");
......
......@@ -39,3 +39,5 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#undef TARGET_SUPPORTS_SYNC_CALLS
#define TARGET_SUPPORTS_SYNC_CALLS 1
#define SUBTARGET_FDPIC_NOT_SUPPORTED
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment