source:
patches/gcc-4.1.1-posix-1.patch@
ce3fd14
Last change on this file since ce3fd14 was 89d1048, checked in by , 18 years ago | |
---|---|
|
|
File size: 8.9 KB |
-
contrib/test_summary
Submitted By: Jim Gifford (patches at jg555 dot com) Date: 2005-08-27 Initial Package Version: 4.0.1 Origin: Jim Gifford Rediffed against 4.1.0 by Chris Staub Upstream Status: On Hold Description: Makes GCC Posix Compliant diff -Naur gcc-4.1.0.orig/contrib/test_summary gcc-4.1.0/contrib/test_summary
old new 106 106 srcdir = configflags; 107 107 sub(/\/configure .*/, "", srcdir); 108 108 printf "LAST_UPDATED: "; 109 system("tail - 1 " srcdir "/LAST_UPDATED");109 system("tail -n 1 " srcdir "/LAST_UPDATED"); 110 110 print ""; 111 111 112 112 sub(/^[^ ]*\/configure */, " ", configflags); -
gcc/configure
diff -Naur gcc-4.1.0.orig/gcc/configure gcc-4.1.0/gcc/configure
old new 14318 14318 # and we got the correct data, then succeed. 14319 14319 if test x$gcc_cv_objdump != x \ 14320 14320 && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ 14321 | tail - 3 > conftest.got \14321 | tail -n 3 > conftest.got \ 14322 14322 && { cmp conftest.lit conftest.got > /dev/null 2>&1 \ 14323 14323 || cmp conftest.big conftest.got > /dev/null 2>&1; } 14324 14324 then -
gcc/configure.ac
diff -Naur gcc-4.1.0.orig/gcc/configure.ac gcc-4.1.0/gcc/configure.ac
old new 2124 2124 # and we got the correct data, then succeed. 2125 2125 if test x$gcc_cv_objdump != x \ 2126 2126 && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ 2127 | tail - 3 > conftest.got \2127 | tail -n 3 > conftest.got \ 2128 2128 && { cmp conftest.lit conftest.got > /dev/null 2>&1 \ 2129 2129 || cmp conftest.big conftest.got > /dev/null 2>&1; } 2130 2130 then -
libjava/configure
diff -Naur gcc-4.1.0.orig/libjava/configure gcc-4.1.0/libjava/configure
old new 6736 6736 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6 6737 6737 LD_PROG=`$CC --print-prog-name=ld` 6738 6738 LD_VERSION=`$LD_PROG --version` 6739 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head - 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`6740 LD_VERSION_MINOR=`echo "$LD_VERSION" | head - 1 | cut -d '.' -f 2`6739 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 6740 LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2` 6741 6741 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then 6742 6742 LD_OK="ok" 6743 6743 else -
libjava/mingwld.m4
diff -Naur gcc-4.1.0.orig/libjava/mingwld.m4 gcc-4.1.0/libjava/mingwld.m4
old new 3 3 AC_MSG_CHECKING(whether 'ld' is at least 2.13) 4 4 LD_PROG=`$CC --print-prog-name=ld` 5 5 LD_VERSION=`$LD_PROG --version` 6 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head - 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`7 LD_VERSION_MINOR=`echo "$LD_VERSION" | head - 1 | cut -d '.' -f 2`6 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 7 LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2` 8 8 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then 9 9 LD_OK="ok" 10 10 else -
libstdc++-v3/acinclude.m4
diff -Naur gcc-4.1.0.orig/libstdc++-v3/acinclude.m4 gcc-4.1.0/libstdc++-v3/acinclude.m4
old new 223 223 # Start by getting the version number. I think the libtool test already 224 224 # does some of this, but throws away the result. 225 225 changequote(,) 226 ldver=`$LD --version 2>/dev/null | head - 1 | \226 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 227 227 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 228 228 changequote([,]) 229 229 glibcxx_gnu_ld_version=`echo $ldver | \ -
libstdc++-v3/configure
diff -Naur gcc-4.1.0.orig/libstdc++-v3/configure gcc-4.1.0/libstdc++-v3/configure
old new 8201 8201 # Start by getting the version number. I think the libtool test already 8202 8202 # does some of this, but throws away the result. 8203 8203 8204 ldver=`$LD --version 2>/dev/null | head - 1 | \8204 ldver=`$LD --version 2>/dev/null | head -n -1 | \ 8205 8205 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 8206 8206 8207 8207 glibcxx_gnu_ld_version=`echo $ldver | \ … … 53040 53040 # Start by getting the version number. I think the libtool test already 53041 53041 # does some of this, but throws away the result. 53042 53042 53043 ldver=`$LD --version 2>/dev/null | head - 1 | \53043 ldver=`$LD --version 2>/dev/null | head -n -1 | \ 53044 53044 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 53045 53045 53046 53046 glibcxx_gnu_ld_version=`echo $ldver | \ … … 74372 74372 # Start by getting the version number. I think the libtool test already 74373 74373 # does some of this, but throws away the result. 74374 74374 74375 ldver=`$LD --version 2>/dev/null | head - 1 | \74375 ldver=`$LD --version 2>/dev/null | head -n -1 | \ 74376 74376 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 74377 74377 74378 74378 glibcxx_gnu_ld_version=`echo $ldver | \ … … 75867 75867 # Start by getting the version number. I think the libtool test already 75868 75868 # does some of this, but throws away the result. 75869 75869 75870 ldver=`$LD --version 2>/dev/null | head - 1 | \75870 ldver=`$LD --version 2>/dev/null | head -n -1 | \ 75871 75871 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 75872 75872 75873 75873 glibcxx_gnu_ld_version=`echo $ldver | \ … … 77238 77238 # Start by getting the version number. I think the libtool test already 77239 77239 # does some of this, but throws away the result. 77240 77240 77241 ldver=`$LD --version 2>/dev/null | head - 1 | \77241 ldver=`$LD --version 2>/dev/null | head -n -1 | \ 77242 77242 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 77243 77243 77244 77244 glibcxx_gnu_ld_version=`echo $ldver | \ … … 79396 79396 # Start by getting the version number. I think the libtool test already 79397 79397 # does some of this, but throws away the result. 79398 79398 79399 ldver=`$LD --version 2>/dev/null | head - 1 | \79399 ldver=`$LD --version 2>/dev/null | head -n -1 | \ 79400 79400 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 79401 79401 79402 79402 glibcxx_gnu_ld_version=`echo $ldver | \ … … 80720 80720 # Start by getting the version number. I think the libtool test already 80721 80721 # does some of this, but throws away the result. 80722 80722 80723 ldver=`$LD --version 2>/dev/null | head - 1 | \80723 ldver=`$LD --version 2>/dev/null | head -n -1 | \ 80724 80724 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 80725 80725 80726 80726 glibcxx_gnu_ld_version=`echo $ldver | \ … … 82093 82093 # Start by getting the version number. I think the libtool test already 82094 82094 # does some of this, but throws away the result. 82095 82095 82096 ldver=`$LD --version 2>/dev/null | head - 1 | \82096 ldver=`$LD --version 2>/dev/null | head -n -1 | \ 82097 82097 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 82098 82098 82099 82099 glibcxx_gnu_ld_version=`echo $ldver | \ … … 83858 83858 # Start by getting the version number. I think the libtool test already 83859 83859 # does some of this, but throws away the result. 83860 83860 83861 ldver=`$LD --version 2>/dev/null | head - 1 | \83861 ldver=`$LD --version 2>/dev/null | head -n -1 | \ 83862 83862 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 83863 83863 83864 83864 glibcxx_gnu_ld_version=`echo $ldver | \ … … 85944 85944 # Start by getting the version number. I think the libtool test already 85945 85945 # does some of this, but throws away the result. 85946 85946 85947 ldver=`$LD --version 2>/dev/null | head - 1 | \85947 ldver=`$LD --version 2>/dev/null | head -n -1 | \ 85948 85948 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 85949 85949 85950 85950 glibcxx_gnu_ld_version=`echo $ldver | \ -
ltcf-c.sh
diff -Naur gcc-4.1.0.orig/ltcf-c.sh gcc-4.1.0/ltcf-c.sh
old new 153 153 # If the export-symbols file already is a .def file (1st line 154 154 # is EXPORTS), use it as is. 155 155 # If DATA tags from a recent dlltool are present, honour them! 156 archive_expsym_cmds='if test "x`head - 1 $export_symbols`" = xEXPORTS; then156 archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then 157 157 cp $export_symbols $output_objdir/$soname-def; 158 158 else 159 159 echo EXPORTS > $output_objdir/$soname-def; -
ltcf-gcj.sh
diff -Naur gcc-4.1.0.orig/ltcf-gcj.sh gcc-4.1.0/ltcf-gcj.sh
old new 156 156 # If the export-symbols file already is a .def file (1st line 157 157 # is EXPORTS), use it as is. 158 158 # If DATA tags from a recent dlltool are present, honour them! 159 archive_expsym_cmds='if test "x`head - 1 $export_symbols`" = xEXPORTS; then159 archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then 160 160 cp $export_symbols $output_objdir/$soname-def; 161 161 else 162 162 echo EXPORTS > $output_objdir/$soname-def;
Note:
See TracBrowser
for help on using the repository browser.