source:
patches/gcc-4.0.3-posix-1.patch@
7d61e92
Last change on this file since 7d61e92 was 69cde8d, checked in by , 19 years ago | |
---|---|
|
|
File size: 8.5 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 Upstream Status: On Hold Description: Makes GCC Posix Compliant diff -Naur gcc-4.0.1.orig/contrib/test_summary gcc-4.0.1/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.0.1.orig/gcc/configure gcc-4.0.1/gcc/configure
old new 13511 13511 # and we got the correct data, then succeed. 13512 13512 if test x$gcc_cv_objdump != x \ 13513 13513 && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ 13514 | tail - 3 > conftest.got \13514 | tail -n 3 > conftest.got \ 13515 13515 && { cmp conftest.lit conftest.got > /dev/null 2>&1 \ 13516 13516 || cmp conftest.big conftest.got > /dev/null 2>&1; } 13517 13517 then -
gcc/configure.ac
diff -Naur gcc-4.0.1.orig/gcc/configure.ac gcc-4.0.1/gcc/configure.ac
old new 2214 2214 # and we got the correct data, then succeed. 2215 2215 if test x$gcc_cv_objdump != x \ 2216 2216 && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ 2217 | tail - 3 > conftest.got \2217 | tail -n 3 > conftest.got \ 2218 2218 && { cmp conftest.lit conftest.got > /dev/null 2>&1 \ 2219 2219 || cmp conftest.big conftest.got > /dev/null 2>&1; } 2220 2220 then -
libjava/acinclude.m4
diff -Naur gcc-4.0.1.orig/libjava/acinclude.m4 gcc-4.0.1/libjava/acinclude.m4
old new 17 17 AC_MSG_CHECKING(whether 'ld' is at least 2.13) 18 18 LD_PROG=`$CC --print-prog-name=ld` 19 19 LD_VERSION=`$LD_PROG --version` 20 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head - 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`21 LD_VERSION_MINOR=`echo "$LD_VERSION" | head - 1 | cut -d '.' -f 2`20 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 21 LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2` 22 22 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then 23 23 LD_OK="ok" 24 24 else -
libjava/configure
diff -Naur gcc-4.0.1.orig/libjava/configure gcc-4.0.1/libjava/configure
old new 5933 5933 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6 5934 5934 LD_PROG=`$CC --print-prog-name=ld` 5935 5935 LD_VERSION=`$LD_PROG --version` 5936 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head - 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`5937 LD_VERSION_MINOR=`echo "$LD_VERSION" | head - 1 | cut -d '.' -f 2`5936 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 5937 LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2` 5938 5938 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then 5939 5939 LD_OK="ok" 5940 5940 else -
libstdc++-v3/acinclude.m4
diff -Naur gcc-4.0.1.orig/libstdc++-v3/acinclude.m4 gcc-4.0.1/libstdc++-v3/acinclude.m4
old new 241 241 # Start by getting the version number. I think the libtool test already 242 242 # does some of this, but throws away the result. 243 243 changequote(,) 244 ldver=`$LD --version 2>/dev/null | head - 1 | \244 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 245 245 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 246 246 changequote([,]) 247 247 glibcxx_gnu_ld_version=`echo $ldver | \ -
libstdc++-v3/configure
diff -Naur gcc-4.0.1.orig/libstdc++-v3/configure gcc-4.0.1/libstdc++-v3/configure
old new 9880 9880 # Start by getting the version number. I think the libtool test already 9881 9881 # does some of this, but throws away the result. 9882 9882 9883 ldver=`$LD --version 2>/dev/null | head - 1 | \9883 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 9884 9884 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 9885 9885 9886 9886 glibcxx_gnu_ld_version=`echo $ldver | \ … … 55252 55252 # Start by getting the version number. I think the libtool test already 55253 55253 # does some of this, but throws away the result. 55254 55254 55255 ldver=`$LD --version 2>/dev/null | head - 1 | \55255 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 55256 55256 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 55257 55257 55258 55258 glibcxx_gnu_ld_version=`echo $ldver | \ … … 76923 76923 # Start by getting the version number. I think the libtool test already 76924 76924 # does some of this, but throws away the result. 76925 76925 76926 ldver=`$LD --version 2>/dev/null | head - 1 | \76926 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 76927 76927 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 76928 76928 76929 76929 glibcxx_gnu_ld_version=`echo $ldver | \ … … 79292 79292 # Start by getting the version number. I think the libtool test already 79293 79293 # does some of this, but throws away the result. 79294 79294 79295 ldver=`$LD --version 2>/dev/null | head - 1 | \79295 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 79296 79296 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 79297 79297 79298 79298 glibcxx_gnu_ld_version=`echo $ldver | \ … … 81537 81537 # Start by getting the version number. I think the libtool test already 81538 81538 # does some of this, but throws away the result. 81539 81539 81540 ldver=`$LD --version 2>/dev/null | head - 1 | \81540 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 81541 81541 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 81542 81542 81543 81543 glibcxx_gnu_ld_version=`echo $ldver | \ … … 84550 84550 # Start by getting the version number. I think the libtool test already 84551 84551 # does some of this, but throws away the result. 84552 84552 84553 ldver=`$LD --version 2>/dev/null | head - 1 | \84553 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 84554 84554 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 84555 84555 84556 84556 glibcxx_gnu_ld_version=`echo $ldver | \ … … 86748 86748 # Start by getting the version number. I think the libtool test already 86749 86749 # does some of this, but throws away the result. 86750 86750 86751 ldver=`$LD --version 2>/dev/null | head - 1 | \86751 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 86752 86752 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 86753 86753 86754 86754 glibcxx_gnu_ld_version=`echo $ldver | \ … … 88995 88995 # Start by getting the version number. I think the libtool test already 88996 88996 # does some of this, but throws away the result. 88997 88997 88998 ldver=`$LD --version 2>/dev/null | head - 1 | \88998 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 88999 88999 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 89000 89000 89001 89001 glibcxx_gnu_ld_version=`echo $ldver | \ … … 91603 91603 # Start by getting the version number. I think the libtool test already 91604 91604 # does some of this, but throws away the result. 91605 91605 91606 ldver=`$LD --version 2>/dev/null | head - 1 | \91606 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 91607 91607 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 91608 91608 91609 91609 glibcxx_gnu_ld_version=`echo $ldver | \ -
ltcf-c.sh
diff -Naur gcc-4.0.1.orig/ltcf-c.sh gcc-4.0.1/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.0.1.orig/ltcf-gcj.sh gcc-4.0.1/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.