source:
clfs-embedded/patches/gcc-4.1.2-posix-1.patch@
9642843
Last change on this file since 9642843 was 0602db2, checked in by , 18 years ago | |
---|---|
|
|
File size: 9.0 KB |
-
contrib/test_summary
Submitted By: Jim Gifford (patches at jg555 dot com) Date: 2007-02-14 Initial Package Version: 4.1.2 Origin: Jim Gifford Rediffed against 4.1.0 by Chris Staub Rediffed against 4.1.2 by Jim Gifford Upstream Status: On Hold Description: Makes GCC Posix Compliant diff -Naur gcc-4.1.2.orig/contrib/test_summary gcc-4.1.2/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.2.orig/gcc/configure gcc-4.1.2/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.2.orig/gcc/configure.ac gcc-4.1.2/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.2.orig/libjava/configure gcc-4.1.2/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.2.orig/libjava/mingwld.m4 gcc-4.1.2/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.2.orig/libstdc++-v3/acinclude.m4 gcc-4.1.2/libstdc++-v3/acinclude.m4
old new 224 224 # does some of this, but throws away the result. 225 225 if test x"$with_gnu_ld" = x"yes"; then 226 226 changequote(,) 227 ldver=`$LD --version 2>/dev/null | head - 1 | \227 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 228 228 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 229 229 changequote([,]) 230 230 glibcxx_gnu_ld_version=`echo $ldver | \ -
libstdc++-v3/configure
diff -Naur gcc-4.1.2.orig/libstdc++-v3/configure gcc-4.1.2/libstdc++-v3/configure
old new 8280 8280 # does some of this, but throws away the result. 8281 8281 if test x"$with_gnu_ld" = x"yes"; then 8282 8282 8283 ldver=`$LD --version 2>/dev/null | head - 1 | \8283 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 8284 8284 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 8285 8285 8286 8286 glibcxx_gnu_ld_version=`echo $ldver | \ … … 53121 53121 # does some of this, but throws away the result. 53122 53122 if test x"$with_gnu_ld" = x"yes"; then 53123 53123 53124 ldver=`$LD --version 2>/dev/null | head - 1 | \53124 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 53125 53125 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 53126 53126 53127 53127 glibcxx_gnu_ld_version=`echo $ldver | \ … … 74455 74455 # does some of this, but throws away the result. 74456 74456 if test x"$with_gnu_ld" = x"yes"; then 74457 74457 74458 ldver=`$LD --version 2>/dev/null | head - 1 | \74458 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 74459 74459 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 74460 74460 74461 74461 glibcxx_gnu_ld_version=`echo $ldver | \ … … 75952 75952 # does some of this, but throws away the result. 75953 75953 if test x"$with_gnu_ld" = x"yes"; then 75954 75954 75955 ldver=`$LD --version 2>/dev/null | head - 1 | \75955 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 75956 75956 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 75957 75957 75958 75958 glibcxx_gnu_ld_version=`echo $ldver | \ … … 77325 77325 # does some of this, but throws away the result. 77326 77326 if test x"$with_gnu_ld" = x"yes"; then 77327 77327 77328 ldver=`$LD --version 2>/dev/null | head - 1 | \77328 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 77329 77329 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 77330 77330 77331 77331 glibcxx_gnu_ld_version=`echo $ldver | \ … … 79485 79485 # does some of this, but throws away the result. 79486 79486 if test x"$with_gnu_ld" = x"yes"; then 79487 79487 79488 ldver=`$LD --version 2>/dev/null | head - 1 | \79488 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 79489 79489 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 79490 79490 79491 79491 glibcxx_gnu_ld_version=`echo $ldver | \ … … 80304 80304 # does some of this, but throws away the result. 80305 80305 if test x"$with_gnu_ld" = x"yes"; then 80306 80306 80307 ldver=`$LD --version 2>/dev/null | head - 1 | \80307 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 80308 80308 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 80309 80309 80310 80310 glibcxx_gnu_ld_version=`echo $ldver | \ … … 81679 81679 # does some of this, but throws away the result. 81680 81680 if test x"$with_gnu_ld" = x"yes"; then 81681 81681 81682 ldver=`$LD --version 2>/dev/null | head - 1 | \81682 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 81683 81683 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 81684 81684 81685 81685 glibcxx_gnu_ld_version=`echo $ldver | \ … … 83446 83446 # does some of this, but throws away the result. 83447 83447 if test x"$with_gnu_ld" = x"yes"; then 83448 83448 83449 ldver=`$LD --version 2>/dev/null | head - 1 | \83449 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 83450 83450 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 83451 83451 83452 83452 glibcxx_gnu_ld_version=`echo $ldver | \ … … 84663 84663 # does some of this, but throws away the result. 84664 84664 if test x"$with_gnu_ld" = x"yes"; then 84665 84665 84666 ldver=`$LD --version 2>/dev/null | head - 1 | \84666 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 84667 84667 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 84668 84668 84669 84669 glibcxx_gnu_ld_version=`echo $ldver | \ … … 85664 85664 # does some of this, but throws away the result. 85665 85665 if test x"$with_gnu_ld" = x"yes"; then 85666 85666 85667 ldver=`$LD --version 2>/dev/null | head - 1 | \85667 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 85668 85668 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 85669 85669 85670 85670 glibcxx_gnu_ld_version=`echo $ldver | \ -
ltcf-c.sh
diff -Naur gcc-4.1.2.orig/ltcf-c.sh gcc-4.1.2/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.2.orig/ltcf-gcj.sh gcc-4.1.2/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.