config/arch/s390.in
author Sam Ravnborg <sam@ravnborg.org>
Sun Apr 03 18:22:00 2011 +0200 (2011-04-03)
changeset 2371 c131e30363ee
parent 1631 14abcd185e4b
child 2444 896cb0d36c1a
permissions -rw-r--r--
arch/sparc: add absic support

Add support for building SPARC targeted toolchain.
With this patch I have built a working sparc V8 (32 toolchain).

Testing shows that not all gcc versions works well:
4.4.1 OK (kernel builds and the final kernel can boot)
4.4.2 Not tested
4.4.3 Not tested
4.4.4 BAD (Kernel can build but fails during boot)
4.4.5 BAD (Kernel can build but fails during boot)
4.5.1 BAD (Build fails with a spill related ICE - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35664)
4.5.2 OK (kernel builds and boots)

I have successfully been using the 4.5.2 version for a few months.

This patch does not add support for the LEON variant.
That may come later.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
[yann.morin.1998@anciens.enib.fr: for 32-bit, default CT_TARGET_ARCH is OK]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
harold@1629
     1
# s390 specific config options
harold@1629
     2
# depends on EXPERIMENTAL
harold@1629
     3
harold@1629
     4
config ARCH_s390
yann@1636
     5
    select ARCH_SUPPORTS_32
yann@1636
     6
    select ARCH_SUPPORTS_64
yann@1636
     7
    select ARCH_DEFAULT_32
harold@1629
     8
    select ARCH_USE_MMU
harold@1629
     9
    select ARCH_SUPPORT_FPU
harold@1629
    10
    help
yann@1636
    11
      Defined by IBM in:
yann@1636
    12
        32-bit ESA/390       : http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dz9ar008/CCONTENTS
yann@1636
    13
        64-bit z/Architecure : http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dz9zr002/CCONTENTS