config/arch/alpha.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 2113 917c353f30dc
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>
     1 # Alpha specific configuration file
     2 
     3 config ARCH_alpha
     4     select ARCH_SUPPORTS_32
     5     select ARCH_DEFAULT_32
     6     select ARCH_USE_MMU
     7     select ARCH_SUPPORT_CPU
     8     select ARCH_SUPPORT_TUNE
     9     help
    10       The Alpha architecture.
    11 
    12 choice
    13     bool
    14     prompt "Variant"
    15 
    16 config ARCH_ALPHA_EV4
    17     bool
    18     prompt "EV4"
    19 
    20 config ARCH_ALPHA_EV45
    21     bool
    22     prompt "EV45"
    23 
    24 config ARCH_ALPHA_EV5
    25     bool
    26     prompt "EV5"
    27 
    28 config ARCH_ALPHA_EV56
    29     bool
    30     prompt "EV56"
    31 
    32 config ARCH_ALPHA_EV6
    33     bool
    34     prompt "EV6"
    35 
    36 config ARCH_ALPHA_EV67
    37     bool
    38     prompt "EV67"
    39 
    40 endchoice
    41 
    42 config ARCH_ALPHA_VARIANT
    43     string
    44     default "ev4"   if ARCH_ALPHA_EV4
    45     default "ev45"  if ARCH_ALPHA_EV45
    46     default "ev5"   if ARCH_ALPHA_EV5
    47     default "ev56"  if ARCH_ALPHA_EV56
    48     default "ev6"   if ARCH_ALPHA_EV6
    49     default "ev67"  if ARCH_ALPHA_EV67
    50 
    51 config ARCH_CPU
    52     default "ev4"   if ARCH_ALPHA_EV4
    53     default "ev45"  if ARCH_ALPHA_EV45
    54     default "ev5"   if ARCH_ALPHA_EV5
    55     default "ev56"  if ARCH_ALPHA_EV56
    56     default "ev6"   if ARCH_ALPHA_EV6
    57     default "ev67"  if ARCH_ALPHA_EV67
    58 
    59 config ARCH_TUNE
    60     default "ev4"   if ARCH_ALPHA_EV4
    61     default "ev45"  if ARCH_ALPHA_EV45
    62     default "ev5"   if ARCH_ALPHA_EV5
    63     default "ev56"  if ARCH_ALPHA_EV56
    64     default "ev6"   if ARCH_ALPHA_EV6
    65     default "ev67"  if ARCH_ALPHA_EV67