bfin.opt (micplb): New option.
authorBernd Schmidt <bernd.schmidt@analog.com>
Thu, 27 Nov 2008 09:11:50 +0000 (09:11 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Thu, 27 Nov 2008 09:11:50 +0000 (09:11 +0000)
commitbf85bc3dcc02c70212d9462f7f3d51da6bd28135
tree39f86c0b994fdbd882d7d60227581db147b68ed7
parent58ad17cfc604874da23ea94095db3976b965f070
bfin.opt (micplb): New option.

* config/bfin/bfin.opt (micplb): New option.
* config/bfin/linux.h (SUBTARGET_DRIVER_SELF_SPECS): Set it.
* config/bfin/bfin-protos.h (WA_INDIRECT_CALLS,
ENABLE_WA_INDIRECT_CALLS): New macros.
* config/bfin/bfin.c (bfin_cpus): Add WA_INDIRECT_CALLS to
all 54x CPUs.
(indirect_call_p): New function.
(workaround_speculation): Handle anomaly 05-00-0426 when
ENABLE_WA_INDIRECT_CALLS is true.
* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
__WORKAROUND_INDIRECT_CALLS if ENABLE_WA_INDIRECT_CALLS.
* doc/invoke.texi (Blackfin Options): Document -micplb.

From-SVN: r142240
gcc/ChangeLog
gcc/config/bfin/bfin-protos.h
gcc/config/bfin/bfin.c
gcc/config/bfin/bfin.h
gcc/config/bfin/bfin.opt
gcc/config/bfin/linux.h
gcc/doc/invoke.texi