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
This commit is contained in:
parent
1a3a9152b2
commit
44fb48ef0b
|
@ -1,3 +1,10 @@
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue