Commit c363a0c0 by Bernd Schmidt Committed by Bernd Schmidt

Make sure movstr_i4 libfuncs are compiled for -m4-nofpu

From-SVN: r36428
parent ef8c4649
2000-09-15 Bernd Schmidt <bernds@redhat.co.uk>
* config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__.
* config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__
is defined.
Fri 15-Sep-2000 06:49:07 BST Neil Booth <NeilB@earthling.net> Fri 15-Sep-2000 06:49:07 BST Neil Booth <NeilB@earthling.net>
* cpplex.c (ON_REST_ARG): Correct the test. * cpplex.c (ON_REST_ARG): Correct the test.
......
...@@ -772,7 +772,7 @@ GLOBAL(movstr): ...@@ -772,7 +772,7 @@ GLOBAL(movstr):
#endif #endif
#ifdef L_movstr_i4 #ifdef L_movstr_i4
#if defined(__SH4__) || defined(__SH4_SINGLE__) || defined(__SH4_SINGLE_ONLY__) #if defined(__SH4__) || defined(__SH4_SINGLE__) || defined(__SH4_SINGLE_ONLY__) || defined(__SH4_NOFPU__)
.text .text
.global GLOBAL(movstr_i4_even) .global GLOBAL(movstr_i4_even)
.global GLOBAL(movstr_i4_odd) .global GLOBAL(movstr_i4_odd)
......
...@@ -48,7 +48,7 @@ extern int code_for_indirect_jump_scratch; ...@@ -48,7 +48,7 @@ extern int code_for_indirect_jump_scratch;
%{m3e:-D__SH3E__} \ %{m3e:-D__SH3E__} \
%{m4-single-only:-D__SH4_SINGLE_ONLY__} \ %{m4-single-only:-D__SH4_SINGLE_ONLY__} \
%{m4-single:-D__SH4_SINGLE__} \ %{m4-single:-D__SH4_SINGLE__} \
%{m4-nofpu:-D__sh3__} \ %{m4-nofpu:-D__sh3__ -D__SH4_NOFPU__} \
%{m4:-D__SH4__} \ %{m4:-D__SH4__} \
%{!m1:%{!m2:%{!m3:%{!m3e:%{!m4:%{!m4-single:%{!m4-single-only:%{!m4-nofpu:-D__sh1__}}}}}}}} \ %{!m1:%{!m2:%{!m3:%{!m3e:%{!m4:%{!m4-single:%{!m4-single-only:%{!m4-nofpu:-D__sh1__}}}}}}}} \
%{mnomacsave:-D__NOMACSAVE__} \ %{mnomacsave:-D__NOMACSAVE__} \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment