source: patches/binutils-2.19.1-posix-1.patch@ eb17a7a

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since eb17a7a was 7150133, checked in by Jim Gifford <clfs@…>, 16 years ago

Updated Binutils to 2.19.1

  • Property mode set to 100644
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  
    810810against=stage2
    811811
    812812# 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 or
     813# The "tail -c +16" is to bypass headers which may include timestamps or
    814814# temporary assembly file names.
    815815comparison:
    816816        x=0 ; \
    817817        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 \
    820820            if cmp tmp-foo1 tmp-foo2 ; then \
    821821              true ; \
    822822            else \
  • gas/Makefile.in

    diff -Naur binutils-2.19.1.orig/gas/Makefile.in binutils-2.19.1/gas/Makefile.in
    old new  
    27742774        if [ -f stage3/as-new$(EXEEXT) -a ! -f stage3/as$(EXEEXT) ] ; then (cd stage3 ; ln -s as-new as$(EXEEXT)) ; fi
    27752775
    27762776# 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 or
     2777# The "tail -c +16" is to bypass headers which may include timestamps or
    27782778# temporary assembly file names.
    27792779comparison:
    27802780        x=0 ; \
    27812781        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 \
    27842784            if cmp tmp-foo1 tmp-foo2 ; then \
    27852785              true ; \
    27862786            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  
    152152        # Although this works, a way to set the date would be better.
    153153        # Removing or zeroing the date stamp in the binary produced by
    154154        # the linker is not possible as it is required by the target OS.
    155         exec tail +140 tmpdir/ld2 >tmpdir/ld2tail
    156         exec tail +140 tmpdir/ld3 >tmpdir/ld3tail
     155        exec tail -n +140 tmpdir/ld2 >tmpdir/ld2tail
     156        exec tail -n +140 tmpdir/ld3 >tmpdir/ld3tail
    157157        catch "exec cmp tmpdir/ld2tail tmpdir/ld3tail" exec_output
    158158        exec rm tmpdir/ld2tail tmpdir/ld3tail
    159159    } else {
  • binutils-2.19.1

    diff -Naur binutils-2.19.1.orig/src-release binutils-2.19.1/src-release
    old new  
    7171        elif grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \
    7272          sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \
    7373        elif test -f $(TOOL)/version.in; then \
    74           head -1 $(TOOL)/version.in; \
     74          head -n 1 $(TOOL)/version.in; \
    7575        elif grep VERSION $(TOOL)/Makefile.in > /dev/null 2>&1; then \
    7676          sed < $(TOOL)/Makefile.in -n 's/^VERSION *= *//p'; \
    7777        else \
Note: See TracBrowser for help on using the repository browser.