Additional sh patch from gentoo bug #255793
authorAndrew Gaffney <agaffney@gentoo.org>
Tue, 24 Feb 2009 13:26:35 +0000 (07:26 -0600)
committerAndrew Gaffney <agaffney@gentoo.org>
Tue, 24 Feb 2009 13:26:35 +0000 (07:26 -0600)
ChangeLog
arch/sh.py

index 320ee4eab32643d012e7800ac3a3db569c4cc078..e054ba18203ff953a435b967e51f1358823fc72f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 2002-2009 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS)
 # Distributed under the GPL v2
 
+  24 Feb 2009; Andrew Gaffney <agaffney@gentoo.org> arch/sh.py:
+  Additional sh patch from gentoo bug #255793
+
   21 Feb 2009; Andrew Gaffney <agaffney@gentoo.org> arch/arm.py, arch/sh.py:
   Apply patch from gentoo bug #255793 for enhanced sh/arm support
 
index a1057c9c456d920d1968fcb18b4809753cc9b383..2fc9531500329fe23adcaea0d648b60ed93e27e6 100644 (file)
@@ -28,6 +28,13 @@ class arch_sh2(generic_sh):
                self.settings["CFLAGS"]="-O2 -m2 -pipe"
                self.settings["CHOST"]="sh2-unknown-linux-gnu"
 
+class arch_sh2a(generic_sh):
+       "Builder class for SH-2A [Little-endian]"
+       def __init__(self,myspec):
+               generic_sh.__init__(self,myspec)
+               self.settings["CFLAGS"]="-O2 -m2a -pipe"
+               self.settings["CHOST"]="sh2a-unknown-linux-gnu"
+
 class arch_sh3(generic_sh):
        "Builder class for SH-3 [Little-endian]"
        def __init__(self,myspec):
@@ -43,7 +50,7 @@ class arch_sh4(generic_sh):
                self.settings["CHOST"]="sh4-unknown-linux-gnu"
 
 class arch_sh4a(generic_sh):
-       "Builder class for SH-4a [Little-endian]"
+       "Builder class for SH-4A [Little-endian]"
        def __init__(self,myspec):
                generic_sh.__init__(self,myspec)
                self.settings["CFLAGS"]="-O2 -m4a -pipe"
@@ -63,6 +70,13 @@ class arch_sh2eb(generic_sheb):
                self.settings["CFLAGS"]="-O2 -m2 -pipe"
                self.settings["CHOST"]="sh2eb-unknown-linux-gnu"
 
+class arch_sh2aeb(generic_sheb):
+       "Builder class for SH-2A [Big-endian]"
+       def __init__(self,myspec):
+               generic_sheb.__init__(self,myspec)
+               self.settings["CFLAGS"]="-O2 -m2a -pipe"
+               self.settings["CHOST"]="sh2aeb-unknown-linux-gnu"
+
 class arch_sh3eb(generic_sheb):
        "Builder class for SH-3 [Big-endian]"
        def __init__(self,myspec):
@@ -78,7 +92,7 @@ class arch_sh4eb(generic_sheb):
                self.settings["CHOST"]="sh4eb-unknown-linux-gnu"
 
 class arch_sh4aeb(generic_sheb):
-       "Builder class for SH-4a [Big-endian]"
+       "Builder class for SH-4A [Big-endian]"
        def __init__(self,myspec):
                generic_sheb.__init__(self,myspec)
                self.settings["CFLAGS"]="-O2 -m4a -pipe"
@@ -89,12 +103,14 @@ def register():
        return ({
                        "sh"    :arch_sh,
                        "sh2"   :arch_sh2,
+                       "sh2a"  :arch_sh2a,
                        "sh3"   :arch_sh3,
                        "sh4"   :arch_sh4,
                        "sh4a"  :arch_sh4a,
                        "sheb"  :arch_sheb,
                        "sh2eb" :arch_sh2eb,
+                       "sh2aeb" :arch_sh2aeb,
                        "sh3eb" :arch_sh3eb,
                        "sh4eb" :arch_sh4eb,
                        "sh4aeb" :arch_sh4aeb
-       }, ("sh2","sh3","sh4","sh4a","sh2eb","sh3eb","sh4eb","sh4aeb"))
+       }, ("sh2","sh2a","sh3","sh4","sh4a","sh2eb","sh2aeb","sh3eb","sh4eb","sh4aeb"))