arch/sh/config.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jul 31 09:08:33 2008 +0000 (2008-07-31)
changeset 752 b037a5643e04
parent 628 87802cb25a0f
child 891 4d770d1f65a0
permissions -rw-r--r--
Have the glibc build use the cross-objdump, rather than the host one.
On some distros (eg. Fedora), the native objdump can not interpret objects not for the native system, and thus fail.
This commit adds a new patch against glibc-2.7 that introduces OBJDUMP_FOR_HOST, wich, if set, overides the detected objdump.

Note: bizarely enough, glibc already has code to detect the cross-objdump, but that does not work for an unknown reason... :-(

/trunk/patches/glibc/2.7/220-objdump_for_host.patch | 13 13 0 0 +++++++++
/trunk/scripts/build/libc_glibc.sh | 37 21 16 0 +++++++++++++++------------
2 files changed, 34 insertions(+), 16 deletions(-)
yann@413
     1
# Super-H specific configuration file
yann@413
     2
yann@628
     3
config ARCH_sh
yann@628
     4
    select ARCH_SUPPORTS_BOTH_ENDIAN
yann@628
     5
    select ARCH_DEFAULT_LE
yann@630
     6
    help
yann@630
     7
      The Super-H architecture, as defined by:
yann@630
     8
        http://www.renesas.com/fmwk.jsp?cnt=superh_family_landing.jsp&fp=/products/mpumcu/superh_family/
yann@413
     9
yann@413
    10
choice
yann@413
    11
    bool
yann@413
    12
    prompt "Variant"
yann@413
    13
yann@413
    14
config ARCH_SH_SH3
yann@413
    15
    bool
yann@413
    16
    prompt "sh3"
yann@413
    17
yann@413
    18
config ARCH_SH_SH4
yann@413
    19
    bool
yann@413
    20
    prompt "sh4"
yann@413
    21
yann@413
    22
config ARCH_SH_SH4A
yann@413
    23
    bool
yann@413
    24
    prompt "sh4a"
yann@413
    25
yann@413
    26
endchoice
yann@413
    27
yann@413
    28
config ARCH_SH_VARIANT
yann@413
    29
    string
yann@413
    30
    default "sh3"   if ARCH_SH_SH3
yann@413
    31
    default "sh4"   if ARCH_SH_SH4
yann@413
    32
    default "sh4a"  if ARCH_SH_SH4A