source:
clfs-embedded/patches/binutils-2.19-posix-1.patch@
88b7bb1
Last change on this file since 88b7bb1 was 0194a60, checked in by , 16 years ago | |
---|---|
|
|
File size: 3.5 KB |
-
gas/Makefile.am
Submitted By: Jim Gifford (patches at jg555 dot com) Date: 2007-09-01 Initial Package Version: 2.18 Origin: http://ttervo.vectorstar.net/nptl/posix-patches/binutils-2.14.90.0.7-posix-head-tail.patch Upstream Status: Accepted/but Suspended Description: Makes Posix Compliant diff -Naur binutils-2.18.orig/gas/Makefile.am binutils-2.18/gas/Makefile.am
old new 791 791 against=stage2 792 792 793 793 # This rule is derived from corresponding code in the Makefile.in for gcc. 794 # The "tail +16c" is to bypass headers which may include timestamps or794 # The "tail -c +16" is to bypass headers which may include timestamps or 795 795 # temporary assembly file names. 796 796 comparison: 797 797 x=0 ; \ 798 798 for file in *.o ; do \ 799 tail +16c./$$file > tmp-foo1; \800 if tail +16c${against}/$$file > tmp-foo2 2>/dev/null ; then \799 tail -c +16 ./$$file > tmp-foo1; \ 800 if tail -c +16 ${against}/$$file > tmp-foo2 2>/dev/null ; then \ 801 801 if cmp tmp-foo1 tmp-foo2 ; then \ 802 802 true ; \ 803 803 else \ -
gas/Makefile.in
diff -Naur binutils-2.18.orig/gas/Makefile.in binutils-2.18/gas/Makefile.in
old new 2763 2763 if [ -f stage3/as-new$(EXEEXT) -a ! -f stage3/as$(EXEEXT) ] ; then (cd stage3 ; ln -s as-new as$(EXEEXT)) ; fi 2764 2764 2765 2765 # This rule is derived from corresponding code in the Makefile.in for gcc. 2766 # The "tail +16c" is to bypass headers which may include timestamps or2766 # The "tail -c +16" is to bypass headers which may include timestamps or 2767 2767 # temporary assembly file names. 2768 2768 comparison: 2769 2769 x=0 ; \ 2770 2770 for file in *.o ; do \ 2771 tail +16c./$$file > tmp-foo1; \2772 if tail +16c${against}/$$file > tmp-foo2 2>/dev/null ; then \2771 tail -c +16 ./$$file > tmp-foo1; \ 2772 if tail -c +16 ${against}/$$file > tmp-foo2 2>/dev/null ; then \ 2773 2773 if cmp tmp-foo1 tmp-foo2 ; then \ 2774 2774 true ; \ 2775 2775 else \ -
ld/testsuite/ld-bootstrap/bootstrap.exp
diff -Naur binutils-2.18.orig/ld/testsuite/ld-bootstrap/bootstrap.exp binutils-2.18/ld/testsuite/ld-bootstrap/bootstrap.exp
old new 152 152 # Although this works, a way to set the date would be better. 153 153 # Removing or zeroing the date stamp in the binary produced by 154 154 # the linker is not possible as it is required by the target OS. 155 exec tail +140 tmpdir/ld2 >tmpdir/ld2tail156 exec tail +140 tmpdir/ld3 >tmpdir/ld3tail155 exec tail -n +140 tmpdir/ld2 >tmpdir/ld2tail 156 exec tail -n +140 tmpdir/ld3 >tmpdir/ld3tail 157 157 catch "exec cmp tmpdir/ld2tail tmpdir/ld3tail" exec_output 158 158 exec rm tmpdir/ld2tail tmpdir/ld3tail 159 159 } else { -
binutils-2.18
diff -Naur binutils-2.18.orig/src-release binutils-2.18/src-release
old new 73 73 elif grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \ 74 74 sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \ 75 75 elif test -f $(TOOL)/version.in; then \ 76 head - 1 $(TOOL)/version.in; \76 head -n 1 $(TOOL)/version.in; \ 77 77 elif grep VERSION $(TOOL)/Makefile.in > /dev/null 2>&1; then \ 78 78 sed < $(TOOL)/Makefile.in -n 's/^VERSION *= *//p'; \ 79 79 else \
Note:
See TracBrowser
for help on using the repository browser.