1.1 --- a/config/cc/gcc.in.2 Mon Jun 27 13:52:15 2011 +0200
1.2 +++ b/config/cc/gcc.in.2 Mon Jun 27 15:15:00 2011 +0200
1.3 @@ -211,3 +211,41 @@
1.4 option is ignored.
1.5
1.6 The default is off.
1.7 +
1.8 +choice CC_GCC_LNK_HASH_STYLE_CHOICE
1.9 + bool
1.10 + prompt "linker hash style"
1.11 + depends on CC_GCC_HAS_LNK_HASH_STYLE
1.12 +
1.13 +config CC_GCC_LNK_HASH_STYLE_DEFAULT
1.14 + bool
1.15 + prompt "Default"
1.16 + help
1.17 + Do not specify any value, and use the default value (sysv).
1.18 +
1.19 +config CC_GCC_LNK_HASH_STYLE_SYSV
1.20 + bool
1.21 + prompt "sysv"
1.22 + help
1.23 + Force use of the SYSV hash style.
1.24 +
1.25 +config CC_GCC_LNK_HASH_STYLE_GNU
1.26 + bool
1.27 + prompt "gnu"
1.28 + help
1.29 + Force use of the GNU hash style.
1.30 +
1.31 +config CC_GCC_LNK_HASH_STYLE_BOTH
1.32 + bool
1.33 + prompt "both"
1.34 + help
1.35 + Force use of both hash styles.
1.36 +
1.37 +endchoice # CC_GCC_LNK_HASH_STYLE_CHOICE
1.38 +
1.39 +config CC_GCC_LNK_HASH_STYLE
1.40 + string
1.41 + default "" if CC_GCC_LNK_HASH_STYLE_DEFAULT
1.42 + default "sysv" if CC_GCC_LNK_HASH_STYLE_SYSV
1.43 + default "gnu" if CC_GCC_LNK_HASH_STYLE_GNU
1.44 + default "both" if CC_GCC_LNK_HASH_STYLE_BOTH