Lines 1891-1898
changequote(,)dnl
Link Here
|
1891 |
-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \ |
1891 |
-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \ |
1892 |
-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\)[ ].*$,\1,p' \ |
1892 |
-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\)[ ].*$,\1,p' \ |
1893 |
-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[ ].*$,\1,p' \ |
1893 |
-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[ ].*$,\1,p' \ |
1894 |
-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[ ].*$,\1,p'` |
1894 |
-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[ ].*$,\1,p' \ |
|
|
1895 |
-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[ ].*$,\1,p'` |
1895 |
ld_date=`echo $ld_ver | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'` |
1896 |
ld_date=`echo $ld_ver | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'` |
|
|
1897 |
ld_vers_major=`expr "$ld_vers" : '\([0-9]*\)'` |
1898 |
ld_vers_minor=`expr "$ld_vers" : '[0-9]*\.\([0-9]*\)'` |
1899 |
ld_vers_patch=`expr "$ld_vers" : '[0-9]*\.[0-9]*\.\([0-9]*\)'` |
1896 |
if test 0"$ld_date" -lt 20020404; then |
1900 |
if test 0"$ld_date" -lt 20020404; then |
1897 |
if test -n "$ld_date"; then |
1901 |
if test -n "$ld_date"; then |
1898 |
# If there was date string, but was earlier than 2002-04-04, fail |
1902 |
# If there was date string, but was earlier than 2002-04-04, fail |
Lines 1901-1909
changequote(,)dnl
Link Here
|
1901 |
# If there was no date string nor ld version number, something is wrong |
1905 |
# If there was no date string nor ld version number, something is wrong |
1902 |
gcc_cv_ld_hidden=no |
1906 |
gcc_cv_ld_hidden=no |
1903 |
else |
1907 |
else |
1904 |
ld_vers_major=`expr "$ld_vers" : '\([0-9]*\)'` |
|
|
1905 |
ld_vers_minor=`expr "$ld_vers" : '[0-9]*\.\([0-9]*\)'` |
1906 |
ld_vers_patch=`expr "$ld_vers" : '[0-9]*\.[0-9]*\.\([0-9]*\)'` |
1907 |
test -z "$ld_vers_patch" && ld_vers_patch=0 |
1908 |
test -z "$ld_vers_patch" && ld_vers_patch=0 |
1908 |
if test "$ld_vers_major" -lt 2; then |
1909 |
if test "$ld_vers_major" -lt 2; then |
1909 |
gcc_cv_ld_hidden=no |
1910 |
gcc_cv_ld_hidden=no |
Lines 2037-2042
gcc_GAS_CHECK_FEATURE(section merging su
Link Here
|
2037 |
AC_DEFINE_UNQUOTED(HAVE_GAS_SHF_MERGE, |
2038 |
AC_DEFINE_UNQUOTED(HAVE_GAS_SHF_MERGE, |
2038 |
[`if test $gcc_cv_as_shf_merge = yes; then echo 1; else echo 0; fi`], |
2039 |
[`if test $gcc_cv_as_shf_merge = yes; then echo 1; else echo 0; fi`], |
2039 |
[Define 0/1 if your assembler supports marking sections with SHF_MERGE flag.]) |
2040 |
[Define 0/1 if your assembler supports marking sections with SHF_MERGE flag.]) |
|
|
2041 |
|
2042 |
gcc_GAS_CHECK_FEATURE(COMDAT group support, gcc_cv_as_comdat_group, |
2043 |
[elf,2,16,0], [--fatal-warnings], |
2044 |
[.section .text,"axG",@progbits,.foo,comdat]) |
2045 |
if test $gcc_cv_as_comdat_group = yes; then |
2046 |
gcc_cv_as_comdat_group_percent=no |
2047 |
else |
2048 |
gcc_GAS_CHECK_FEATURE(COMDAT group support, gcc_cv_as_comdat_group_percent, |
2049 |
[elf,2,16,0], [--fatal-warnings], |
2050 |
[.section .text,"axG",%progbits,.foo,comdat]) |
2051 |
fi |
2052 |
if test $in_tree_ld != yes && test x"$ld_vers$ld_date" != x; then |
2053 |
comdat_group=yes |
2054 |
if test 0"$ld_date" -lt 20050308; then |
2055 |
if test -n "$ld_date"; then |
2056 |
# If there was date string, but was earlier than 2005-03-08, fail |
2057 |
comdat_group=no |
2058 |
elif test "$ld_vers_major" -lt 2; then |
2059 |
comdat_group=no |
2060 |
elif test "$ld_vers_major" -eq 2 -a "$ld_vers_minor" -lt 16; then |
2061 |
comdat_group=no |
2062 |
fi |
2063 |
fi |
2064 |
if test $comdat_group = no; then |
2065 |
gcc_cv_as_comdat_group=no |
2066 |
gcc_cv_as_comdat_group_percent=no |
2067 |
fi |
2068 |
fi |
2069 |
AC_DEFINE_UNQUOTED(HAVE_GAS_COMDAT_GROUP, |
2070 |
[`if test $gcc_cv_as_comdat_group = yes || test $gcc_cv_as_comdat_group_percent = yes; then echo 1; else echo 0; fi`], |
2071 |
[Define 0/1 if your assembler and linker support COMDAT groups.]) |
2040 |
|
2072 |
|
2041 |
# Thread-local storage - the check is heavily parametrized. |
2073 |
# Thread-local storage - the check is heavily parametrized. |
2042 |
conftest_s= |
2074 |
conftest_s= |