config/arch/powerpc.in
author Martin Lund <mgl@doredevelopment.dk>
Sat May 29 15:08:11 2010 +0200 (2010-05-29)
changeset 1986 8946b80364fb
parent 1345 27fec561af53
child 2112 0b83ab44a914
permissions -rw-r--r--
patches/gdb: Fix canadian building of GDB for powerpc

Adds patch for GDB v6.8, v7.0, v7.0.1 to fix canadian
cross building of GDB for powerpc.

See original patch information here:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=9638

The patch is not required for GDB v7.1 (fixed).

Tested in canadian combination using mingw32 and powerpc toolchains.
Tested to not affect normal cross building of GDB for powerpc target.

Signed-off-by: Martin Lund <mgl@doredevelopment.dk>
yann@520
     1
# powerpc specific configuration file
yann@628
     2
yann@628
     3
config ARCH_powerpc
yann@1634
     4
    select ARCH_SUPPORTS_32
yann@1634
     5
    select ARCH_SUPPORTS_64 if EXPERIMENTAL
yann@1634
     6
    select ARCH_DEFAULT_32
yann@1345
     7
    select ARCH_USE_MMU
yann@631
     8
    select ARCH_SUPPORT_ABI
yann@631
     9
    select ARCH_SUPPORT_CPU
yann@631
    10
    select ARCH_SUPPORT_TUNE
yann@630
    11
    help
yann@630
    12
      The PowerPC architecture, as defined by:
yann@630
    13
        http://www.ibm.com/developerworks/eserver/articles/archguide.html
yann@792
    14
yann@1634
    15
config ARCH_POWERPC_SPE
yann@1634
    16
    bool
yann@1634
    17
    prompt "Enable SPE support"
yann@1634
    18
    default n
yann@1634
    19
    help
yann@1634
    20
      Add support for the Signal Processing Engine.  This will set up
yann@1634
    21
      the toolchain so that it supports the SPE ABI extensions. This
yann@1634
    22
      mainly targets Freescale e500 processors.
yann@1634
    23
      
yann@1634
    24
      Setting this option will append "spe" to the end of your target
yann@1634
    25
      tuple name (e.g., powerpc-e500v2-linux-gnuspe) so that the gcc
yann@1634
    26
      configure/build system will know to include SPE ABI support.
yann@1634
    27
      It will also automatically add "-mabi=spe -mspe" to your
yann@1634
    28
      TARGET_CFLAGS, and "--enable-e500_double" to your CC_EXTRA_CONFIG,
yann@1634
    29
      so you do not need to explicitly add them.