source:
patches/binutils-2.19.1-posix-1.patch@
bfc344f
Last change on this file since bfc344f was 7150133, checked in by , 16 years ago | |
---|---|
|
|
File size: 3.6 KB |
-
gas/Makefile.am
Submitted By: Jim Gifford (jim at cross-lfs dot org) Date: 2009-02-03 Initial Package Version: 2.19.1 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 Rediffed for 2.19.1 diff -Naur binutils-2.19.1.orig/gas/Makefile.am binutils-2.19.1/gas/Makefile.am
old new 810 810 against=stage2 811 811 812 812 # This rule is derived from corresponding code in the Makefile.in for gcc. 813 # The "tail +16c" is to bypass headers which may include timestamps or813 # The "tail -c +16" is to bypass headers which may include timestamps or 814 814 # temporary assembly file names. 815 815 comparison: 816 816 x=0 ; \ 817 817 for file in *.o ; do \ 818 tail +16c./$$file > tmp-foo1; \819 if tail +16c${against}/$$file > tmp-foo2 2>/dev/null ; then \818 tail -c +16 ./$$file > tmp-foo1; \ 819 if tail -c +16 ${against}/$$file > tmp-foo2 2>/dev/null ; then \ 820 820 if cmp tmp-foo1 tmp-foo2 ; then \ 821 821 true ; \ 822 822 else \ -
gas/Makefile.in
diff -Naur binutils-2.19.1.orig/gas/Makefile.in binutils-2.19.1/gas/Makefile.in
old new 2774 2774 if [ -f stage3/as-new$(EXEEXT) -a ! -f stage3/as$(EXEEXT) ] ; then (cd stage3 ; ln -s as-new as$(EXEEXT)) ; fi 2775 2775 2776 2776 # This rule is derived from corresponding code in the Makefile.in for gcc. 2777 # The "tail +16c" is to bypass headers which may include timestamps or2777 # The "tail -c +16" is to bypass headers which may include timestamps or 2778 2778 # temporary assembly file names. 2779 2779 comparison: 2780 2780 x=0 ; \ 2781 2781 for file in *.o ; do \ 2782 tail +16c./$$file > tmp-foo1; \2783 if tail +16c${against}/$$file > tmp-foo2 2>/dev/null ; then \2782 tail -c +16 ./$$file > tmp-foo1; \ 2783 if tail -c +16 ${against}/$$file > tmp-foo2 2>/dev/null ; then \ 2784 2784 if cmp tmp-foo1 tmp-foo2 ; then \ 2785 2785 true ; \ 2786 2786 else \ -
ld/testsuite/ld-bootstrap/bootstrap.exp
diff -Naur binutils-2.19.1.orig/ld/testsuite/ld-bootstrap/bootstrap.exp binutils-2.19.1/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.19.1
diff -Naur binutils-2.19.1.orig/src-release binutils-2.19.1/src-release
old new 71 71 elif grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \ 72 72 sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \ 73 73 elif test -f $(TOOL)/version.in; then \ 74 head - 1 $(TOOL)/version.in; \74 head -n 1 $(TOOL)/version.in; \ 75 75 elif grep VERSION $(TOOL)/Makefile.in > /dev/null 2>&1; then \ 76 76 sed < $(TOOL)/Makefile.in -n 's/^VERSION *= *//p'; \ 77 77 else \
Note:
See TracBrowser
for help on using the repository browser.