config/cc/gcc.in.mips
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun May 11 23:43:52 2014 +0200 (2014-05-11)
changeset 3320 78af1c99bc6d
permissions -rw-r--r--
scripts/functions: add target_endian_le and target_endian_be

We currently define target_endian_el and target_endian_eb to be the
tuple extension depending on endianness, defined to be respectively
'el' or 'eb' according to the endianness.

Some architecture do not use 'el' or 'eb', but use 'le' or 'be'.

Provide that as well, as two new variables: target_endian_le and
target_endian_be.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Cody P Schafer <dev@codyps.com>
     1 # MIPS specific options for gcc
     2 
     3 config CC_GCC_HAS_ARCH_OPTIONS
     4     default y
     5 
     6 config CC_GCC_mips_llsc
     7     tristate
     8     prompt "Use llsc"
     9     default m
    10     help
    11       This configures how gcc will emit load-link, store-conditional and
    12       sync opcodes. Normally, you'd set this to 'M', and configure will do
    13       the correct thing (ie. enable llsc for Linux-based targets, disable
    14       for others). If you know better, you can force either using llsc or
    15       not using it (resp. 'Y' or 'N').
    16 
    17 config CC_GCC_mips_synci
    18     tristate
    19     prompt "Use synci"
    20     default m
    21     help
    22       This configures how gcc will emit the synci opcode. Normally, you'd
    23       set this to 'M', and configure will do the correct thing (ie. disable).
    24       If you know better, you can force using synci (say 'Y'), or not using
    25       it (say 'N').
    26 
    27 config CC_GCC_mips_plt
    28     bool
    29     prompt "Use copy relocations & PLTs"
    30     help
    31       This configures gcc to use copy relocations & PLTs. These are
    32       extensions to the traditional SVR4-based MIPS ABIs and require
    33       support from GNU binutils and the runtime C library.
    34       Say 'N' to keep the default and not use them, say 'Y' to use them.