From 7b4382d96065b05ed44fbc24b9e8134036b070b9 Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 2 May 2011 20:15:34 +0000 Subject: Tweak settings for SuperH setup, based on Debian bug 594159. Since as far as I know this is the first and only real use, or even test, of botan on the SH, I'll let them pick the names and flags... --- src/build-data/arch/hitachi-sh.txt | 7 ------- src/build-data/arch/superh.txt | 5 +++++ src/build-data/cc/gcc.txt | 5 ++++- 3 files changed, 9 insertions(+), 8 deletions(-) delete mode 100644 src/build-data/arch/hitachi-sh.txt create mode 100644 src/build-data/arch/superh.txt (limited to 'src') diff --git a/src/build-data/arch/hitachi-sh.txt b/src/build-data/arch/hitachi-sh.txt deleted file mode 100644 index bab84b48f..000000000 --- a/src/build-data/arch/hitachi-sh.txt +++ /dev/null @@ -1,7 +0,0 @@ - -hitachi-sh1 -hitachi-sh2 -hitachi-sh3 -hitachi-sh3e -hitachi-sh4 - diff --git a/src/build-data/arch/superh.txt b/src/build-data/arch/superh.txt new file mode 100644 index 000000000..c7dc09861 --- /dev/null +++ b/src/build-data/arch/superh.txt @@ -0,0 +1,5 @@ + +sh2 +sh3 +sh4 + diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt index fde33cde2..f82b9d36f 100644 --- a/src/build-data/cc/gcc.txt +++ b/src/build-data/cc/gcc.txt @@ -42,6 +42,9 @@ solaris -> "$(CXX) -shared -fPIC -Wl,-h,$(SONAME)" i386 -> "-mtune=i686 -momit-leaf-frame-pointer" ppc601 -> "-mpowerpc -mcpu=601" +# The patch from Debian bug 594159 has this, don't know why though... +sh4 -> "-m4 -mieee" + # Until GCC gets -march support for these models nehalem -> "-march=core2 -msse4.1 -msse4.2" westmere -> "-march=core2 -maes -msse4.1 -msse4.2" @@ -55,7 +58,7 @@ alpha-ev7 -> "-mcpu=ev6" # before it's put into SUBMODEL. alpha -> "-mcpu=SUBMODEL" alpha- arm -> "-march=SUBMODEL" -hitachi-sh -> "-mSUBMODEL" hitachi-sh +superh -> "-mSUBMODEL" sh hppa -> "-march=SUBMODEL" hppa ia64 -> "-mtune=SUBMODEL" m68k -> "-mSUBMODEL" -- cgit v1.2.3