source:
patches/binutils-2.17-posix-1.patch@
0c3999a
Last change on this file since 0c3999a was 422c699, checked in by , 18 years ago | |
---|---|
|
|
File size: 4.9 KB |
-
gas/Makefile.am
Submitted By: Jim Gifford (patches at jg555 dot com) Date: 2005-05-06 Initial Package Version: 2.16 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 against 2.16 by Jeremy Huntwork diff -Naur binutils-2.16-ORIG/gas/Makefile.am binutils-2.16/gas/Makefile.am
old new 762 762 against=stage2 763 763 764 764 # This rule is derived from corresponding code in the Makefile.in for gcc. 765 # The "tail +16c" is to bypass headers which may include timestamps or765 # The "tail -c +16" is to bypass headers which may include timestamps or 766 766 # temporary assembly file names. 767 767 comparison: 768 768 x=0 ; \ 769 769 for file in *.o ; do \ 770 tail +16c./$$file > tmp-foo1; \771 if tail +16c${against}/$$file > tmp-foo2 2>/dev/null ; then \770 tail -c +16 ./$$file > tmp-foo1; \ 771 if tail -c +16 ${against}/$$file > tmp-foo2 2>/dev/null ; then \ 772 772 if cmp tmp-foo1 tmp-foo2 ; then \ 773 773 true ; \ 774 774 else \ -
gas/Makefile.in
diff -Naur binutils-2.16-ORIG/gas/Makefile.in binutils-2.16/gas/Makefile.in
old new 3164 3164 if [ -f stage3/as-new$(EXEEXT) -a ! -f stage3/as$(EXEEXT) ] ; then (cd stage3 ; ln -s as-new as$(EXEEXT)) ; fi 3165 3165 3166 3166 # This rule is derived from corresponding code in the Makefile.in for gcc. 3167 # The "tail +16c" is to bypass headers which may include timestamps or3167 # The "tail -c +16" is to bypass headers which may include timestamps or 3168 3168 # temporary assembly file names. 3169 3169 comparison: 3170 3170 x=0 ; \ 3171 3171 for file in *.o ; do \ 3172 tail +16c./$$file > tmp-foo1; \3173 if tail +16c${against}/$$file > tmp-foo2 2>/dev/null ; then \3172 tail -c +16 ./$$file > tmp-foo1; \ 3173 if tail -c +16 ${against}/$$file > tmp-foo2 2>/dev/null ; then \ 3174 3174 if cmp tmp-foo1 tmp-foo2 ; then \ 3175 3175 true ; \ 3176 3176 else \ -
ld/testsuite/ld-bootstrap/bootstrap.exp
diff -Naur binutils-2.16-ORIG/ld/testsuite/ld-bootstrap/bootstrap.exp binutils-2.16/ld/testsuite/ld-bootstrap/bootstrap.exp
old new 149 149 # Although this works, a way to set the date would be better. 150 150 # Removing or zeroing the date stamp in the binary produced by 151 151 # the linker is not possible as it is required by the target OS. 152 exec tail +140 tmpdir/ld2 >tmpdir/ld2tail153 exec tail +140 tmpdir/ld3 >tmpdir/ld3tail152 exec tail -n +140 tmpdir/ld2 >tmpdir/ld2tail 153 exec tail -n +140 tmpdir/ld3 >tmpdir/ld3tail 154 154 catch "exec cmp tmpdir/ld2tail tmpdir/ld3tail" exec_output 155 155 exec rm tmpdir/ld2tail tmpdir/ld3tail 156 156 } else { -
binutils-2.
diff -Naur binutils-2.16-ORIG/ltcf-c.sh binutils-2.16/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 binutils-2.16-ORIG/ltcf-gcj.sh binutils-2.16/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; -
src-release
diff -Naur binutils-2.16-ORIG/src-release binutils-2.16/src-release
old new 69 69 elif grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \ 70 70 sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \ 71 71 elif test -f $(TOOL)/version.in; then \ 72 head - 1 $(TOOL)/version.in; \72 head -n 1 $(TOOL)/version.in; \ 73 73 elif grep VERSION $(TOOL)/Makefile.in > /dev/null 2>&1; then \ 74 74 sed < $(TOOL)/Makefile.in -n 's/^VERSION *= *//p'; \ 75 75 else \
Note:
See TracBrowser
for help on using the repository browser.