config/cc/gcc.in.mips
changeset 2523 b1bf9ca6db1a
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/config/cc/gcc.in.mips	Mon Jun 27 18:04:50 2011 +0200
     1.3 @@ -0,0 +1,34 @@
     1.4 +# MIPS specific options for gcc
     1.5 +
     1.6 +config CC_GCC_HAS_ARCH_OPTIONS
     1.7 +    default y
     1.8 +
     1.9 +config CC_GCC_mips_llsc
    1.10 +    tristate
    1.11 +    prompt "Use llsc"
    1.12 +    default m
    1.13 +    help
    1.14 +      This configures how gcc will emit load-link, store-conditional and
    1.15 +      sync opcodes. Normally, you'd set this to 'M', and configure will do
    1.16 +      the correct thing (ie. enable llsc for Linux-based targets, disable
    1.17 +      for others). If you know better, you can force either using llsc or
    1.18 +      not using it (resp. 'Y' or 'N').
    1.19 +
    1.20 +config CC_GCC_mips_synci
    1.21 +    tristate
    1.22 +    prompt "Use synci"
    1.23 +    default m
    1.24 +    help
    1.25 +      This configures how gcc will emit the synci opcode. Normally, you'd
    1.26 +      set this to 'M', and configure will do the correct thing (ie. disable).
    1.27 +      If you know better, you can force using synci (say 'Y'), or not using
    1.28 +      it (say 'N').
    1.29 +
    1.30 +config CC_GCC_mips_plt
    1.31 +    bool
    1.32 +    prompt "Use copy relocations & PLTs"
    1.33 +    help
    1.34 +      This configures gcc to use copy relocations & PLTs. These are
    1.35 +      extensions to the traditional SVR4-based MIPS ABIs and require
    1.36 +      support from GNU binutils and the runtime C library.
    1.37 +      Say 'N' to keep the default and not use them, say 'Y' to use them.