From 93147119042e5056f979d58573470a9cff2710b0 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Mon, 20 Nov 2006 12:35:47 +0000 Subject: bfin.md (call_symbol, [...]): Allow these patterns if TARGET_LEAF_ID_SHARED_LIBRARY. * config/bfin/bfin.md (call_symbol, call_value_symbol, sibcall_symbol, sibcall_value_symbol): Allow these patterns if TARGET_LEAF_ID_SHARED_LIBRARY. * config/bfin/bfin.c (bfin_expand_call): Allow them here as well. (override_options): Turn on id shared library flags if -msep-data, but disallow the combination of these options on the command line. * config/bfin/bfin.h (TARGET_LEAF_ID_SHARED_LIBRARY, MASK_SEP_DATA MASK_LEAF_ID_SHARED_LIBRARY, TARGET_SEP_DATA): New macros. (DRIVER_SELF_SPECS): -mleaf-id-shared-library implies -mid-shared-library. (TARGET_SWITCHES): Add -mleaf-id-shared-library and -msep-data. * doc/invoke.texi (Blackfin Options): Document new switches. From-SVN: r119012 --- gcc/config/bfin/t-bfin-elf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gcc/config/bfin/t-bfin-elf') diff --git a/gcc/config/bfin/t-bfin-elf b/gcc/config/bfin/t-bfin-elf index 8b30cf6..5f40318 100644 --- a/gcc/config/bfin/t-bfin-elf +++ b/gcc/config/bfin/t-bfin-elf @@ -22,10 +22,12 @@ GCC_CFLAGS += -N CRTSTUFF_T_CFLAGS = -fpic TARGET_LIBGCC2_CFLAGS = -fpic -MULTILIB_OPTIONS=mid-shared-library mfdpic +MULTILIB_OPTIONS=mid-shared-library mleaf-id-shared-library +MULTILIB_OPTIONS+=msep-data mfdpic MULTILIB_DEFAULTS= MULTILIB_DIRNAMES= -MULTILIB_EXCEPTIONS=mid-shared-library/mfdpic +MULTILIB_EXCEPTIONS=mid-shared-library*/mfdpic mleaf-id-shared-library* +MULTILIB_EXCEPTIONS+=*msep-data* # Assemble startup files. $(T)crti.o: $(srcdir)/config/bfin/crti.s $(GCC_PASSES) -- cgit v1.1