binutils: refresh patches for binutils 2.17
SVN-Revision: 14587
This commit is contained in:
parent
668860c98f
commit
da99fcd35a
12 changed files with 318 additions and 483 deletions
|
@ -1,6 +1,6 @@
|
|||
--- binutils-2.17/config.sub.orig 2008-05-15 22:28:28.000000000 -0500
|
||||
+++ binutils-2.17/config.sub 2008-05-15 22:28:11.000000000 -0500
|
||||
@@ -240,7 +240,7 @@
|
||||
--- a/config.sub
|
||||
+++ b/config.sub
|
||||
@@ -240,7 +240,7 @@ case $basic_machine in
|
||||
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
||||
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
||||
| am33_2.0 \
|
||||
|
@ -9,7 +9,7 @@
|
|||
| bfin \
|
||||
| c4x | clipper \
|
||||
| d10v | d30v | dlx | dsp16xx \
|
||||
@@ -317,7 +317,7 @@
|
||||
@@ -317,7 +317,7 @@ case $basic_machine in
|
||||
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
|
||||
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
||||
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
Index: binutils-2.17/bfd/configure
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/bfd/configure 2007-06-28 09:19:34.892931920 +0200
|
||||
+++ binutils-2.17/bfd/configure 2007-06-28 09:19:35.023912008 +0200
|
||||
@@ -3576,7 +3576,7 @@
|
||||
--- a/bfd/configure
|
||||
+++ b/bfd/configure
|
||||
@@ -3576,7 +3576,7 @@ irix5* | irix6*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
|
@ -11,11 +9,9 @@ Index: binutils-2.17/bfd/configure
|
|||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
Index: binutils-2.17/binutils/configure
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/binutils/configure 2007-06-28 09:19:34.898931008 +0200
|
||||
+++ binutils-2.17/binutils/configure 2007-06-28 09:19:35.028911248 +0200
|
||||
@@ -3411,7 +3411,7 @@
|
||||
--- a/binutils/configure
|
||||
+++ b/binutils/configure
|
||||
@@ -3411,7 +3411,7 @@ irix5* | irix6*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
|
@ -24,11 +20,9 @@ Index: binutils-2.17/binutils/configure
|
|||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
Index: binutils-2.17/configure
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/configure 2007-06-28 09:19:34.903930248 +0200
|
||||
+++ binutils-2.17/configure 2007-06-28 09:19:35.030910944 +0200
|
||||
@@ -1276,7 +1276,7 @@
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -1276,7 +1276,7 @@ case "${target}" in
|
||||
am33_2.0-*-linux*)
|
||||
noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
|
||||
;;
|
||||
|
@ -37,7 +31,7 @@ Index: binutils-2.17/configure
|
|||
noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
|
||||
;;
|
||||
sh*-*-pe|mips*-*-pe|*arm-wince-pe)
|
||||
@@ -1584,7 +1584,7 @@
|
||||
@@ -1584,7 +1584,7 @@ case "${target}" in
|
||||
romp-*-*)
|
||||
noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
|
||||
;;
|
||||
|
@ -46,11 +40,9 @@ Index: binutils-2.17/configure
|
|||
case "${host}" in
|
||||
i[3456789]86-*-vsta) ;; # don't add gprof back in
|
||||
i[3456789]86-*-go32*) ;; # don't add gprof back in
|
||||
Index: binutils-2.17/configure.in
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/configure.in 2007-06-28 09:19:34.909929336 +0200
|
||||
+++ binutils-2.17/configure.in 2007-06-28 09:19:35.031910792 +0200
|
||||
@@ -468,7 +468,7 @@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -468,7 +468,7 @@ case "${target}" in
|
||||
am33_2.0-*-linux*)
|
||||
noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
|
||||
;;
|
||||
|
@ -59,7 +51,7 @@ Index: binutils-2.17/configure.in
|
|||
noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
|
||||
;;
|
||||
sh*-*-pe|mips*-*-pe|*arm-wince-pe)
|
||||
@@ -776,7 +776,7 @@
|
||||
@@ -776,7 +776,7 @@ case "${target}" in
|
||||
romp-*-*)
|
||||
noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
|
||||
;;
|
||||
|
@ -68,11 +60,9 @@ Index: binutils-2.17/configure.in
|
|||
case "${host}" in
|
||||
i[[3456789]]86-*-vsta) ;; # don't add gprof back in
|
||||
i[[3456789]]86-*-go32*) ;; # don't add gprof back in
|
||||
Index: binutils-2.17/gas/configure
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/gas/configure 2007-06-28 09:19:34.915928424 +0200
|
||||
+++ binutils-2.17/gas/configure 2007-06-28 09:19:35.035910184 +0200
|
||||
@@ -3411,7 +3411,7 @@
|
||||
--- a/gas/configure
|
||||
+++ b/gas/configure
|
||||
@@ -3411,7 +3411,7 @@ irix5* | irix6*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
|
@ -81,11 +71,9 @@ Index: binutils-2.17/gas/configure
|
|||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
Index: binutils-2.17/gprof/configure
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/gprof/configure 2007-06-28 09:19:34.921927512 +0200
|
||||
+++ binutils-2.17/gprof/configure 2007-06-28 09:19:35.042909120 +0200
|
||||
@@ -3414,6 +3414,11 @@
|
||||
--- a/gprof/configure
|
||||
+++ b/gprof/configure
|
||||
@@ -3414,6 +3414,11 @@ linux-gnu*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
|
@ -97,11 +85,9 @@ Index: binutils-2.17/gprof/configure
|
|||
netbsd* | knetbsd*-gnu)
|
||||
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
||||
lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
|
||||
Index: binutils-2.17/ld/configure
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/ld/configure 2007-06-28 09:19:34.927926600 +0200
|
||||
+++ binutils-2.17/ld/configure 2007-06-28 09:19:35.046908512 +0200
|
||||
@@ -3413,7 +3413,7 @@
|
||||
--- a/ld/configure
|
||||
+++ b/ld/configure
|
||||
@@ -3413,7 +3413,7 @@ irix5* | irix6*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
|
@ -110,11 +96,9 @@ Index: binutils-2.17/ld/configure
|
|||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
Index: binutils-2.17/libtool.m4
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/libtool.m4 2007-06-28 09:19:34.933925688 +0200
|
||||
+++ binutils-2.17/libtool.m4 2007-06-28 09:19:35.047908360 +0200
|
||||
@@ -739,7 +739,7 @@
|
||||
--- a/libtool.m4
|
||||
+++ b/libtool.m4
|
||||
@@ -739,7 +739,7 @@ irix5* | irix6*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
|
@ -123,11 +107,9 @@ Index: binutils-2.17/libtool.m4
|
|||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
Index: binutils-2.17/ltconfig
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/ltconfig 2007-06-28 09:19:34.939924776 +0200
|
||||
+++ binutils-2.17/ltconfig 2007-06-28 09:19:35.048908208 +0200
|
||||
@@ -602,6 +602,7 @@
|
||||
--- a/ltconfig
|
||||
+++ b/ltconfig
|
||||
@@ -602,6 +602,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-
|
||||
|
||||
# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
|
||||
case $host_os in
|
||||
|
@ -135,7 +117,7 @@ Index: binutils-2.17/ltconfig
|
|||
linux-gnu*) ;;
|
||||
linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
|
||||
esac
|
||||
@@ -1247,7 +1248,7 @@
|
||||
@@ -1247,7 +1248,7 @@ linux-gnuoldld* | linux-gnuaout* | linux
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
|
@ -144,11 +126,9 @@ Index: binutils-2.17/ltconfig
|
|||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
Index: binutils-2.17/opcodes/configure
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/opcodes/configure 2007-06-28 09:19:34.946923712 +0200
|
||||
+++ binutils-2.17/opcodes/configure 2007-06-28 09:19:35.051907752 +0200
|
||||
@@ -3579,7 +3579,7 @@
|
||||
--- a/opcodes/configure
|
||||
+++ b/opcodes/configure
|
||||
@@ -3579,7 +3579,7 @@ irix5* | irix6*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
Index: binutils-2.17/configure
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/configure 2007-06-28 09:19:35.030910944 +0200
|
||||
+++ binutils-2.17/configure 2007-06-28 09:19:35.592825520 +0200
|
||||
@@ -1305,7 +1305,7 @@
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -1305,7 +1305,7 @@ case "${target}" in
|
||||
arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* )
|
||||
noconfigdirs="$noconfigdirs target-libffi target-qthreads"
|
||||
;;
|
||||
|
@ -11,11 +9,9 @@ Index: binutils-2.17/configure
|
|||
noconfigdirs="$noconfigdirs target-libffi target-qthreads"
|
||||
noconfigdirs="$noconfigdirs target-libjava target-libobjc"
|
||||
;;
|
||||
Index: binutils-2.17/configure.in
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/configure.in 2007-06-28 09:19:35.031910792 +0200
|
||||
+++ binutils-2.17/configure.in 2007-06-28 09:19:35.593825368 +0200
|
||||
@@ -497,7 +497,7 @@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -497,7 +497,7 @@ case "${target}" in
|
||||
arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* )
|
||||
noconfigdirs="$noconfigdirs target-libffi target-qthreads"
|
||||
;;
|
||||
|
|
|
@ -26,11 +26,9 @@ esac
|
|||
exit 0
|
||||
|
||||
@DPATCH@
|
||||
Index: binutils-2.17/ld/Makefile.am
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/ld/Makefile.am 2007-06-28 09:19:34.837940280 +0200
|
||||
+++ binutils-2.17/ld/Makefile.am 2007-06-28 09:19:35.795794664 +0200
|
||||
@@ -20,7 +20,7 @@
|
||||
--- a/ld/Makefile.am
|
||||
+++ b/ld/Makefile.am
|
||||
@@ -20,7 +20,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
|
||||
# We put the scripts in the directory $(scriptdir)/ldscripts.
|
||||
# We can't put the scripts in $(datadir) because the SEARCH_DIR
|
||||
# directives need to be different for native and cross linkers.
|
||||
|
@ -39,11 +37,9 @@ Index: binutils-2.17/ld/Makefile.am
|
|||
|
||||
EMUL = @EMUL@
|
||||
EMULATION_OFILES = @EMULATION_OFILES@
|
||||
Index: binutils-2.17/ld/Makefile.in
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/ld/Makefile.in 2007-06-28 09:19:34.844939216 +0200
|
||||
+++ binutils-2.17/ld/Makefile.in 2007-06-28 09:19:35.796794512 +0200
|
||||
@@ -269,7 +269,7 @@
|
||||
--- a/ld/Makefile.in
|
||||
+++ b/ld/Makefile.in
|
||||
@@ -269,7 +269,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
|
||||
# We put the scripts in the directory $(scriptdir)/ldscripts.
|
||||
# We can't put the scripts in $(datadir) because the SEARCH_DIR
|
||||
# directives need to be different for native and cross linkers.
|
||||
|
|
|
@ -24,11 +24,9 @@ esac
|
|||
exit 0
|
||||
|
||||
@DPATCH@
|
||||
Index: binutils-2.17/bfd/opncls.c
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/bfd/opncls.c 2007-06-28 09:19:34.818943168 +0200
|
||||
+++ binutils-2.17/bfd/opncls.c 2007-06-28 09:19:35.993764568 +0200
|
||||
@@ -158,6 +158,13 @@
|
||||
--- a/bfd/opncls.c
|
||||
+++ b/bfd/opncls.c
|
||||
@@ -158,6 +158,13 @@ bfd_fopen (const char *filename, const c
|
||||
{
|
||||
bfd *nbfd;
|
||||
const bfd_target *target_vec;
|
||||
|
|
|
@ -24,11 +24,9 @@ esac
|
|||
exit 0
|
||||
|
||||
@DPATCH@
|
||||
Index: binutils-2.17/ld/emultempl/elf32.em
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/ld/emultempl/elf32.em 2007-06-28 09:19:34.796946512 +0200
|
||||
+++ binutils-2.17/ld/emultempl/elf32.em 2007-06-28 09:19:36.178736448 +0200
|
||||
@@ -970,6 +970,8 @@
|
||||
--- a/ld/emultempl/elf32.em
|
||||
+++ b/ld/emultempl/elf32.em
|
||||
@@ -970,6 +970,8 @@ cat >>e${EMULATION_NAME}.c <<EOF
|
||||
&& command_line.rpath == NULL)
|
||||
{
|
||||
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,
|
||||
force))
|
||||
break;
|
||||
@@ -1154,6 +1156,8 @@
|
||||
@@ -1154,6 +1156,8 @@ gld${EMULATION_NAME}_before_allocation (
|
||||
rpath = command_line.rpath;
|
||||
if (rpath == NULL)
|
||||
rpath = (const char *) getenv ("LD_RUN_PATH");
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
Index: binutils-2.17/bfd/elf32-mips.c
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/bfd/elf32-mips.c 2007-06-28 09:19:34.774949856 +0200
|
||||
+++ binutils-2.17/bfd/elf32-mips.c 2007-06-28 09:19:36.366707872 +0200
|
||||
@@ -1617,7 +1617,7 @@
|
||||
--- a/bfd/elf32-mips.c
|
||||
+++ b/bfd/elf32-mips.c
|
||||
@@ -1617,7 +1617,7 @@ static const struct ecoff_debug_swap mip
|
||||
|
||||
/* 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. */
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,8 +1,6 @@
|
|||
Index: a/gas/config/tc-avr32.c
|
||||
===================================================================
|
||||
--- a/gas/config/tc-avr32.c (revision 31496)
|
||||
+++ b/gas/config/tc-avr32.c (revision 32014)
|
||||
@@ -3092,6 +3092,8 @@
|
||||
--- a/gas/config/tc-avr32.c
|
||||
+++ b/gas/config/tc-avr32.c
|
||||
@@ -3092,6 +3092,8 @@ static void s_cpool(int arg ATTRIBUTE_UN
|
||||
|
||||
/* Make sure the constant pool is properly aligned */
|
||||
frag_align_code(2, 0);
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
Index: binutils-2.17/bfd/elf32-cris.c
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/bfd/elf32-cris.c 2007-06-28 09:19:34.053059600 +0200
|
||||
+++ binutils-2.17/bfd/elf32-cris.c 2007-06-28 09:19:39.058298688 +0200
|
||||
@@ -2709,12 +2709,12 @@
|
||||
--- a/bfd/elf32-cris.c
|
||||
+++ b/bfd/elf32-cris.c
|
||||
@@ -2709,12 +2709,12 @@ cris_elf_check_relocs (abfd, info, sec,
|
||||
&& (sec->flags & SEC_READONLY) != 0)
|
||||
{
|
||||
/* FIXME: How do we make this optionally a warning only? */
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
Index: binutils-2.17/ld/configure.tgt
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/ld/configure.tgt 2008-06-06 20:41:04.000000000 +0100
|
||||
+++ binutils-2.17/ld/configure.tgt 2008-06-06 20:40:23.000000000 +0100
|
||||
@@ -92,8 +92,10 @@
|
||||
--- a/ld/configure.tgt
|
||||
+++ b/ld/configure.tgt
|
||||
@@ -92,8 +92,10 @@ cr16c-*-elf*) targ_emul=elf32c
|
||||
cris-*-*aout*) targ_emul=crisaout
|
||||
targ_extra_emuls="criself crislinux"
|
||||
targ_extra_libpath=$targ_extra_emuls ;;
|
||||
|
|
|
@ -57,11 +57,9 @@ Andreas.
|
|||
* read.c (read_a_source_file): Ignore unknown text after line
|
||||
comment character. Fix misleading comment.
|
||||
|
||||
Index: binutils-2.17/gas/read.c
|
||||
===================================================================
|
||||
--- binutils-2.17.orig/gas/read.c 2007-06-28 09:19:34.031062944 +0200
|
||||
+++ binutils-2.17/gas/read.c 2007-06-28 09:19:39.244270416 +0200
|
||||
@@ -1008,10 +1008,14 @@
|
||||
--- a/gas/read.c
|
||||
+++ b/gas/read.c
|
||||
@@ -1008,10 +1008,14 @@ read_a_source_file (char *name)
|
||||
unsigned int new_length;
|
||||
char *tmp_buf = 0;
|
||||
|
||||
|
@ -78,7 +76,7 @@ Index: binutils-2.17/gas/read.c
|
|||
s += 4;
|
||||
|
||||
sb_new (&sbuf);
|
||||
@@ -1110,7 +1114,7 @@
|
||||
@@ -1110,7 +1114,7 @@ read_a_source_file (char *name)
|
||||
continue;
|
||||
#endif
|
||||
input_line_pointer--;
|
||||
|
|
Loading…
Reference in a new issue