* config/bfin/bfin.c (override_options): Reorder tests so that
flag_pic gets enabled for -msep-data.
From-SVN: r131829
+2008-01-25 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ * config/bfin/bfin.c (override_options): Reorder tests so that
+ flag_pic gets enabled for -msep-data.
+
2008-01-25 Richard Guenther <rguenther@suse.de>
PR middle-end/32244
if (bfin_lib_id_given && ! TARGET_ID_SHARED_LIBRARY)
error ("-mshared-library-id= specified without -mid-shared-library");
- if (TARGET_ID_SHARED_LIBRARY && flag_pic == 0)
- flag_pic = 1;
-
if (stack_limit_rtx && TARGET_STACK_CHECK_L1)
error ("Can't use multiple stack checking methods together.");
if (TARGET_SEP_DATA)
target_flags |= MASK_ID_SHARED_LIBRARY | MASK_LEAF_ID_SHARED_LIBRARY;
+ if (TARGET_ID_SHARED_LIBRARY && flag_pic == 0)
+ flag_pic = 1;
+
/* There is no single unaligned SI op for PIC code. Sometimes we
need to use ".4byte" and sometimes we need to use ".picptr".
See bfin_assemble_integer for details. */