1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-02-17 15:04:42 +02:00

binutils: refresh patches for binutils 2.17

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14587 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hauke 2009-02-21 14:24:39 +00:00
parent 82c4f96e01
commit e570388548
12 changed files with 318 additions and 483 deletions

View File

@ -1,6 +1,6 @@
--- binutils-2.17/config.sub.orig 2008-05-15 22:28:28.000000000 -0500 --- a/config.sub
+++ binutils-2.17/config.sub 2008-05-15 22:28:11.000000000 -0500 +++ b/config.sub
@@ -240,7 +240,7 @@ @@ -240,7 +240,7 @@ case $basic_machine in
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| am33_2.0 \ | am33_2.0 \
@ -9,7 +9,7 @@
| bfin \ | bfin \
| c4x | clipper \ | c4x | clipper \
| d10v | d30v | dlx | dsp16xx \ | d10v | d30v | dlx | dsp16xx \
@@ -317,7 +317,7 @@ @@ -317,7 +317,7 @@ case $basic_machine in
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \

View File

@ -1,8 +1,6 @@
Index: binutils-2.17/bfd/configure --- a/bfd/configure
=================================================================== +++ b/bfd/configure
--- binutils-2.17.orig/bfd/configure 2007-06-28 09:19:34.892931920 +0200 @@ -3576,7 +3576,7 @@ irix5* | irix6*)
+++ binutils-2.17/bfd/configure 2007-06-28 09:19:35.023912008 +0200
@@ -3576,7 +3576,7 @@
;; ;;
# This must be Linux ELF. # This must be Linux ELF.
@ -11,11 +9,9 @@ Index: binutils-2.17/bfd/configure
lt_cv_deplibs_check_method=pass_all lt_cv_deplibs_check_method=pass_all
;; ;;
Index: binutils-2.17/binutils/configure --- a/binutils/configure
=================================================================== +++ b/binutils/configure
--- binutils-2.17.orig/binutils/configure 2007-06-28 09:19:34.898931008 +0200 @@ -3411,7 +3411,7 @@ irix5* | irix6*)
+++ binutils-2.17/binutils/configure 2007-06-28 09:19:35.028911248 +0200
@@ -3411,7 +3411,7 @@
;; ;;
# This must be Linux ELF. # This must be Linux ELF.
@ -24,11 +20,9 @@ Index: binutils-2.17/binutils/configure
lt_cv_deplibs_check_method=pass_all lt_cv_deplibs_check_method=pass_all
;; ;;
Index: binutils-2.17/configure --- a/configure
=================================================================== +++ b/configure
--- binutils-2.17.orig/configure 2007-06-28 09:19:34.903930248 +0200 @@ -1276,7 +1276,7 @@ case "${target}" in
+++ binutils-2.17/configure 2007-06-28 09:19:35.030910944 +0200
@@ -1276,7 +1276,7 @@
am33_2.0-*-linux*) am33_2.0-*-linux*)
noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
;; ;;
@ -37,7 +31,7 @@ Index: binutils-2.17/configure
noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
;; ;;
sh*-*-pe|mips*-*-pe|*arm-wince-pe) sh*-*-pe|mips*-*-pe|*arm-wince-pe)
@@ -1584,7 +1584,7 @@ @@ -1584,7 +1584,7 @@ case "${target}" in
romp-*-*) romp-*-*)
noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}" noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
;; ;;
@ -46,11 +40,9 @@ Index: binutils-2.17/configure
case "${host}" in case "${host}" in
i[3456789]86-*-vsta) ;; # don't add gprof back in i[3456789]86-*-vsta) ;; # don't add gprof back in
i[3456789]86-*-go32*) ;; # don't add gprof back in i[3456789]86-*-go32*) ;; # don't add gprof back in
Index: binutils-2.17/configure.in --- a/configure.in
=================================================================== +++ b/configure.in
--- binutils-2.17.orig/configure.in 2007-06-28 09:19:34.909929336 +0200 @@ -468,7 +468,7 @@ case "${target}" in
+++ binutils-2.17/configure.in 2007-06-28 09:19:35.031910792 +0200
@@ -468,7 +468,7 @@
am33_2.0-*-linux*) am33_2.0-*-linux*)
noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
;; ;;
@ -59,7 +51,7 @@ Index: binutils-2.17/configure.in
noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
;; ;;
sh*-*-pe|mips*-*-pe|*arm-wince-pe) sh*-*-pe|mips*-*-pe|*arm-wince-pe)
@@ -776,7 +776,7 @@ @@ -776,7 +776,7 @@ case "${target}" in
romp-*-*) romp-*-*)
noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}" noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
;; ;;
@ -68,11 +60,9 @@ Index: binutils-2.17/configure.in
case "${host}" in case "${host}" in
i[[3456789]]86-*-vsta) ;; # don't add gprof back in i[[3456789]]86-*-vsta) ;; # don't add gprof back in
i[[3456789]]86-*-go32*) ;; # don't add gprof back in i[[3456789]]86-*-go32*) ;; # don't add gprof back in
Index: binutils-2.17/gas/configure --- a/gas/configure
=================================================================== +++ b/gas/configure
--- binutils-2.17.orig/gas/configure 2007-06-28 09:19:34.915928424 +0200 @@ -3411,7 +3411,7 @@ irix5* | irix6*)
+++ binutils-2.17/gas/configure 2007-06-28 09:19:35.035910184 +0200
@@ -3411,7 +3411,7 @@
;; ;;
# This must be Linux ELF. # This must be Linux ELF.
@ -81,11 +71,9 @@ Index: binutils-2.17/gas/configure
lt_cv_deplibs_check_method=pass_all lt_cv_deplibs_check_method=pass_all
;; ;;
Index: binutils-2.17/gprof/configure --- a/gprof/configure
=================================================================== +++ b/gprof/configure
--- binutils-2.17.orig/gprof/configure 2007-06-28 09:19:34.921927512 +0200 @@ -3414,6 +3414,11 @@ linux-gnu*)
+++ binutils-2.17/gprof/configure 2007-06-28 09:19:35.042909120 +0200
@@ -3414,6 +3414,11 @@
lt_cv_deplibs_check_method=pass_all lt_cv_deplibs_check_method=pass_all
;; ;;
@ -97,11 +85,9 @@ Index: binutils-2.17/gprof/configure
netbsd* | knetbsd*-gnu) netbsd* | knetbsd*-gnu)
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
Index: binutils-2.17/ld/configure --- a/ld/configure
=================================================================== +++ b/ld/configure
--- binutils-2.17.orig/ld/configure 2007-06-28 09:19:34.927926600 +0200 @@ -3413,7 +3413,7 @@ irix5* | irix6*)
+++ binutils-2.17/ld/configure 2007-06-28 09:19:35.046908512 +0200
@@ -3413,7 +3413,7 @@
;; ;;
# This must be Linux ELF. # This must be Linux ELF.
@ -110,11 +96,9 @@ Index: binutils-2.17/ld/configure
lt_cv_deplibs_check_method=pass_all lt_cv_deplibs_check_method=pass_all
;; ;;
Index: binutils-2.17/libtool.m4 --- a/libtool.m4
=================================================================== +++ b/libtool.m4
--- binutils-2.17.orig/libtool.m4 2007-06-28 09:19:34.933925688 +0200 @@ -739,7 +739,7 @@ irix5* | irix6*)
+++ binutils-2.17/libtool.m4 2007-06-28 09:19:35.047908360 +0200
@@ -739,7 +739,7 @@
;; ;;
# This must be Linux ELF. # This must be Linux ELF.
@ -123,11 +107,9 @@ Index: binutils-2.17/libtool.m4
lt_cv_deplibs_check_method=pass_all lt_cv_deplibs_check_method=pass_all
;; ;;
Index: binutils-2.17/ltconfig --- a/ltconfig
=================================================================== +++ b/ltconfig
--- binutils-2.17.orig/ltconfig 2007-06-28 09:19:34.939924776 +0200 @@ -602,6 +602,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-
+++ binutils-2.17/ltconfig 2007-06-28 09:19:35.048908208 +0200
@@ -602,6 +602,7 @@
# Transform linux* to *-*-linux-gnu*, to support old configure scripts. # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
case $host_os in case $host_os in
@ -135,7 +117,7 @@ Index: binutils-2.17/ltconfig
linux-gnu*) ;; linux-gnu*) ;;
linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
esac esac
@@ -1247,7 +1248,7 @@ @@ -1247,7 +1248,7 @@ linux-gnuoldld* | linux-gnuaout* | linux
;; ;;
# This must be Linux ELF. # This must be Linux ELF.
@ -144,11 +126,9 @@ Index: binutils-2.17/ltconfig
version_type=linux version_type=linux
need_lib_prefix=no need_lib_prefix=no
need_version=no need_version=no
Index: binutils-2.17/opcodes/configure --- a/opcodes/configure
=================================================================== +++ b/opcodes/configure
--- binutils-2.17.orig/opcodes/configure 2007-06-28 09:19:34.946923712 +0200 @@ -3579,7 +3579,7 @@ irix5* | irix6*)
+++ binutils-2.17/opcodes/configure 2007-06-28 09:19:35.051907752 +0200
@@ -3579,7 +3579,7 @@
;; ;;
# This must be Linux ELF. # This must be Linux ELF.

View File

@ -1,8 +1,6 @@
Index: binutils-2.17/configure --- a/configure
=================================================================== +++ b/configure
--- binutils-2.17.orig/configure 2007-06-28 09:19:35.030910944 +0200 @@ -1305,7 +1305,7 @@ case "${target}" in
+++ binutils-2.17/configure 2007-06-28 09:19:35.592825520 +0200
@@ -1305,7 +1305,7 @@
arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* ) arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* )
noconfigdirs="$noconfigdirs target-libffi target-qthreads" noconfigdirs="$noconfigdirs target-libffi target-qthreads"
;; ;;
@ -11,11 +9,9 @@ Index: binutils-2.17/configure
noconfigdirs="$noconfigdirs target-libffi target-qthreads" noconfigdirs="$noconfigdirs target-libffi target-qthreads"
noconfigdirs="$noconfigdirs target-libjava target-libobjc" noconfigdirs="$noconfigdirs target-libjava target-libobjc"
;; ;;
Index: binutils-2.17/configure.in --- a/configure.in
=================================================================== +++ b/configure.in
--- binutils-2.17.orig/configure.in 2007-06-28 09:19:35.031910792 +0200 @@ -497,7 +497,7 @@ case "${target}" in
+++ binutils-2.17/configure.in 2007-06-28 09:19:35.593825368 +0200
@@ -497,7 +497,7 @@
arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* ) arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* )
noconfigdirs="$noconfigdirs target-libffi target-qthreads" noconfigdirs="$noconfigdirs target-libffi target-qthreads"
;; ;;

View File

@ -26,11 +26,9 @@ esac
exit 0 exit 0
@DPATCH@ @DPATCH@
Index: binutils-2.17/ld/Makefile.am --- a/ld/Makefile.am
=================================================================== +++ b/ld/Makefile.am
--- binutils-2.17.orig/ld/Makefile.am 2007-06-28 09:19:34.837940280 +0200 @@ -20,7 +20,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
+++ binutils-2.17/ld/Makefile.am 2007-06-28 09:19:35.795794664 +0200
@@ -20,7 +20,7 @@
# We put the scripts in the directory $(scriptdir)/ldscripts. # We put the scripts in the directory $(scriptdir)/ldscripts.
# We can't put the scripts in $(datadir) because the SEARCH_DIR # We can't put the scripts in $(datadir) because the SEARCH_DIR
# directives need to be different for native and cross linkers. # directives need to be different for native and cross linkers.
@ -39,11 +37,9 @@ Index: binutils-2.17/ld/Makefile.am
EMUL = @EMUL@ EMUL = @EMUL@
EMULATION_OFILES = @EMULATION_OFILES@ EMULATION_OFILES = @EMULATION_OFILES@
Index: binutils-2.17/ld/Makefile.in --- a/ld/Makefile.in
=================================================================== +++ b/ld/Makefile.in
--- binutils-2.17.orig/ld/Makefile.in 2007-06-28 09:19:34.844939216 +0200 @@ -269,7 +269,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
+++ binutils-2.17/ld/Makefile.in 2007-06-28 09:19:35.796794512 +0200
@@ -269,7 +269,7 @@
# We put the scripts in the directory $(scriptdir)/ldscripts. # We put the scripts in the directory $(scriptdir)/ldscripts.
# We can't put the scripts in $(datadir) because the SEARCH_DIR # We can't put the scripts in $(datadir) because the SEARCH_DIR
# directives need to be different for native and cross linkers. # directives need to be different for native and cross linkers.

View File

@ -24,11 +24,9 @@ esac
exit 0 exit 0
@DPATCH@ @DPATCH@
Index: binutils-2.17/bfd/opncls.c --- a/bfd/opncls.c
=================================================================== +++ b/bfd/opncls.c
--- binutils-2.17.orig/bfd/opncls.c 2007-06-28 09:19:34.818943168 +0200 @@ -158,6 +158,13 @@ bfd_fopen (const char *filename, const c
+++ binutils-2.17/bfd/opncls.c 2007-06-28 09:19:35.993764568 +0200
@@ -158,6 +158,13 @@
{ {
bfd *nbfd; bfd *nbfd;
const bfd_target *target_vec; const bfd_target *target_vec;

View File

@ -24,11 +24,9 @@ esac
exit 0 exit 0
@DPATCH@ @DPATCH@
Index: binutils-2.17/ld/emultempl/elf32.em --- a/ld/emultempl/elf32.em
=================================================================== +++ b/ld/emultempl/elf32.em
--- binutils-2.17.orig/ld/emultempl/elf32.em 2007-06-28 09:19:34.796946512 +0200 @@ -970,6 +970,8 @@ cat >>e${EMULATION_NAME}.c <<EOF
+++ binutils-2.17/ld/emultempl/elf32.em 2007-06-28 09:19:36.178736448 +0200
@@ -970,6 +970,8 @@
&& command_line.rpath == NULL) && command_line.rpath == NULL)
{ {
lib_path = (const char *) getenv ("LD_RUN_PATH"); lib_path = (const char *) getenv ("LD_RUN_PATH");
@ -37,7 +35,7 @@ Index: binutils-2.17/ld/emultempl/elf32.em
if (gld${EMULATION_NAME}_search_needed (lib_path, &n, if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
force)) force))
break; break;
@@ -1154,6 +1156,8 @@ @@ -1154,6 +1156,8 @@ gld${EMULATION_NAME}_before_allocation (
rpath = command_line.rpath; rpath = command_line.rpath;
if (rpath == NULL) if (rpath == NULL)
rpath = (const char *) getenv ("LD_RUN_PATH"); rpath = (const char *) getenv ("LD_RUN_PATH");

View File

@ -1,8 +1,6 @@
Index: binutils-2.17/bfd/elf32-mips.c --- a/bfd/elf32-mips.c
=================================================================== +++ b/bfd/elf32-mips.c
--- binutils-2.17.orig/bfd/elf32-mips.c 2007-06-28 09:19:34.774949856 +0200 @@ -1617,7 +1617,7 @@ static const struct ecoff_debug_swap mip
+++ binutils-2.17/bfd/elf32-mips.c 2007-06-28 09:19:36.366707872 +0200
@@ -1617,7 +1617,7 @@
/* The SVR4 MIPS ABI says that this should be 0x10000, and Linux uses /* The SVR4 MIPS ABI says that this should be 0x10000, and Linux uses
page sizes of up to that limit, so we need to respect it. */ page sizes of up to that limit, so we need to respect it. */

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,6 @@
Index: a/gas/config/tc-avr32.c --- a/gas/config/tc-avr32.c
=================================================================== +++ b/gas/config/tc-avr32.c
--- a/gas/config/tc-avr32.c (revision 31496) @@ -3092,6 +3092,8 @@ static void s_cpool(int arg ATTRIBUTE_UN
+++ b/gas/config/tc-avr32.c (revision 32014)
@@ -3092,6 +3092,8 @@
/* Make sure the constant pool is properly aligned */ /* Make sure the constant pool is properly aligned */
frag_align_code(2, 0); frag_align_code(2, 0);

View File

@ -1,8 +1,6 @@
Index: binutils-2.17/bfd/elf32-cris.c --- a/bfd/elf32-cris.c
=================================================================== +++ b/bfd/elf32-cris.c
--- binutils-2.17.orig/bfd/elf32-cris.c 2007-06-28 09:19:34.053059600 +0200 @@ -2709,12 +2709,12 @@ cris_elf_check_relocs (abfd, info, sec,
+++ binutils-2.17/bfd/elf32-cris.c 2007-06-28 09:19:39.058298688 +0200
@@ -2709,12 +2709,12 @@
&& (sec->flags & SEC_READONLY) != 0) && (sec->flags & SEC_READONLY) != 0)
{ {
/* FIXME: How do we make this optionally a warning only? */ /* FIXME: How do we make this optionally a warning only? */

View File

@ -1,8 +1,6 @@
Index: binutils-2.17/ld/configure.tgt --- a/ld/configure.tgt
=================================================================== +++ b/ld/configure.tgt
--- binutils-2.17.orig/ld/configure.tgt 2008-06-06 20:41:04.000000000 +0100 @@ -92,8 +92,10 @@ cr16c-*-elf*) targ_emul=elf32c
+++ binutils-2.17/ld/configure.tgt 2008-06-06 20:40:23.000000000 +0100
@@ -92,8 +92,10 @@
cris-*-*aout*) targ_emul=crisaout cris-*-*aout*) targ_emul=crisaout
targ_extra_emuls="criself crislinux" targ_extra_emuls="criself crislinux"
targ_extra_libpath=$targ_extra_emuls ;; targ_extra_libpath=$targ_extra_emuls ;;

View File

@ -57,11 +57,9 @@ Andreas.
* read.c (read_a_source_file): Ignore unknown text after line * read.c (read_a_source_file): Ignore unknown text after line
comment character. Fix misleading comment. comment character. Fix misleading comment.
Index: binutils-2.17/gas/read.c --- a/gas/read.c
=================================================================== +++ b/gas/read.c
--- binutils-2.17.orig/gas/read.c 2007-06-28 09:19:34.031062944 +0200 @@ -1008,10 +1008,14 @@ read_a_source_file (char *name)
+++ binutils-2.17/gas/read.c 2007-06-28 09:19:39.244270416 +0200
@@ -1008,10 +1008,14 @@
unsigned int new_length; unsigned int new_length;
char *tmp_buf = 0; char *tmp_buf = 0;
@ -78,7 +76,7 @@ Index: binutils-2.17/gas/read.c
s += 4; s += 4;
sb_new (&sbuf); sb_new (&sbuf);
@@ -1110,7 +1114,7 @@ @@ -1110,7 +1114,7 @@ read_a_source_file (char *name)
continue; continue;
#endif #endif
input_line_pointer--; input_line_pointer--;