OSDN Git Service

sh_fpu: Do not allow inclusion of fpu_control on not SH4 core
authorCarmelo Amoroso <carmelo.amoroso@st.com>
Wed, 15 Dec 2010 17:00:16 +0000 (18:00 +0100)
committerCarmelo Amoroso <carmelo.amoroso@st.com>
Wed, 15 Dec 2010 17:00:16 +0000 (18:00 +0100)
commit6c6720bb831b14c77d3eb8f5f7061e095df6ea47
tree2b3021b783d0fabfccb82aa327ee3ef13d393918
parent640220faf25659eb4c15b78cf8869251dbadbd16
sh_fpu: Do not allow inclusion of fpu_control on not SH4 core

Instead of emitting a warning even when compiling for SH4, stop
compilation with an #error directive when not on SH4 core.

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
libc/sysdeps/linux/sh/fpu_control.h