diff options
author | Bernd Schmidt <bernd.schmidt@analog.com> | 2006-11-20 12:35:47 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2006-11-20 12:35:47 +0000 |
commit | 93147119042e5056f979d58573470a9cff2710b0 (patch) | |
tree | 063c50288c18fa68a3248dcdd6f9663aafa3c878 /gcc/config/bfin/t-bfin-elf | |
parent | d6f6753efec42c63c32b0e0cfa1e9944a2e9ac4a (diff) | |
download | gcc-93147119042e5056f979d58573470a9cff2710b0.zip gcc-93147119042e5056f979d58573470a9cff2710b0.tar.gz gcc-93147119042e5056f979d58573470a9cff2710b0.tar.bz2 |
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
Diffstat (limited to 'gcc/config/bfin/t-bfin-elf')
-rw-r--r-- | gcc/config/bfin/t-bfin-elf | 6 |
1 files changed, 4 insertions, 2 deletions
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) |