summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-02-01 01:00:15 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-02 22:37:40 +0000
commitd4b11e8f160350e4530e174d2c93e06fe90e48c6 (patch)
tree7e253c46b998de7a55ad6e8c22dfcc12733ab671 /meta
parenta42f84682fb0522beacfb445ccfd482fe536d629 (diff)
downloadpoky-d4b11e8f160350e4530e174d2c93e06fe90e48c6.tar.gz
binutils: Upgrade to 2.24
This builds and runs images for all qemu machines (From OE-Core rev: 015eca84f1b0f25868b47d2480bb60cea698f70e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/distro/include/tcmode-default.inc2
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-config-tc-ppc.c-PPC_VLE_SPLIT16A-Delete-unused-macro.patch122
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-config-tc-ppc.c-md_assemble-Do-not-generate-APUinfo-.patch46
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-doc-binutils.texi-elfedit-Fix-use-of-itemx-in-table.patch68
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-emultempl-elf32.em-gld-EMULATION_NAME-_before_alloca.patch31
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-ld.texinfo-Replace-with-when-it-is-part-of-the-text.patch196
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.23.2/backport/0002-config-tc-ppc.c-md_apply_fix-Sign-extend-fieldval-un.patch85
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.23.2/backport/0002-emultempl-elf32.em-gld-EMULATION_NAME-_before_alloca.patch43
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.23.2/backport/0003-gold.patch203
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.23.2/backport/aarch64-crn.patch117
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.23.2/backport/aarch64-movi.patch144
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.23.2/backport/binutils-fix-ineffectual-zero-of-cache.patch60
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.23.2/backport/binutils-fix-skip-whitespace-pr14887.patch50
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.23.2/backport/binutils-replace-strncat-with-strcat.patch26
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.23.2/binutils-fix-over-array-bounds-issue.patch20
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.23.2/binutils-x86_64_i386_biarch.patch29
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.23.2/binutils-xlp-support.patch398
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.24.inc (renamed from meta/recipes-devtools/binutils/binutils-2.23.2.inc)26
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-canadian_2.24.bb (renamed from meta/recipes-devtools/binutils/binutils-cross-canadian_2.23.2.bb)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross_2.24.bb (renamed from meta/recipes-devtools/binutils/binutils-cross_2.23.2.bb)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-crosssdk_2.24.bb (renamed from meta/recipes-devtools/binutils/binutils-crosssdk_2.23.2.bb)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-armv5e.patch (renamed from meta/recipes-devtools/binutils/binutils-2.23.2/binutils-armv5e.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-poison.patch (renamed from meta/recipes-devtools/binutils/binutils-2.23.2/binutils-poison.patch)88
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch (renamed from meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-100-uclibc-conf.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch (renamed from meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-300-001_ld_makefile_patch.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch (renamed from meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-300-006_better_file_error.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch (renamed from meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-300-012_check_ldrunpath_length.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch (renamed from meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-gas-needs-libm.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-xlp-support.patch402
-rw-r--r--meta/recipes-devtools/binutils/binutils/fix-pr15815.patch36
-rw-r--r--meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch (renamed from meta/recipes-devtools/binutils/binutils-2.23.2/libiberty_path_fix.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch (renamed from meta/recipes-devtools/binutils/binutils-2.23.2/libtool-2.4-update.patch)1096
-rw-r--r--meta/recipes-devtools/binutils/binutils/libtool-rpath-fix.patch (renamed from meta/recipes-devtools/binutils/binutils-2.23.2/libtool-rpath-fix.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/mips64-default-ld-emulation.patch (renamed from meta/recipes-devtools/binutils/binutils-2.23.2/mips64-default-ld-emulation.patch)41
-rw-r--r--meta/recipes-devtools/binutils/binutils/relocatable_sdk.patch (renamed from meta/recipes-devtools/binutils/binutils-2.23.2/relocatable_sdk.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.24.bb (renamed from meta/recipes-devtools/binutils/binutils_2.23.2.bb)6
36 files changed, 1017 insertions, 2318 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index fb41d5e1f7..1805da7b42 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -19,7 +19,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
19 19
20GCCVERSION ?= "4.8%" 20GCCVERSION ?= "4.8%"
21SDKGCCVERSION ?= "${GCCVERSION}" 21SDKGCCVERSION ?= "${GCCVERSION}"
22BINUVERSION ?= "2.23.2" 22BINUVERSION ?= "2.24"
23EGLIBCVERSION ?= "2.18" 23EGLIBCVERSION ?= "2.18"
24UCLIBCVERSION ?= "0.9.33+git%" 24UCLIBCVERSION ?= "0.9.33+git%"
25LINUXLIBCVERSION ?= "3.10" 25LINUXLIBCVERSION ?= "3.10"
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-config-tc-ppc.c-PPC_VLE_SPLIT16A-Delete-unused-macro.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-config-tc-ppc.c-PPC_VLE_SPLIT16A-Delete-unused-macro.patch
deleted file mode 100644
index 6057ad5717..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-config-tc-ppc.c-PPC_VLE_SPLIT16A-Delete-unused-macro.patch
+++ /dev/null
@@ -1,122 +0,0 @@
1config/tc-ppc.c (PPC_VLE_SPLIT16A): Delete unused macro.
2 (PPC_VLE_SPLIT16D, PPC_VLE_LO16A, PPC_VLE_LO16D):
3 Likewise. (PPC_VLE_HI16A, PPC_VLE_HI16D):
4 Likewise. (PPC_VLE_HA16A, PPC_VLE_HA16D):
5 Likewise. (md_apply_fix):
6 Set fx_no_overflow for assorted relocations.
7 Shift and sign-extend fieldval for use by some VLE reloc
8 operand->insert functions.
9
10Upstream-Status: Backport
11
12Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
13
14commit ee75ce72fd7a4b2dc47db46acc36905da8904be4
15Author: Alan Modra <amodra@bigpond.net.au>
16Date: Mon May 6 23:36:48 2013 +0000
17
18--- binutils-2.23.2/gas/config/tc-ppc.c.orig 2013-06-02 21:44:34.000000000 -0500
19+++ binutils-2.23.2/gas/config/tc-ppc.c 2013-06-02 21:51:37.000000000 -0500
20@@ -64,40 +64,14 @@
21 /* #lo(value) denotes the least significant 16 bits of the indicated. */
22 #define PPC_LO(v) ((v) & 0xffff)
23
24-/* Split the indicated value with the msbs in bits 11-15
25- and the lsbs in bits 21-31. */
26-#define PPC_VLE_SPLIT16A(v) ((v & 0xf800) << 11) | (v & 0x7ff)
27-
28-/* Split the indicated value with the msbs in bits 6-10
29- and the lsbs in bits 21-31. */
30-#define PPC_VLE_SPLIT16D(v) ((v & 0xf800) << 5) | (v & 0x7ff)
31-
32-/* #lo(value) denotes the lsb 16 bits in split16a format. */
33-#define PPC_VLE_LO16A(v) PPC_VLE_SPLIT16A(PPC_LO(v))
34-
35-/* #lo(value) denotes the lsb 16 bits in split16d format. */
36-#define PPC_VLE_LO16D(v) PPC_VLE_SPLIT16D(PPC_LO(v))
37-
38 /* #hi(value) denotes bits 16 through 31 of the indicated value. */
39 #define PPC_HI(v) (((v) >> 16) & 0xffff)
40
41-/* #lo(value) denotes the msb 16 bits in split16a format. */
42-#define PPC_VLE_HI16A(v) PPC_VLE_SPLIT16A(PPC_HI(v))
43-
44-/* #lo(value) denotes the msb 16 bits in split16d format. */
45-#define PPC_VLE_HI16D(v) PPC_VLE_SPLIT16D(PPC_HI(v))
46-
47 /* #ha(value) denotes the high adjusted value: bits 16 through 31 of
48 the indicated value, compensating for #lo() being treated as a
49 signed number. */
50 #define PPC_HA(v) PPC_HI ((v) + 0x8000)
51
52-/* #ha(value) denotes the high adjusted value in split16a format. */
53-#define PPC_VLE_HA16A(v) PPC_VLE_SPLIT16A(PPC_HA(v))
54-
55-/* #ha(value) denotes the high adjusted value in split16d format. */
56-#define PPC_VLE_HA16D(v) PPC_VLE_SPLIT16D(PPC_HA(v))
57-
58 /* #higher(value) denotes bits 32 through 47 of the indicated value. */
59 #define PPC_HIGHER(v) (((v) >> 16 >> 16) & 0xffff)
60
61@@ -6379,7 +6353,10 @@
62 fixP->fx_r_type = BFD_RELOC_LO16_PCREL;
63 /* fall through */
64 case BFD_RELOC_LO16_PCREL:
65+ case BFD_RELOC_PPC_VLE_LO16A:
66+ case BFD_RELOC_PPC_VLE_LO16D:
67 fieldval = SEX16 (value);
68+ fixP->fx_no_overflow = 1;
69 break;
70
71 case BFD_RELOC_HI16:
72@@ -6387,7 +6364,10 @@
73 fixP->fx_r_type = BFD_RELOC_HI16_PCREL;
74 /* fall through */
75 case BFD_RELOC_HI16_PCREL:
76+ case BFD_RELOC_PPC_VLE_HI16A:
77+ case BFD_RELOC_PPC_VLE_HI16D:
78 fieldval = SEX16 (PPC_HI (value));
79+ fixP->fx_no_overflow = 1;
80 break;
81
82 case BFD_RELOC_HI16_S:
83@@ -6395,7 +6375,10 @@
84 fixP->fx_r_type = BFD_RELOC_HI16_S_PCREL;
85 /* fall through */
86 case BFD_RELOC_HI16_S_PCREL:
87+ case BFD_RELOC_PPC_VLE_HA16A:
88+ case BFD_RELOC_PPC_VLE_HA16D:
89 fieldval = SEX16 (PPC_HA (value));
90+ fixP->fx_no_overflow = 1;
91 break;
92
93 #ifdef OBJ_ELF
94@@ -6403,24 +6386,28 @@
95 if (fixP->fx_pcrel)
96 goto bad_pcrel;
97 fieldval = SEX16 (PPC_HIGHER (value));
98+ fixP->fx_no_overflow = 1;
99 break;
100
101 case BFD_RELOC_PPC64_HIGHER_S:
102 if (fixP->fx_pcrel)
103 goto bad_pcrel;
104 fieldval = SEX16 (PPC_HIGHERA (value));
105+ fixP->fx_no_overflow = 1;
106 break;
107
108 case BFD_RELOC_PPC64_HIGHEST:
109 if (fixP->fx_pcrel)
110 goto bad_pcrel;
111 fieldval = SEX16 (PPC_HIGHEST (value));
112+ fixP->fx_no_overflow = 1;
113 break;
114
115 case BFD_RELOC_PPC64_HIGHEST_S:
116 if (fixP->fx_pcrel)
117 goto bad_pcrel;
118 fieldval = SEX16 (PPC_HIGHESTA (value));
119+ fixP->fx_no_overflow = 1;
120 break;
121
122 /* The following relocs can't be calculated by the assembler.
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-config-tc-ppc.c-md_assemble-Do-not-generate-APUinfo-.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-config-tc-ppc.c-md_assemble-Do-not-generate-APUinfo-.patch
deleted file mode 100644
index 55bbc6a6e7..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-config-tc-ppc.c-md_assemble-Do-not-generate-APUinfo-.patch
+++ /dev/null
@@ -1,46 +0,0 @@
1The powerpc assembler can generate .PPC.EMB.apuinfo sections in some
2circumstances. These originate, I think, from the old e500 ABI; in
3any case, they are only defined for 32-bit ABIs, and there is a
4significant amount of code in bfd/elf32-ppc.c to handle them
5appropriately, none of which is in elf64-ppc.c. However, the
6assembler can generate them when building 64-bit code for processors
7such as e5500 (which uses PPC_OPCODE_E500MC). In such circumstances,
8they get generated as PROGBITS rather than NOTE sections, which
9reportedly can cause problems in a Linux kernel build.
10
11Since these sections are only defined in 32-bit ABIs, I think it's
12most appropriate to avoid generating them for 64-bit output, which
13this patch does.
14
15Upstream-Status: Backport
16
17-Khem 2013/03/25
18
19From d77411f56a85225e3f7b674e7172c712f6cd61cb Mon Sep 17 00:00:00 2001
20From: Joseph Myers <joseph@codesourcery.com>
21Date: Fri, 25 Jan 2013 02:02:20 +0000
22Subject: [PATCH] * config/tc-ppc.c (md_assemble): Do not generate
23 APUinfo sections for 64-bit output.
24
25---
26 gas/ChangeLog | 5 +++++
27 gas/config/tc-ppc.c | 3 ++-
28 2 files changed, 7 insertions(+), 1 deletion(-)
29
30diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
31index fd15bea..0929e52 100644
32--- a/gas/config/tc-ppc.c
33+++ b/gas/config/tc-ppc.c
34@@ -3249,7 +3249,8 @@ md_assemble (char *str)
35
36 #ifdef OBJ_ELF
37 /* Do we need/want an APUinfo section? */
38- if ((ppc_cpu & (PPC_OPCODE_E500 | PPC_OPCODE_E500MC | PPC_OPCODE_VLE)) != 0)
39+ if ((ppc_cpu & (PPC_OPCODE_E500 | PPC_OPCODE_E500MC | PPC_OPCODE_VLE)) != 0
40+ && !ppc_obj64)
41 {
42 /* These are all version "1". */
43 if (opcode->flags & PPC_OPCODE_SPE)
44--
451.7.9.5
46
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-doc-binutils.texi-elfedit-Fix-use-of-itemx-in-table.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-doc-binutils.texi-elfedit-Fix-use-of-itemx-in-table.patch
deleted file mode 100644
index 97a40a2a42..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-doc-binutils.texi-elfedit-Fix-use-of-itemx-in-table.patch
+++ /dev/null
@@ -1,68 +0,0 @@
1From e02bf9359f6ef7fe4d341aa5ac4f397f541b9ac3 Mon Sep 17 00:00:00 2001
2From: Andreas Schwab <schwab@linux-m68k.org>
3Date: Fri, 4 Jan 2013 22:27:57 +0000
4Subject: [PATCH] * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
5
6---
7 binutils/ChangeLog | 4 ++++
8 binutils/doc/binutils.texi | 14 +++++++-------
9 2 files changed, 11 insertions(+), 7 deletions(-)
10
11Upstream-Status: Backport
12Index: binutils-2.23.1/binutils/doc/binutils.texi
13===================================================================
14--- binutils-2.23.1.orig/binutils/doc/binutils.texi 2012-05-11 11:18:34.000000000 -0700
15+++ binutils-2.23.1/binutils/doc/binutils.texi 2013-02-26 12:41:51.785114224 -0800
16@@ -12,7 +12,7 @@
17 @c man begin COPYRIGHT
18 Copyright @copyright{} 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
19 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
20-2010, 2011, 2012
21+2010, 2011, 2012, 2013
22 Free Software Foundation, Inc.
23
24 Permission is granted to copy, distribute and/or modify this document
25@@ -4375,7 +4375,7 @@
26
27 @table @env
28
29-@itemx --input-mach=@var{machine}
30+@item --input-mach=@var{machine}
31 Set the matching input ELF machine type to @var{machine}. If
32 @option{--input-mach} isn't specified, it will match any ELF
33 machine types.
34@@ -4383,21 +4383,21 @@
35 The supported ELF machine types are, @var{L1OM}, @var{K1OM} and
36 @var{x86-64}.
37
38-@itemx --output-mach=@var{machine}
39+@item --output-mach=@var{machine}
40 Change the ELF machine type in the ELF header to @var{machine}. The
41 supported ELF machine types are the same as @option{--input-mach}.
42
43-@itemx --input-type=@var{type}
44+@item --input-type=@var{type}
45 Set the matching input ELF file type to @var{type}. If
46 @option{--input-type} isn't specified, it will match any ELF file types.
47
48 The supported ELF file types are, @var{rel}, @var{exec} and @var{dyn}.
49
50-@itemx --output-type=@var{type}
51+@item --output-type=@var{type}
52 Change the ELF file type in the ELF header to @var{type}. The
53 supported ELF types are the same as @option{--input-type}.
54
55-@itemx --input-osabi=@var{osabi}
56+@item --input-osabi=@var{osabi}
57 Set the matching input ELF file OSABI to @var{osabi}. If
58 @option{--input-osabi} isn't specified, it will match any ELF OSABIs.
59
60@@ -4407,7 +4407,7 @@
61 @var{FreeBSD}, @var{TRU64}, @var{Modesto}, @var{OpenBSD}, @var{OpenVMS},
62 @var{NSK}, @var{AROS} and @var{FenixOS}.
63
64-@itemx --output-osabi=@var{osabi}
65+@item --output-osabi=@var{osabi}
66 Change the ELF OSABI in the ELF header to @var{osabi}. The
67 supported ELF OSABI are the same as @option{--input-osabi}.
68
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-emultempl-elf32.em-gld-EMULATION_NAME-_before_alloca.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-emultempl-elf32.em-gld-EMULATION_NAME-_before_alloca.patch
deleted file mode 100644
index 050450fae2..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-emultempl-elf32.em-gld-EMULATION_NAME-_before_alloca.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 4c147afe1796611c431aa86ea12342c1d80c2c4b Mon Sep 17 00:00:00 2001
2From: "Maciej W. Rozycki" <macro@linux-mips.org>
3Date: Wed, 1 May 2013 17:18:43 +0000
4Subject: [PATCH] * emultempl/elf32.em
5 (gld${EMULATION_NAME}_before_allocation): Use
6 is_elf_hash_table rather than a handcoded condition.
7
8---
9 ld/ChangeLog | 5 +++++
10 ld/emultempl/elf32.em | 2 +-
11 2 files changed, 6 insertions(+), 1 deletion(-)
12
132013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
14
15 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
16 Use is_elf_hash_table rather than a handcoded condition.
17
18Upstream-Status: Backport
19Index: binutils-2.23.2/ld/emultempl/elf32.em
20===================================================================
21--- binutils-2.23.2.orig/ld/emultempl/elf32.em 2013-06-26 23:29:32.000000000 -0700
22+++ binutils-2.23.2/ld/emultempl/elf32.em 2013-06-26 23:35:45.798428256 -0700
23@@ -1494,7 +1494,7 @@
24 asection *sinterp;
25 bfd *abfd;
26
27- if (link_info.hash->type == bfd_link_elf_hash_table)
28+ if (is_elf_hash_table (link_info.hash))
29 _bfd_elf_tls_setup (link_info.output_bfd, &link_info);
30
31 /* If we are going to make any variable assignments, we need to let
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-ld.texinfo-Replace-with-when-it-is-part-of-the-text.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-ld.texinfo-Replace-with-when-it-is-part-of-the-text.patch
deleted file mode 100644
index 83d27d35bb..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-ld.texinfo-Replace-with-when-it-is-part-of-the-text.patch
+++ /dev/null
@@ -1,196 +0,0 @@
1From 935f85422863b42b6fbca30885885e3fa28eea36 Mon Sep 17 00:00:00 2001
2From: Nick Clifton <nickc@redhat.com>
3Date: Mon, 7 Jan 2013 12:11:11 +0000
4Subject: [PATCH] * ld.texinfo: Replace @ with @@ when it is part of
5 the text. Correct ordering of M68HC11 entry.
6
7 * doc/binutils.texi: Fix ordering of top level nodes.
8 Replace erroneous uses of @itemx with @item.
9
10 * bfd.texinfo: Replace @ with @@ when it is part of the text.
11---
12 bfd/doc/ChangeLog | 4 ++++
13 bfd/doc/bfd.texinfo | 12 +++++++-----
14 binutils/ChangeLog | 5 +++++
15 binutils/doc/binutils.texi | 8 ++++----
16 ld/ChangeLog | 5 +++++
17 ld/ld.texinfo | 26 ++++++++++++++------------
18 6 files changed, 39 insertions(+), 21 deletions(-)
19
20
21Upstream-Status: Backport
22Index: binutils-2.23.1/bfd/doc/bfd.texinfo
23===================================================================
24--- binutils-2.23.1.orig/bfd/doc/bfd.texinfo 2010-10-28 04:40:25.000000000 -0700
25+++ binutils-2.23.1/bfd/doc/bfd.texinfo 2013-02-26 12:42:26.909115020 -0800
26@@ -1,7 +1,7 @@
27 \input texinfo.tex
28 @setfilename bfd.info
29 @c Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1997, 2000,
30-@c 2001, 2002, 2003, 2006, 2007, 2008, 2009
31+@c 2001, 2002, 2003, 2006, 2007, 2008, 2009, 2013
32 @c Free Software Foundation, Inc.
33 @c
34 @synindex fn cp
35@@ -16,7 +16,8 @@
36 @copying
37 This file documents the BFD library.
38
39-Copyright @copyright{} 1991, 2000, 2001, 2003, 2006, 2007, 2008 Free Software Foundation, Inc.
40+Copyright @copyright{} 1991, 2000, 2001, 2003, 2006, 2007, 2008, 2013
41+Free Software Foundation, Inc.
42
43 Permission is granted to copy, distribute and/or modify this document
44 under the terms of the GNU Free Documentation License, Version 1.3 or
45@@ -64,7 +65,8 @@
46 @end tex
47
48 @vskip 0pt plus 1filll
49-Copyright @copyright{} 1991, 2001, 2003, 2006, 2008 Free Software Foundation, Inc.
50+Copyright @copyright{} 1991, 2001, 2003, 2006, 2008, 2013
51+Free Software Foundation, Inc.
52
53 Permission is granted to copy, distribute and/or modify this document
54 under the terms of the GNU Free Documentation License, Version 1.3
55@@ -322,7 +324,7 @@
56 @printindex cp
57
58 @tex
59-% I think something like @colophon should be in texinfo. In the
60+% I think something like @@colophon should be in texinfo. In the
61 % meantime:
62 \long\def\colophon{\hbox to0pt{}\vfill
63 \centerline{The body of this manual is set in}
64@@ -333,7 +335,7 @@
65 \centerline{{\sl\fontname\tensl\/}}
66 \centerline{are used for emphasis.}\vfill}
67 \page\colophon
68-% Blame: doc@cygnus.com, 28mar91.
69+% Blame: doc@@cygnus.com, 28mar91.
70 @end tex
71
72 @bye
73Index: binutils-2.23.1/binutils/doc/binutils.texi
74===================================================================
75--- binutils-2.23.1.orig/binutils/doc/binutils.texi 2013-02-26 12:41:51.000000000 -0800
76+++ binutils-2.23.1/binutils/doc/binutils.texi 2013-02-26 12:42:26.913115010 -0800
77@@ -148,18 +148,18 @@
78 * objcopy:: Copy and translate object files
79 * objdump:: Display information from object files
80 * ranlib:: Generate index to archive contents
81-* readelf:: Display the contents of ELF format files
82 * size:: List section sizes and total size
83 * strings:: List printable strings from files
84 * strip:: Discard symbols
85-* elfedit:: Update the ELF header of ELF files
86 * c++filt:: Filter to demangle encoded C++ symbols
87 * cxxfilt: c++filt. MS-DOS name for c++filt
88 * addr2line:: Convert addresses to file and line
89 * nlmconv:: Converts object code into an NLM
90-* windres:: Manipulate Windows resources
91 * windmc:: Generator for Windows message resources
92+* windres:: Manipulate Windows resources
93 * dlltool:: Create files needed to build and use DLLs
94+* readelf:: Display the contents of ELF format files
95+* elfedit:: Update the ELF header of ELF files
96 * Common Options:: Command-line options for all utilities
97 * Selecting the Target System:: How these utilities determine the target
98 * Reporting Bugs:: Reporting Bugs
99@@ -2898,7 +2898,7 @@
100 @c man end
101 @end ignore
102
103-@node c++filt, addr2line, elfedit, Top
104+@node c++filt, addr2line, strip, Top
105 @chapter c++filt
106
107 @kindex c++filt
108Index: binutils-2.23.1/ld/ld.texinfo
109===================================================================
110--- binutils-2.23.1.orig/ld/ld.texinfo 2013-02-19 14:26:56.571782665 -0800
111+++ binutils-2.23.1/ld/ld.texinfo 2013-02-26 12:45:20.677119476 -0800
112@@ -1,7 +1,8 @@
113 \input texinfo
114 @setfilename ld.info
115 @c Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
116-@c 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
117+@c 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
118+@c 2012, 2013
119 @c Free Software Foundation, Inc.
120 @syncodeindex ky cp
121 @c man begin INCLUDE
122@@ -55,7 +56,8 @@
123 version @value{VERSION}.
124
125 Copyright @copyright{} 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
126-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
127+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012, 2013
128+Free Software Foundation, Inc.
129
130 Permission is granted to copy, distribute and/or modify this document
131 under the terms of the GNU Free Documentation License, Version 1.3
132@@ -93,8 +95,8 @@
133 @vskip 0pt plus 1filll
134 @c man begin COPYRIGHT
135 Copyright @copyright{} 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
136-1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free
137-Software Foundation, Inc.
138+1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
139+2012, 2013 Free Software Foundation, Inc.
140
141 Permission is granted to copy, distribute and/or modify this document
142 under the terms of the GNU Free Documentation License, Version 1.3
143@@ -142,12 +144,12 @@
144 @ifset ARM
145 * ARM:: ld and the ARM family
146 @end ifset
147-@ifset HPPA
148-* HPPA ELF32:: ld and HPPA 32-bit ELF
149-@end ifset
150 @ifset M68HC11
151 * M68HC11/68HC12:: ld and the Motorola 68HC11 and 68HC12 families
152 @end ifset
153+@ifset HPPA
154+* HPPA ELF32:: ld and HPPA 32-bit ELF
155+@end ifset
156 @ifset M68K
157 * M68K:: ld and Motorola 68K family
158 @end ifset
159@@ -6003,6 +6005,9 @@
160 @ifset I960
161 * i960:: @command{ld} and the Intel 960 family
162 @end ifset
163+@ifset M68HC11
164+* M68HC11/68HC12:: @code{ld} and the Motorola 68HC11 and 68HC12 families
165+@end ifset
166 @ifset ARM
167 * ARM:: @command{ld} and the ARM family
168 @end ifset
169@@ -6018,9 +6023,6 @@
170 @ifset MSP430
171 * MSP430:: @command{ld} and MSP430
172 @end ifset
173-@ifset M68HC11
174-* M68HC11/68HC12:: @code{ld} and the Motorola 68HC11 and 68HC12 families
175-@end ifset
176 @ifset POWERPC
177 * PowerPC ELF32:: @command{ld} and PowerPC 32-bit ELF Support
178 @end ifset
179@@ -7868,7 +7870,7 @@
180 @printindex cp
181
182 @tex
183-% I think something like @colophon should be in texinfo. In the
184+% I think something like @@colophon should be in texinfo. In the
185 % meantime:
186 \long\def\colophon{\hbox to0pt{}\vfill
187 \centerline{The body of this manual is set in}
188@@ -7879,7 +7881,7 @@
189 \centerline{{\sl\fontname\tensl\/}}
190 \centerline{are used for emphasis.}\vfill}
191 \page\colophon
192-% Blame: doc@cygnus.com, 28mar91.
193+% Blame: doc@@cygnus.com, 28mar91.
194 @end tex
195
196 @bye
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0002-config-tc-ppc.c-md_apply_fix-Sign-extend-fieldval-un.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0002-config-tc-ppc.c-md_apply_fix-Sign-extend-fieldval-un.patch
deleted file mode 100644
index a62ca4704a..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0002-config-tc-ppc.c-md_apply_fix-Sign-extend-fieldval-un.patch
+++ /dev/null
@@ -1,85 +0,0 @@
1config/tc-ppc.c (md_apply_fix): Sign extend fieldval under control of operand flag bits.
2
3Upstream-Status: Backport
4
5Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
6
7commit cf5434698882f41ddfcc469488e8a68c674aae03
8Author: Alan Modra <amodra@bigpond.net.au>
9Date: Thu May 9 04:01:53 2013 +0000
10
11--- binutils-2.23.2/gas/config/tc-ppc.c.orig 2013-06-02 21:53:24.000000000 -0500
12+++ binutils-2.23.2/gas/config/tc-ppc.c 2013-06-02 22:03:00.000000000 -0500
13@@ -6355,7 +6355,10 @@
14 case BFD_RELOC_LO16_PCREL:
15 case BFD_RELOC_PPC_VLE_LO16A:
16 case BFD_RELOC_PPC_VLE_LO16D:
17- fieldval = SEX16 (value);
18+ fieldval = value & 0xffff;
19+ sign_extend_16:
20+ if ((operand->flags & PPC_OPERAND_SIGNED) != 0)
21+ fieldval = (fieldval ^ 0x8000) - 0x8000;
22 fixP->fx_no_overflow = 1;
23 break;
24
25@@ -6366,9 +6369,8 @@
26 case BFD_RELOC_HI16_PCREL:
27 case BFD_RELOC_PPC_VLE_HI16A:
28 case BFD_RELOC_PPC_VLE_HI16D:
29- fieldval = SEX16 (PPC_HI (value));
30- fixP->fx_no_overflow = 1;
31- break;
32+ fieldval = PPC_HI (value);
33+ goto sign_extend_16;
34
35 case BFD_RELOC_HI16_S:
36 if (fixP->fx_pcrel)
37@@ -6377,38 +6379,33 @@
38 case BFD_RELOC_HI16_S_PCREL:
39 case BFD_RELOC_PPC_VLE_HA16A:
40 case BFD_RELOC_PPC_VLE_HA16D:
41- fieldval = SEX16 (PPC_HA (value));
42- fixP->fx_no_overflow = 1;
43- break;
44+ fieldval = PPC_HA (value);
45+ goto sign_extend_16;
46
47 #ifdef OBJ_ELF
48 case BFD_RELOC_PPC64_HIGHER:
49 if (fixP->fx_pcrel)
50 goto bad_pcrel;
51- fieldval = SEX16 (PPC_HIGHER (value));
52- fixP->fx_no_overflow = 1;
53- break;
54+ fieldval = PPC_HIGHER (value);
55+ goto sign_extend_16;
56
57 case BFD_RELOC_PPC64_HIGHER_S:
58 if (fixP->fx_pcrel)
59 goto bad_pcrel;
60- fieldval = SEX16 (PPC_HIGHERA (value));
61- fixP->fx_no_overflow = 1;
62- break;
63+ fieldval = PPC_HIGHERA (value);
64+ goto sign_extend_16;
65
66 case BFD_RELOC_PPC64_HIGHEST:
67 if (fixP->fx_pcrel)
68 goto bad_pcrel;
69- fieldval = SEX16 (PPC_HIGHEST (value));
70- fixP->fx_no_overflow = 1;
71- break;
72+ fieldval = PPC_HIGHEST (value);
73+ goto sign_extend_16;
74
75 case BFD_RELOC_PPC64_HIGHEST_S:
76 if (fixP->fx_pcrel)
77 goto bad_pcrel;
78- fieldval = SEX16 (PPC_HIGHESTA (value));
79- fixP->fx_no_overflow = 1;
80- break;
81+ fieldval = PPC_HIGHESTA (value);
82+ goto sign_extend_16;
83
84 /* The following relocs can't be calculated by the assembler.
85 Leave the field zero. */
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0002-emultempl-elf32.em-gld-EMULATION_NAME-_before_alloca.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0002-emultempl-elf32.em-gld-EMULATION_NAME-_before_alloca.patch
deleted file mode 100644
index 36e5924d48..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0002-emultempl-elf32.em-gld-EMULATION_NAME-_before_alloca.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1From b0d2b7b6eae7b7f4fbfd1695d4d2f1b45198d597 Mon Sep 17 00:00:00 2001
2From: "Maciej W. Rozycki" <macro@linux-mips.org>
3Date: Fri, 3 May 2013 15:01:19 +0000
4Subject: [PATCH] * emultempl/elf32.em
5 (gld${EMULATION_NAME}_before_allocation): Only call
6 lang_for_each_statement if an ELF hash table is used.
7
8---
9 ld/ChangeLog | 5 +++++
10 ld/emultempl/elf32.em | 12 +++++++-----
11 2 files changed, 12 insertions(+), 5 deletions(-)
12
132013-05-03 Alan Modra <amodra@gmail.com>
14
15 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
16 Only call lang_for_each_statement if an ELF hash table is used.
17
18Upstream-Status: Backport
19
20Index: binutils-2.23.2/ld/emultempl/elf32.em
21===================================================================
22--- binutils-2.23.2.orig/ld/emultempl/elf32.em 2013-06-26 23:35:45.000000000 -0700
23+++ binutils-2.23.2/ld/emultempl/elf32.em 2013-06-26 23:37:04.530429733 -0700
24@@ -1495,12 +1495,14 @@
25 bfd *abfd;
26
27 if (is_elf_hash_table (link_info.hash))
28- _bfd_elf_tls_setup (link_info.output_bfd, &link_info);
29+ {
30+ _bfd_elf_tls_setup (link_info.output_bfd, &link_info);
31
32- /* If we are going to make any variable assignments, we need to let
33- the ELF backend know about them in case the variables are
34- referred to by dynamic objects. */
35- lang_for_each_statement (gld${EMULATION_NAME}_find_statement_assignment);
36+ /* If we are going to make any variable assignments, we need to
37+ let the ELF backend know about them in case the variables are
38+ referred to by dynamic objects. */
39+ lang_for_each_statement (gld${EMULATION_NAME}_find_statement_assignment);
40+ }
41
42 /* Let the ELF backend work out the sizes of any sections required
43 by dynamic linking. */
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0003-gold.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0003-gold.patch
deleted file mode 100644
index 141e66bce2..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/0003-gold.patch
+++ /dev/null
@@ -1,203 +0,0 @@
1From a347c1bd9be53513f60ed0e5f440c1f5cd78dec4 Mon Sep 17 00:00:00 2001
2From: "Maciej W. Rozycki" <macro@linux-mips.org>
3Date: Fri, 3 May 2013 15:19:26 +0000
4Subject: [PATCH] gold/ PR ld/15365 * layout.cc
5 (Layout::finalize): Make __ehdr_start STV_HIDDEN.
6
7 ld/
8 PR ld/15365
9 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
10 Restrict __ehdr_start's export class to no less than STV_HIDDEN.
11
12 ld/testsuite/
13 PR ld/15365
14 * ld-elf/ehdr_start.d: Expect __ehdr_start to be STB_LOCAL.
15 * ld-mips-elf/ehdr_start-1.nd: New test.
16 * ld-mips-elf/ehdr_start-2.nd: New test.
17 * ld-mips-elf/ehdr_start-1.ld: New test linker script.
18 * ld-mips-elf/ehdr_start-2.ld: New test linker script.
19 * ld-mips-elf/ehdr_start-new.s: New test source.
20 * ld-mips-elf/ehdr_start-o32.s: New test source.
21 * ld-mips-elf/mips-elf.exp: Run the new tests.
22---
23 gold/ChangeLog | 5 +++++
24 gold/layout.cc | 2 +-
25 ld/ChangeLog | 6 ++++++
26 ld/emultempl/elf32.em | 7 +++++++
27 ld/testsuite/ChangeLog | 12 ++++++++++++
28 ld/testsuite/ld-elf/ehdr_start.d | 2 +-
29 ld/testsuite/ld-mips-elf/ehdr_start-1.ld | 9 +++++++++
30 ld/testsuite/ld-mips-elf/ehdr_start-1.nd | 4 ++++
31 ld/testsuite/ld-mips-elf/ehdr_start-2.ld | 10 ++++++++++
32 ld/testsuite/ld-mips-elf/ehdr_start-2.nd | 4 ++++
33 ld/testsuite/ld-mips-elf/ehdr_start-new.s | 13 +++++++++++++
34 ld/testsuite/ld-mips-elf/ehdr_start-o32.s | 14 ++++++++++++++
35 ld/testsuite/ld-mips-elf/mips-elf.exp | 25 +++++++++++++++++++++++++
36 13 files changed, 111 insertions(+), 2 deletions(-)
37 create mode 100644 ld/testsuite/ld-mips-elf/ehdr_start-1.ld
38 create mode 100644 ld/testsuite/ld-mips-elf/ehdr_start-1.nd
39 create mode 100644 ld/testsuite/ld-mips-elf/ehdr_start-2.ld
40 create mode 100644 ld/testsuite/ld-mips-elf/ehdr_start-2.nd
41 create mode 100644 ld/testsuite/ld-mips-elf/ehdr_start-new.s
42 create mode 100644 ld/testsuite/ld-mips-elf/ehdr_start-o32.s
43
44Upstream-Status: Backport
45Index: binutils-2.23.2/gold/layout.cc
46===================================================================
47--- binutils-2.23.2.orig/gold/layout.cc 2013-06-26 23:29:32.000000000 -0700
48+++ binutils-2.23.2/gold/layout.cc 2013-06-26 23:39:22.170432315 -0700
49@@ -2516,7 +2516,7 @@
50 symtab->define_in_output_segment("__ehdr_start", NULL,
51 Symbol_table::PREDEFINED, load_seg, 0, 0,
52 elfcpp::STT_NOTYPE, elfcpp::STB_GLOBAL,
53- elfcpp::STV_DEFAULT, 0,
54+ elfcpp::STV_HIDDEN, 0,
55 Symbol::SEGMENT_START, true);
56
57 // Set the file offsets of all the non-data sections we've seen so
58Index: binutils-2.23.2/ld/emultempl/elf32.em
59===================================================================
60--- binutils-2.23.2.orig/ld/emultempl/elf32.em 2013-06-26 23:37:04.000000000 -0700
61+++ binutils-2.23.2/ld/emultempl/elf32.em 2013-06-26 23:39:22.174432315 -0700
62@@ -1498,6 +1498,13 @@
63 {
64 _bfd_elf_tls_setup (link_info.output_bfd, &link_info);
65
66+ /* Make __ehdr_start hidden if it has been referenced, to
67+ prevent the symbol from being dynamic. */
68+ if (!bfd_elf_record_link_assignment (link_info.output_bfd, &link_info,
69+ "__ehdr_start", TRUE, TRUE))
70+ einfo ("%P%F: failed to record assignment to %s: %E\n",
71+ "__ehdr_start");
72+
73 /* If we are going to make any variable assignments, we need to
74 let the ELF backend know about them in case the variables are
75 referred to by dynamic objects. */
76Index: binutils-2.23.2/ld/testsuite/ld-elf/ehdr_start.d
77===================================================================
78--- binutils-2.23.2.orig/ld/testsuite/ld-elf/ehdr_start.d 2013-06-26 23:29:32.000000000 -0700
79+++ binutils-2.23.2/ld/testsuite/ld-elf/ehdr_start.d 2013-06-26 23:39:22.174432315 -0700
80@@ -4,5 +4,5 @@
81 #target: *-*-linux* *-*-gnu* *-*-nacl*
82
83 #...
84-[0-9a-f]*000 [ADRT] __ehdr_start
85+[0-9a-f]*000 [Adrt] __ehdr_start
86 #pass
87Index: binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-1.ld
88===================================================================
89--- /dev/null 1970-01-01 00:00:00.000000000 +0000
90+++ binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-1.ld 2013-06-26 23:39:22.174432315 -0700
91@@ -0,0 +1,9 @@
92+ENTRY (__start)
93+SECTIONS
94+{
95+ . = 0x12300000 + SIZEOF_HEADERS;
96+ .text : { *(.text) }
97+ . = 0x23400000;
98+ HIDDEN (_gp = ALIGN (16) + 0x7ff0);
99+ .got : { *(.got) }
100+}
101Index: binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-1.nd
102===================================================================
103--- /dev/null 1970-01-01 00:00:00.000000000 +0000
104+++ binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-1.nd 2013-06-26 23:39:22.174432315 -0700
105@@ -0,0 +1,4 @@
106+Symbol table '\.symtab' contains [0-9]+ entries:
107+#...
108+ *[0-9]+: 0*12300000 +0 (?:NOTYPE|OBJECT) +LOCAL +DEFAULT +[0-9]+ __ehdr_start
109+#pass
110Index: binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-2.ld
111===================================================================
112--- /dev/null 1970-01-01 00:00:00.000000000 +0000
113+++ binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-2.ld 2013-06-26 23:39:22.174432315 -0700
114@@ -0,0 +1,10 @@
115+ENTRY (__start)
116+SECTIONS
117+{
118+ . = 0x12300000 + SIZEOF_HEADERS;
119+ .text : { *(.text) }
120+ . = 0x23400000;
121+ __ehdr_start = .;
122+ HIDDEN (_gp = ALIGN (16) + 0x7ff0);
123+ .got : { *(.got) }
124+}
125Index: binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-2.nd
126===================================================================
127--- /dev/null 1970-01-01 00:00:00.000000000 +0000
128+++ binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-2.nd 2013-06-26 23:39:22.178432315 -0700
129@@ -0,0 +1,4 @@
130+Symbol table '\.symtab' contains [0-9]+ entries:
131+#...
132+ *[0-9]+: 0*23400000 +0 (?:NOTYPE|OBJECT) +LOCAL +DEFAULT +[0-9]+ __ehdr_start
133+#pass
134Index: binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-new.s
135===================================================================
136--- /dev/null 1970-01-01 00:00:00.000000000 +0000
137+++ binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-new.s 2013-06-26 23:39:22.178432315 -0700
138@@ -0,0 +1,13 @@
139+ .abicalls
140+ .text
141+ .weak __ehdr_start
142+ .globl __start
143+ .ent __start
144+ .frame $29, 0, $31
145+ .mask 0x00000000, 0
146+__start:
147+ .cplocal $2
148+ .cpsetup $t9, $zero, __start
149+ lw $2, __ehdr_start
150+ jr $31
151+ .end __start
152Index: binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-o32.s
153===================================================================
154--- /dev/null 1970-01-01 00:00:00.000000000 +0000
155+++ binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-o32.s 2013-06-26 23:39:22.178432315 -0700
156@@ -0,0 +1,14 @@
157+ .abicalls
158+ .text
159+ .weak __ehdr_start
160+ .globl __start
161+ .ent __start
162+ .frame $29, 0, $31
163+ .mask 0x00000000, 0
164+__start:
165+ .set noreorder
166+ .cpload $25
167+ .set reorder
168+ lw $2, __ehdr_start
169+ jr $31
170+ .end __start
171Index: binutils-2.23.2/ld/testsuite/ld-mips-elf/mips-elf.exp
172===================================================================
173--- binutils-2.23.2.orig/ld/testsuite/ld-mips-elf/mips-elf.exp 2013-06-26 23:29:32.000000000 -0700
174+++ binutils-2.23.2/ld/testsuite/ld-mips-elf/mips-elf.exp 2013-06-26 23:39:22.178432315 -0700
175@@ -669,3 +669,28 @@
176 "readelf -A export-class-call16-${abi}.gd"] \
177 "export-class-call16-${abi}.so"]]
178 }
179+
180+# Magic __ehdr_start symbol tests.
181+set abis [concat o32 [expr {$has_newabi ? "n32 n64" : ""}]]
182+foreach { abi } $abis {
183+ set suff [string map {o32 o32 n32 new n64 new} $abi]
184+ run_ld_link_tests [list \
185+ [list \
186+ "MIPS magic __ehdr_start symbol test 1 ($abi)" \
187+ "$abi_ldflags($abi) -T ehdr_start-1.ld" "" \
188+ "$abi_asflags($abi)" \
189+ [list ehdr_start-${suff}.s] \
190+ [list "readelf -s ehdr_start-1.nd"] \
191+ "ehdr_start-1-${abi}"]]
192+ if [regexp "(?:n32|n64)" "$abi"] {
193+ setup_kfail "mips*-*-*" "ld/15428"
194+ }
195+ run_ld_link_tests [list \
196+ [list \
197+ "MIPS magic __ehdr_start symbol test 2 ($abi)" \
198+ "$abi_ldflags($abi) -T ehdr_start-2.ld" "" \
199+ "$abi_asflags($abi)" \
200+ [list ehdr_start-${suff}.s] \
201+ [list "readelf -s ehdr_start-2.nd"] \
202+ "ehdr_start-2-${abi}"]]
203+}
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/aarch64-crn.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/backport/aarch64-crn.patch
deleted file mode 100644
index 920ccbc3e6..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/aarch64-crn.patch
+++ /dev/null
@@ -1,117 +0,0 @@
1From: Yufeng Zhang <yufeng.zhang@arm.com>
2Date: Mon, 13 May 2013 22:50:00 +0000 (+0000)
3Subject: gas/
4X-Git-Url: http://sourceware.org/git/?p=binutils.git;a=commitdiff_plain;h=1796bf893c4729d5c523502318d72cae78495d6c
5
6Upstream-Status: backport
7
8gas/
9
10 Backport from mainline:
11
12 2013-02-27 Yufeng Zhang <yufeng.zhang@arm.com>
13 * config/tc-aarch64.c (parse_sys_reg): Allow the full range of CRn
14 for system registers.
15
16gas/testsuite/
17
18 Backport from mainline:
19
20 2013-02-27 Yufeng Zhang <yufeng.zhang@arm.com>
21 * gas/aarch64/illegal.l: Delete the error message for
22 msr S3_1_C13_C15_1,x7.
23 * gas/aarch64/sysreg.s: Add new tests.
24 * gas/aarch64/sysreg.d: Update.
25---
26
27diff --git a/gas/ChangeLog b/gas/ChangeLog
28index 821acc9..3d09792 100644
29--- a/gas/ChangeLog
30+++ b/gas/ChangeLog
31@@ -1,3 +1,11 @@
32+2013-05-13 Yufeng Zhang <yufeng.zhang@arm.com>
33+
34+ Backport from mainline:
35+
36+ 2013-02-27 Yufeng Zhang <yufeng.zhang@arm.com>
37+ * config/tc-aarch64.c (parse_sys_reg): Allow the full range of CRn
38+ for system registers.
39+
40 2013-03-05 Yufeng Zhang <yufeng.zhang@arm.com>
41
42 * config/tc-aarch64.c (aarch64_imm_float_p): Rename 'e' to 'pattern';
43diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
44index 162c865..db28c71 100644
45--- a/gas/config/tc-aarch64.c
46+++ b/gas/config/tc-aarch64.c
47@@ -3243,10 +3243,14 @@ parse_sys_reg (char **str, struct hash_control *sys_regs, int imple_defined_p)
48 unsigned int op0, op1, cn, cm, op2;
49 if (sscanf (buf, "s%u_%u_c%u_c%u_%u", &op0, &op1, &cn, &cm, &op2) != 5)
50 return PARSE_FAIL;
51- /* Register access is encoded as follows:
52+ /* The architecture specifies the encoding space for implementation
53+ defined registers as:
54 op0 op1 CRn CRm op2
55- 11 xxx 1x11 xxxx xxx. */
56- if (op0 != 3 || op1 > 7 || (cn | 0x4) != 0xf || cm > 15 || op2 > 7)
57+ 11 xxx 1x11 xxxx xxx
58+ For convenience GAS accepts a wider encoding space, as follows:
59+ op0 op1 CRn CRm op2
60+ 11 xxx xxxx xxxx xxx */
61+ if (op0 != 3 || op1 > 7 || cn > 15 || cm > 15 || op2 > 7)
62 return PARSE_FAIL;
63 value = (op0 << 14) | (op1 << 11) | (cn << 7) | (cm << 3) | op2;
64 }
65diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
66index d1ebc3b..8ee06c8 100644
67--- a/gas/testsuite/ChangeLog
68+++ b/gas/testsuite/ChangeLog
69@@ -1,3 +1,13 @@
70+2013-05-13 Yufeng Zhang <yufeng.zhang@arm.com>
71+
72+ Backport from mainline:
73+
74+ 2013-02-27 Yufeng Zhang <yufeng.zhang@arm.com>
75+ * gas/aarch64/illegal.l: Delete the error message for
76+ msr S3_1_C13_C15_1,x7.
77+ * gas/aarch64/sysreg.s: Add new tests.
78+ * gas/aarch64/sysreg.d: Update.
79+
80 2013-03-08 Christian Groessler <chris@groessler.org>
81
82 Backport from mainline:
83diff --git a/gas/testsuite/gas/aarch64/illegal.l b/gas/testsuite/gas/aarch64/illegal.l
84index e17a1de..f7e4074 100644
85--- a/gas/testsuite/gas/aarch64/illegal.l
86+++ b/gas/testsuite/gas/aarch64/illegal.l
87@@ -520,7 +520,6 @@
88 [^:]*:496: Error: .*`str x1,page_table_count'
89 [^:]*:498: Error: .*`prfm PLDL3KEEP,\[x9,x15,sxtx#2\]'
90 [^:]*:500: Error: .*`mrs x5,S1_0_C13_C8_0'
91-[^:]*:501: Error: .*`msr S3_1_C13_C15_1,x7'
92 [^:]*:502: Error: .*`msr S3_1_C11_C15_-1,x7'
93 [^:]*:503: Error: .*`msr S3_1_11_15_1,x7'
94 [^:]*:506: Error: .*`movi w1,#15'
95diff --git a/gas/testsuite/gas/aarch64/sysreg.d b/gas/testsuite/gas/aarch64/sysreg.d
96index b83b270..c7cf00e 100644
97--- a/gas/testsuite/gas/aarch64/sysreg.d
98+++ b/gas/testsuite/gas/aarch64/sysreg.d
99@@ -23,3 +23,6 @@ Disassembly of section \.text:
100 3c: d5380260 mrs x0, id_isar3_el1
101 40: d5380280 mrs x0, id_isar4_el1
102 44: d53802a0 mrs x0, id_isar5_el1
103+ 48: d538cc00 mrs x0, s3_0_c12_c12_0
104+ 4c: d5384600 mrs x0, s3_0_c4_c6_0
105+ 50: d5184600 msr s3_0_c4_c6_0, x0
106diff --git a/gas/testsuite/gas/aarch64/sysreg.s b/gas/testsuite/gas/aarch64/sysreg.s
107index e6f770e..3287594 100644
108--- a/gas/testsuite/gas/aarch64/sysreg.s
109+++ b/gas/testsuite/gas/aarch64/sysreg.s
110@@ -22,3 +22,7 @@
111 mrs x0, id_isar3_el1
112 mrs x0, id_isar4_el1
113 mrs x0, id_isar5_el1
114+
115+ mrs x0, s3_0_c12_c12_0
116+ mrs x0, s3_0_c4_c6_0
117+ msr s3_0_c4_c6_0, x0
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/aarch64-movi.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/backport/aarch64-movi.patch
deleted file mode 100644
index 314eef27f0..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/aarch64-movi.patch
+++ /dev/null
@@ -1,144 +0,0 @@
1From: Yufeng Zhang <yufeng.zhang@arm.com>
2Date: Mon, 13 May 2013 23:09:51 +0000 (+0000)
3Subject: gas/testsuite/
4X-Git-Url: http://sourceware.org/git/?p=binutils.git;a=commitdiff_plain;h=f426901e1be0f58fe4e9386cada50ca57d0a4f36
5
6Upstream-Status: backport
7
8gas/testsuite/
9
10 Backport from mainline:
11
12 2013-05-13 Yufeng Zhang <yufeng.zhang@arm.com>
13 * gas/aarch64/diagnostic.s: Update.
14 * gas/aarch64/diagnostic.l: Ditto.
15 * gas/aarch64/movi.s: Add new tests.
16 * gas/aarch64/movi.d: Update.
17
18opcodes/
19
20 Backport from mainline:
21
22 2013-05-13 Yufeng Zhang <yufeng.zhang@arm.com>
23 * aarch64-asm.c (aarch64_ins_advsimd_imm_modified): Remove assertion.
24 * aarch64-opc.c (operand_general_constraint_met_p): Relax the range
25 check from [0, 255] to [-128, 255].
26---
27
28diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
29index 8ee06c8..475c93a 100644
30--- a/gas/testsuite/ChangeLog
31+++ b/gas/testsuite/ChangeLog
32@@ -1,3 +1,13 @@
33+2013-05-13 Yufeng Zhang <yufeng.zhang@arm.com>
34+
35+ Backport from mainline:
36+
37+ 2013-05-13 Yufeng Zhang <yufeng.zhang@arm.com>
38+ * gas/aarch64/diagnostic.s: Update.
39+ * gas/aarch64/diagnostic.l: Ditto.
40+ * gas/aarch64/movi.s: Add new tests.
41+ * gas/aarch64/movi.d: Update.
42+
43 2013-05-13 Yufeng Zhang <yufeng.zhang@arm.com>
44
45 Backport from mainline:
46diff --git a/gas/testsuite/gas/aarch64/diagnostic.l b/gas/testsuite/gas/aarch64/diagnostic.l
47index f37f11c..d7a1347 100644
48--- a/gas/testsuite/gas/aarch64/diagnostic.l
49+++ b/gas/testsuite/gas/aarch64/diagnostic.l
50@@ -38,8 +38,8 @@
51 [^:]*:40: Error: invalid shift amount at operand 3 -- `shll v1.4s,v2.4h,#32'
52 [^:]*:41: Error: immediate value out of range 0 to 31 at operand 3 -- `shl v1.2s,v2.2s,32'
53 [^:]*:42: Error: immediate value out of range 1 to 8 at operand 3 -- `sqshrn2 v2.16b,v3.8h,#17'
54-[^:]*:43: Error: immediate value out of range 0 to 255 at operand 2 -- `movi v1.4h,256'
55-[^:]*:44: Error: immediate value out of range 0 to 255 at operand 2 -- `movi v1.4h,-1'
56+[^:]*:43: Error: immediate value out of range -128 to 255 at operand 2 -- `movi v1.4h,256'
57+[^:]*:44: Error: immediate value out of range -128 to 255 at operand 2 -- `movi v1.4h,-129'
58 [^:]*:45: Error: invalid shift operator at operand 2 -- `movi v1.4h,255,msl#8'
59 [^:]*:46: Error: invalid value for immediate at operand 2 -- `movi d0,256'
60 [^:]*:47: Error: immediate value should be a multiple of 8 at operand 2 -- `movi v1.4h,255,lsl#7'
61diff --git a/gas/testsuite/gas/aarch64/diagnostic.s b/gas/testsuite/gas/aarch64/diagnostic.s
62index 99ebf8f..e5443ab 100644
63--- a/gas/testsuite/gas/aarch64/diagnostic.s
64+++ b/gas/testsuite/gas/aarch64/diagnostic.s
65@@ -41,7 +41,7 @@
66 shl v1.2s, v2.2s, 32
67 sqshrn2 v2.16b, v3.8h, #17
68 movi v1.4h, 256
69- movi v1.4h, -1
70+ movi v1.4h, -129
71 movi v1.4h, 255, msl #8
72 movi d0, 256
73 movi v1.4h, 255, lsl #7
74diff --git a/gas/testsuite/gas/aarch64/movi.d b/gas/testsuite/gas/aarch64/movi.d
75index 2c73cc4..c225b21 100644
76--- a/gas/testsuite/gas/aarch64/movi.d
77+++ b/gas/testsuite/gas/aarch64/movi.d
78@@ -8201,3 +8201,6 @@ Disassembly of section \.text:
79 8004: 6f07e7e0 movi v0.2d, #0xffffffffffffffff
80 8008: 6f07e7e0 movi v0.2d, #0xffffffffffffffff
81 800c: 2f07e7ff movi d31, #0xffffffffffffffff
82+ 8010: 0f04e403 movi v3.8b, #0x80
83+ 8014: 0f04e423 movi v3.8b, #0x81
84+ 8018: 0f07e7e3 movi v3.8b, #0xff
85diff --git a/gas/testsuite/gas/aarch64/movi.s b/gas/testsuite/gas/aarch64/movi.s
86index 99ca34a..76f2d47 100644
87--- a/gas/testsuite/gas/aarch64/movi.s
88+++ b/gas/testsuite/gas/aarch64/movi.s
89@@ -102,3 +102,8 @@
90 movi v0.2d, bignum
91 movi d31, 18446744073709551615
92 .set bignum, 0xffffffffffffffff
93+
94+ // Allow -128 to 255 in #<imm8>
95+ movi v3.8b, -128
96+ movi v3.8b, -127
97+ movi v3.8b, -1
98diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
99index 96dfaeb..4adbc86 100644
100--- a/opcodes/ChangeLog
101+++ b/opcodes/ChangeLog
102@@ -1,3 +1,12 @@
103+2013-05-13 Yufeng Zhang <yufeng.zhang@arm.com>
104+
105+ Backport from mainline:
106+
107+ 2013-05-13 Yufeng Zhang <yufeng.zhang@arm.com>
108+ * aarch64-asm.c (aarch64_ins_advsimd_imm_modified): Remove assertion.
109+ * aarch64-opc.c (operand_general_constraint_met_p): Relax the range
110+ check from [0, 255] to [-128, 255].
111+
112 2013-03-25 Tristan Gingold <gingold@adacore.com>
113 Backport of: 2013-03-08 Yann Sionneau <yann.sionneau@gmail.com>
114
115diff --git a/opcodes/aarch64-asm.c b/opcodes/aarch64-asm.c
116index 16cdaa9..ba463d9 100644
117--- a/opcodes/aarch64-asm.c
118+++ b/opcodes/aarch64-asm.c
119@@ -369,7 +369,6 @@ aarch64_ins_advsimd_imm_modified (const aarch64_operand *self ATTRIBUTE_UNUSED,
120 imm = aarch64_shrink_expanded_imm8 (imm);
121 assert ((int)imm >= 0);
122 }
123- assert (imm <= 255);
124 insert_fields (code, imm, 0, 2, FLD_defgh, FLD_abc);
125
126 if (kind == AARCH64_MOD_NONE)
127diff --git a/opcodes/aarch64-opc.c b/opcodes/aarch64-opc.c
128index 73a760a..32f34c6 100644
129--- a/opcodes/aarch64-opc.c
130+++ b/opcodes/aarch64-opc.c
131@@ -1724,10 +1724,10 @@ operand_general_constraint_met_p (const aarch64_opnd_info *opnds, int idx,
132 assert (idx == 1);
133 if (aarch64_get_qualifier_esize (opnds[0].qualifier) != 8)
134 {
135- /* uimm8 */
136- if (!value_in_range_p (opnd->imm.value, 0, 255))
137+ /* uimm8 or simm8 */
138+ if (!value_in_range_p (opnd->imm.value, -128, 255))
139 {
140- set_imm_out_of_range_error (mismatch_detail, idx, 0, 255);
141+ set_imm_out_of_range_error (mismatch_detail, idx, -128, 255);
142 return 0;
143 }
144 }
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/binutils-fix-ineffectual-zero-of-cache.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/backport/binutils-fix-ineffectual-zero-of-cache.patch
deleted file mode 100644
index a4aebf3be0..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/binutils-fix-ineffectual-zero-of-cache.patch
+++ /dev/null
@@ -1,60 +0,0 @@
1Upstream-Status: Backport
2
3* elf32-xtensa.c
4 * (free_section_cache): Renamed from clear_section_cache.
5 * (section_cache_section): Remove ineffectual zero of cache.
6 Call init_section_cache instead.
7
8binutils build might fail on recent Linux distros:
9binutils-2.23.1/bfd/elf32-xtensa.c:6078:36: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
10 memset (sec_cache, 0, sizeof (sec_cache));
11 ^
12binutils-2.23.1/bfd/elf32-xtensa.c:6120:32: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
13 memset (sec_cache, 0, sizeof (sec_cache));
14
15The original commit is http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-xtensa.c.diff?r1=1.135&r2=1.136&cvsroot=src
16
17Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
18
19--- binutils-2.23.1/bfd/elf32-xtensa.c.org 2013-03-12 03:04:29.000000000 -0500
20+++ binutils-2.23.1/bfd/elf32-xtensa.c 2013-03-12 03:06:37.000000000 -0500
21@@ -6067,7 +6067,7 @@
22
23
24 static void
25-clear_section_cache (section_cache_t *sec_cache)
26+free_section_cache (section_cache_t *sec_cache)
27 {
28 if (sec_cache->sec)
29 {
30@@ -6075,7 +6075,6 @@
31 release_internal_relocs (sec_cache->sec, sec_cache->relocs);
32 if (sec_cache->ptbl)
33 free (sec_cache->ptbl);
34- memset (sec_cache, 0, sizeof (sec_cache));
35 }
36 }
37
38@@ -6116,8 +6115,8 @@
39 goto err;
40
41 /* Fill in the new section cache. */
42- clear_section_cache (sec_cache);
43- memset (sec_cache, 0, sizeof (sec_cache));
44+ free_section_cache (sec_cache);
45+ init_section_cache (sec_cache);
46
47 sec_cache->sec = sec;
48 sec_cache->contents = contents;
49@@ -8272,8 +8271,9 @@
50 #endif /* DEBUG */
51
52 error_return:
53- if (prop_table) free (prop_table);
54- clear_section_cache (&target_sec_cache);
55+ if (prop_table)
56+ free (prop_table);
57+ free_section_cache (&target_sec_cache);
58
59 release_contents (sec, contents);
60 release_internal_relocs (sec, internal_relocs);
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/binutils-fix-skip-whitespace-pr14887.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/backport/binutils-fix-skip-whitespace-pr14887.patch
deleted file mode 100644
index e504b3b92c..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/binutils-fix-skip-whitespace-pr14887.patch
+++ /dev/null
@@ -1,50 +0,0 @@
1
2
3PR gas/14887
4 * config/tc-arm.c (skip_past_char): Skip whitespace before the anticipated character.
5 * config/tc-arm.c (parse_address_main): Delete skip of whitespace here as it is no longer needed.
6
7Upstream-Status: Backport [PR14887]
8
9Signed-off-by: Saul Wold <sgw@linux.intel.com>
10
11===================================================================
12RCS file: /cvs/src/src/gas/ChangeLog,v
13retrieving revision 1.4898
14retrieving revision 1.4899
15Index: binutils-2.23.2/gas/config/tc-arm.c
16===================================================================
17--- binutils-2.23.2.orig/gas/config/tc-arm.c
18+++ binutils-2.23.2/gas/config/tc-arm.c
19@@ -885,6 +885,9 @@ const char FLT_CHARS[] = "rRsSfFdDxXeEpP
20 static inline int
21 skip_past_char (char ** str, char c)
22 {
23+ /* PR gas/14987: Allow for whitespace before the expected character. */
24+ skip_whitespace (*str);
25+
26 if (**str == c)
27 {
28 (*str)++;
29@@ -5168,6 +5171,9 @@ parse_address_main (char **str, int i, i
30 return PARSE_OPERAND_SUCCESS;
31 }
32
33+ /* PR gas/14987: Allow for whitespace before the expected character. */
34+ skip_whitespace (p);
35+
36 if ((reg = arm_reg_parse (&p, REG_TYPE_RN)) == FAIL)
37 {
38 inst.error = _(reg_expected_msgs[REG_TYPE_RN]);
39Index: binutils-2.23.2/gas/testsuite/gas/arm/neon-ldst-es.s
40===================================================================
41--- binutils-2.23.2.orig/gas/testsuite/gas/arm/neon-ldst-es.s
42+++ binutils-2.23.2/gas/testsuite/gas/arm/neon-ldst-es.s
43@@ -57,3 +57,7 @@
44 vld2.32 {q1},[r7]
45 vld4.32 {q1-q2},[r7]
46 vld4.32 {q14-q15},[r7]
47+
48+ @ PR 14987 and 14887: Allow for whitespace in the instruction.
49+ vld1.32 { d1 [ ] } , [ r2 ] , r3
50+
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/binutils-replace-strncat-with-strcat.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/backport/binutils-replace-strncat-with-strcat.patch
deleted file mode 100644
index bc8f92b8ae..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/backport/binutils-replace-strncat-with-strcat.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1Upstream-Status: Backport
2
3* arc-dis.c (write_comments_): Don't use strncat due to
4 the size of state->commentBuffer pointer isn't predictable.
5
6binutils build will fail on Fedora18+.
7binutils-2.23.1/opcodes/arc-dis.c:430:13: error: argument to 'sizeof' in '__builtin_strncat' call is the same expression as the destination; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess]
8 sizeof (state->commentBuffer));
9 ^
10
11The original commit is http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/arc-dis.c.diff?r1=1.17&r2=1.18&cvsroot=src
12
13Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
14
15--- binutils-2.23.1/opcodes/arc-dis.c.orig 2013-03-13 00:10:27.978498158 -0500
16+++ binutils-2.23.1/opcodes/arc-dis.c 2013-03-13 00:11:28.297499381 -0500
17@@ -426,8 +426,7 @@
18 strcpy (state->commentBuffer, comment_prefix);
19 else
20 strcat (state->commentBuffer, ", ");
21- strncat (state->commentBuffer, state->comm[i],
22- sizeof (state->commentBuffer));
23+ strcat (state->commentBuffer, state->comm[i]);
24 }
25 }
26 }
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-fix-over-array-bounds-issue.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-fix-over-array-bounds-issue.patch
deleted file mode 100644
index aacbfef7d6..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-fix-over-array-bounds-issue.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1Upstream-Status: Pending
2
3binutils build fails on Fedora18+ due to over array bounds issue:
4binutils-2.23.1/opcodes/rl78-dis.c:230:13: error: array subscript is above array bounds [-Werror=array-bounds]
5 if (oper->use_es && indirect_type (oper->type))
6 ^
7
8Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
9
10--- binutils-2.23.1/opcodes/rl78-dis.c.orig 2013-03-12 22:17:47.664361066 -0500
11+++ binutils-2.23.1/opcodes/rl78-dis.c 2013-03-12 23:39:51.383460914 -0500
12@@ -221,7 +221,7 @@
13
14 case '0':
15 case '1':
16- oper = opcode.op + *s - '0';
17+ oper = &opcode.op[*s - '0'];
18 if (do_bang)
19 PC ('!');
20
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-x86_64_i386_biarch.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-x86_64_i386_biarch.patch
deleted file mode 100644
index c09578a787..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-x86_64_i386_biarch.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1#!/bin/sh -e
2## 127_x86_64_i386_biarch.dpatch
3##
4## DP: Description: Add (/usr)/lib32 to the search paths on x86_64.
5## DP: Author: Aurelien Jarno <aurel32.debian.org>
6## DP: Upstream status: Debian specific
7#
8# Hacked to apply with quilt
9# Adapted to binutils 2.18.50.0.7
10Upstream-Status: Inappropriate [embedded specific]
11
12Index: binutils-2.22/ld/emulparams/elf_i386.sh
13===================================================================
14--- binutils-2.22.orig/ld/emulparams/elf_i386.sh
15+++ binutils-2.22/ld/emulparams/elf_i386.sh
16@@ -14,3 +14,13 @@ GENERATE_PIE_SCRIPT=yes
17 NO_SMALL_DATA=yes
18 SEPARATE_GOTPLT=12
19 IREL_IN_PLT=
20+
21+# Linux modify the default library search path to first include
22+# a 32-bit specific directory.
23+case "$target" in
24+ x86_64*-linux* | i[3-7]86*-linux* | x86_64*-kfreebsd*-gnu | i[3-7]86*-kfreebsd*-gnu)
25+ case "$EMULATION_NAME" in
26+ *i386*) LIBPATH_SUFFIX=32 ;;
27+ esac
28+ ;;
29+esac
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-xlp-support.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-xlp-support.patch
deleted file mode 100644
index b0f727ac64..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-xlp-support.patch
+++ /dev/null
@@ -1,398 +0,0 @@
1Upstream-Status: Unknown
2Signed-off-by: Khem Raj <raj.khem@gmail.com>
3
4From 26adb06ce515aadfec08ce13109b4b98287f677b Mon Sep 17 00:00:00 2001
5From: Nebu Philips <nphilips@netlogicmicro.com>
6Date: Fri, 30 Jul 2010 15:10:03 -0700
7Subject: [PATCH] Add support for Netlogic XLP
8
9Using the mipsisa64r2nlm target, add support for XLP from
10Netlogic. Also, update vendor name to NLM wherever applicable.
11---
12 bfd/aoutx.h | 1 +
13 bfd/archures.c | 1 +
14 bfd/bfd-in2.h | 1 +
15 bfd/config.bfd | 5 +++++
16 bfd/cpu-mips.c | 6 ++++--
17 bfd/elfxx-mips.c | 8 ++++++++
18 binutils/readelf.c | 1 +
19 config.sub | 6 ++++++
20 gas/config/tc-mips.c | 7 ++++++-
21 gas/configure | 3 +++
22 gas/configure.tgt | 2 +-
23 gas/doc/c-mips.texi | 3 ++-
24 include/elf/mips.h | 1 +
25 include/opcode/mips.h | 6 +++++-
26 ld/configure.tgt | 2 ++
27 opcodes/mips-dis.c | 6 ++++++
28 opcodes/mips-opc.c | 31 ++++++++++++++++++++-----------
29 17 files changed, 73 insertions(+), 17 deletions(-)
30
31Index: binutils-2.23.2/bfd/aoutx.h
32===================================================================
33--- binutils-2.23.2.orig/bfd/aoutx.h 2013-04-16 04:19:48.241282004 -0700
34+++ binutils-2.23.2/bfd/aoutx.h 2013-04-16 04:19:52.741282087 -0700
35@@ -798,6 +798,7 @@
36 case bfd_mach_mipsisa64r2:
37 case bfd_mach_mips_sb1:
38 case bfd_mach_mips_xlr:
39+ case bfd_mach_mips_xlp:
40 /* FIXME: These should be MIPS3, MIPS4, MIPS16, MIPS32, etc. */
41 arch_flags = M_MIPS2;
42 break;
43Index: binutils-2.23.2/bfd/archures.c
44===================================================================
45--- binutils-2.23.2.orig/bfd/archures.c 2013-04-16 04:19:48.241282004 -0700
46+++ binutils-2.23.2/bfd/archures.c 2013-04-16 04:19:52.741282087 -0700
47@@ -179,6 +179,7 @@
48 .#define bfd_mach_mips_octeonp 6601
49 .#define bfd_mach_mips_octeon2 6502
50 .#define bfd_mach_mips_xlr 887682 {* decimal 'XLR' *}
51+.#define bfd_mach_mips_xlp 887680 {* decimal 'XLP' *}
52 .#define bfd_mach_mipsisa32 32
53 .#define bfd_mach_mipsisa32r2 33
54 .#define bfd_mach_mipsisa64 64
55Index: binutils-2.23.2/bfd/bfd-in2.h
56===================================================================
57--- binutils-2.23.2.orig/bfd/bfd-in2.h 2013-04-16 04:19:48.241282004 -0700
58+++ binutils-2.23.2/bfd/bfd-in2.h 2013-04-16 04:19:52.745282088 -0700
59@@ -1908,6 +1908,7 @@
60 #define bfd_mach_mips_octeonp 6601
61 #define bfd_mach_mips_octeon2 6502
62 #define bfd_mach_mips_xlr 887682 /* decimal 'XLR' */
63+#define bfd_mach_mips_xlp 887680 /* decimal 'XLP' */
64 #define bfd_mach_mipsisa32 32
65 #define bfd_mach_mipsisa32r2 33
66 #define bfd_mach_mipsisa64 64
67Index: binutils-2.23.2/bfd/config.bfd
68===================================================================
69--- binutils-2.23.2.orig/bfd/config.bfd 2013-04-16 04:19:50.897282052 -0700
70+++ binutils-2.23.2/bfd/config.bfd 2013-04-16 04:19:52.745282088 -0700
71@@ -992,6 +992,11 @@
72 targ_defvec=bfd_elf32_littlemips_vec
73 targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
74 ;;
75+ mipsisa64*-*-elf*)
76+ targ_defvec=bfd_elf32_tradbigmips_vec
77+ targ_selvecs="bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec"
78+ want64=true
79+ ;;
80 mips*-*-elf* | mips*-*-rtems* | mips*-*-vxworks | mips*-*-windiss)
81 targ_defvec=bfd_elf32_bigmips_vec
82 targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
83Index: binutils-2.23.2/bfd/cpu-mips.c
84===================================================================
85--- binutils-2.23.2.orig/bfd/cpu-mips.c 2013-04-16 04:19:48.241282004 -0700
86+++ binutils-2.23.2/bfd/cpu-mips.c 2013-04-16 04:27:21.097290918 -0700
87@@ -97,7 +97,8 @@
88 I_mipsocteonp,
89 I_mipsocteon2,
90 I_xlr,
91- I_micromips
92+ I_micromips,
93+ I_xlp
94 };
95
96 #define NN(index) (&arch_info_struct[(index) + 1])
97@@ -140,7 +141,8 @@
98 N (64, 64, bfd_mach_mips_octeonp,"mips:octeon+", FALSE, NN(I_mipsocteonp)),
99 N (64, 64, bfd_mach_mips_octeon2,"mips:octeon2", FALSE, NN(I_mipsocteon2)),
100 N (64, 64, bfd_mach_mips_xlr, "mips:xlr", FALSE, NN(I_xlr)),
101- N (64, 64, bfd_mach_mips_micromips,"mips:micromips",FALSE,0)
102+ N (64, 64, bfd_mach_mips_micromips,"mips:micromips",FALSE,NN(I_micromips)),
103+ N (64, 64, bfd_mach_mips_xlp, "mips:xlp", FALSE, 0)
104 };
105
106 /* The default architecture is mips:3000, but with a machine number of
107Index: binutils-2.23.2/bfd/elfxx-mips.c
108===================================================================
109--- binutils-2.23.2.orig/bfd/elfxx-mips.c 2013-04-16 04:19:48.241282004 -0700
110+++ binutils-2.23.2/bfd/elfxx-mips.c 2013-04-16 04:19:52.749282089 -0700
111@@ -6293,6 +6293,9 @@
112 case E_MIPS_MACH_XLR:
113 return bfd_mach_mips_xlr;
114
115+ case E_MIPS_MACH_XLP:
116+ return bfd_mach_mips_xlp;
117+
118 default:
119 switch (flags & EF_MIPS_ARCH)
120 {
121@@ -11048,6 +11051,10 @@
122 val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON2;
123 break;
124
125+ case bfd_mach_mips_xlp:
126+ val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_XLP;
127+ break;
128+
129 case bfd_mach_mipsisa32:
130 val = E_MIPS_ARCH_32;
131 break;
132@@ -13639,6 +13646,7 @@
133 { bfd_mach_mips_octeon2, bfd_mach_mips_octeonp },
134 { bfd_mach_mips_octeonp, bfd_mach_mips_octeon },
135 { bfd_mach_mips_octeon, bfd_mach_mipsisa64r2 },
136+ { bfd_mach_mips_xlp, bfd_mach_mipsisa64r2 },
137
138 /* MIPS64 extensions. */
139 { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 },
140Index: binutils-2.23.2/binutils/readelf.c
141===================================================================
142--- binutils-2.23.2.orig/binutils/readelf.c 2013-04-16 04:19:48.241282004 -0700
143+++ binutils-2.23.2/binutils/readelf.c 2013-04-16 04:19:52.753282089 -0700
144@@ -2435,6 +2435,7 @@
145 case E_MIPS_MACH_OCTEON: strcat (buf, ", octeon"); break;
146 case E_MIPS_MACH_OCTEON2: strcat (buf, ", octeon2"); break;
147 case E_MIPS_MACH_XLR: strcat (buf, ", xlr"); break;
148+ case E_MIPS_MACH_XLP: strcat (buf, ", xlp"); break;
149 case 0:
150 /* We simply ignore the field in this case to avoid confusion:
151 MIPS ELF does not specify EF_MIPS_MACH, it is a GNU
152Index: binutils-2.23.2/gas/config/tc-mips.c
153===================================================================
154--- binutils-2.23.2.orig/gas/config/tc-mips.c 2013-04-16 04:19:48.241282004 -0700
155+++ binutils-2.23.2/gas/config/tc-mips.c 2013-04-16 04:19:52.761282087 -0700
156@@ -530,6 +530,7 @@
157 || mips_opts.arch == CPU_RM7000 \
158 || mips_opts.arch == CPU_VR5500 \
159 || mips_opts.micromips \
160+ || mips_opts.arch == CPU_XLP \
161 )
162
163 /* Whether the processor uses hardware interlocks to protect reads
164@@ -558,6 +559,7 @@
165 && mips_opts.isa != ISA_MIPS3) \
166 || mips_opts.arch == CPU_R4300 \
167 || mips_opts.micromips \
168+ || mips_opts.arch == CPU_XLP \
169 )
170
171 /* Whether the processor uses hardware interlocks to protect reads
172@@ -19176,9 +19178,12 @@
173 { "octeon+", 0, ISA_MIPS64R2, CPU_OCTEONP },
174 { "octeon2", 0, ISA_MIPS64R2, CPU_OCTEON2 },
175
176- /* RMI Xlr */
177+ /* Netlogic Xlr */
178 { "xlr", 0, ISA_MIPS64, CPU_XLR },
179
180+ /* Netlogic Xlp */
181+ { "xlp", 0, ISA_MIPS64R2, CPU_XLP },
182+
183 /* Broadcom XLP.
184 XLP is mostly like XLR, with the prominent exception that it is
185 MIPS64R2 rather than MIPS64. */
186Index: binutils-2.23.2/gas/configure
187===================================================================
188--- binutils-2.23.2.orig/gas/configure 2013-04-16 04:19:50.353282044 -0700
189+++ binutils-2.23.2/gas/configure 2013-04-16 04:19:52.765282087 -0700
190@@ -12695,6 +12695,9 @@
191 mipsisa64r2 | mipsisa64r2el)
192 mips_cpu=mips64r2
193 ;;
194+ mipsisa64r2nlm | mipsisa64r2nlmel)
195+ mips_cpu=xlp
196+ ;;
197 mipstx39 | mipstx39el)
198 mips_cpu=r3900
199 ;;
200Index: binutils-2.23.2/gas/configure.tgt
201===================================================================
202--- binutils-2.23.2.orig/gas/configure.tgt 2013-04-16 04:19:50.097282037 -0700
203+++ binutils-2.23.2/gas/configure.tgt 2013-04-16 04:19:52.765282087 -0700
204@@ -310,7 +310,7 @@
205 mips-*-sysv4*MP* | mips-*-gnu*) fmt=elf em=tmips ;;
206 mips*-sde-elf*) fmt=elf em=tmips ;;
207 mips-*-sysv*) fmt=ecoff ;;
208- mips-*-elf* | mips-*-rtems*) fmt=elf ;;
209+ mips-*-elf* | mips-*-rtems*) fmt=elf em=tmips ;;
210 mips-*-netbsd*) fmt=elf em=tmips ;;
211 mips-*-openbsd*) fmt=elf em=tmips ;;
212
213Index: binutils-2.23.2/include/elf/mips.h
214===================================================================
215--- binutils-2.23.2.orig/include/elf/mips.h 2013-04-16 04:19:48.241282004 -0700
216+++ binutils-2.23.2/include/elf/mips.h 2013-04-16 04:19:52.765282087 -0700
217@@ -268,6 +268,7 @@
218 #define E_MIPS_MACH_SB1 0x008a0000
219 #define E_MIPS_MACH_OCTEON 0x008b0000
220 #define E_MIPS_MACH_XLR 0x008c0000
221+#define E_MIPS_MACH_XLP 0x008e0000
222 #define E_MIPS_MACH_OCTEON2 0x008d0000
223 #define E_MIPS_MACH_5400 0x00910000
224 #define E_MIPS_MACH_5500 0x00980000
225Index: binutils-2.23.2/include/opcode/mips.h
226===================================================================
227--- binutils-2.23.2.orig/include/opcode/mips.h 2013-04-16 04:19:48.241282004 -0700
228+++ binutils-2.23.2/include/opcode/mips.h 2013-04-16 04:19:52.769282089 -0700
229@@ -772,8 +772,10 @@
230 #define INSN_LOONGSON_2F 0x80000000
231 /* Loongson 3A. */
232 #define INSN_LOONGSON_3A 0x00000400
233-/* RMI Xlr instruction */
234+/* Netlogic Xlr instruction */
235 #define INSN_XLR 0x00000020
236+/* Netlogic Xlp instruction */
237+#define INSN_XLP 0x00000040
238
239 /* MCU (MicroController) ASE */
240 #define INSN_MCU 0x00000010
241@@ -833,6 +835,7 @@
242 #define CPU_OCTEONP 6601
243 #define CPU_OCTEON2 6502
244 #define CPU_XLR 887682 /* decimal 'XLR' */
245+#define CPU_XLP 887680 /* decimal 'XLP' */
246
247 /* Return true if the given CPU is included in INSN_* mask MASK. */
248
249@@ -897,6 +900,9 @@
250 case CPU_XLR:
251 return (mask & INSN_XLR) != 0;
252
253+ case CPU_XLP:
254+ return (mask & INSN_XLP) != 0;
255+
256 default:
257 return FALSE;
258 }
259Index: binutils-2.23.2/ld/configure.tgt
260===================================================================
261--- binutils-2.23.2.orig/ld/configure.tgt 2013-04-16 04:19:50.897282052 -0700
262+++ binutils-2.23.2/ld/configure.tgt 2013-04-16 04:19:52.769282089 -0700
263@@ -426,6 +426,8 @@
264 targ_extra_emuls="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" ;;
265 mips*-sde-elf*) targ_emul=elf32btsmip
266 targ_extra_emuls="elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip" ;;
267+mipsisa64*-*-elf*) targ_emul=elf32btsmip
268+ targ_extra_emuls="elf32ltsmip elf64btsmip elf64ltsmip" ;;
269 mips*el-*-elf*) targ_emul=elf32elmip ;;
270 mips*-*-elf*) targ_emul=elf32ebmip ;;
271 mips*-*-rtems*) targ_emul=elf32ebmip ;;
272Index: binutils-2.23.2/opcodes/mips-dis.c
273===================================================================
274--- binutils-2.23.2.orig/opcodes/mips-dis.c 2013-04-16 04:19:48.241282004 -0700
275+++ binutils-2.23.2/opcodes/mips-dis.c 2013-04-16 04:19:52.769282089 -0700
276@@ -627,6 +627,12 @@
277 mips_cp0sel_names_xlr, ARRAY_SIZE (mips_cp0sel_names_xlr),
278 mips_hwr_names_numeric },
279
280+ { "xlp", 1, bfd_mach_mips_xlp, CPU_XLP,
281+ (ISA_MIPS64R2 | INSN_XLP),
282+ mips_cp0_names_mips3264r2,
283+ mips_cp0sel_names_mips3264r2, ARRAY_SIZE (mips_cp0sel_names_mips3264r2),
284+ mips_hwr_names_mips3264r2 },
285+
286 /* This entry, mips16, is here only for ISA/processor selection; do
287 not print its name. */
288 { "", 1, bfd_mach_mips16, CPU_MIPS16, ISA_MIPS3,
289Index: binutils-2.23.2/opcodes/mips-opc.c
290===================================================================
291--- binutils-2.23.2.orig/opcodes/mips-opc.c 2013-04-16 04:19:48.241282004 -0700
292+++ binutils-2.23.2/opcodes/mips-opc.c 2013-04-16 04:19:52.773282090 -0700
293@@ -126,6 +126,7 @@
294 #define IOCTP (INSN_OCTEONP | INSN_OCTEON2)
295 #define IOCT2 INSN_OCTEON2
296 #define XLR INSN_XLR
297+#define XLP INSN_XLP
298
299 #define G1 (T3 \
300 )
301@@ -606,6 +607,7 @@
302 {"cins", "t,r,+p,+s",0x70000032, 0xfc00003f, WR_t|RD_s, 0, IOCT },
303 {"clo", "U,s", 0x70000021, 0xfc0007ff, WR_d|WR_t|RD_s, 0, I32|N55 },
304 {"clz", "U,s", 0x70000020, 0xfc0007ff, WR_d|WR_t|RD_s, 0, I32|N55 },
305+{"crc", "d,s,t", 0x7000001c, 0xfc0007ff, WR_d|RD_s|RD_t, 0, XLP },
306 {"ctc0", "t,G", 0x40c00000, 0xffe007ff, COD|RD_t|WR_CC, 0, I1, IOCT|IOCTP|IOCT2 },
307 {"ctc1", "t,G", 0x44c00000, 0xffe007ff, COD|RD_t|WR_CC|FP_S, 0, I1 },
308 {"ctc1", "t,S", 0x44c00000, 0xffe007ff, COD|RD_t|WR_CC|FP_S, 0, I1 },
309@@ -638,10 +640,11 @@
310 {"daddiu", "t,r,j", 0x64000000, 0xfc000000, WR_t|RD_s, 0, I3 },
311 {"daddu", "d,v,t", 0x0000002d, 0xfc0007ff, WR_d|RD_s|RD_t, 0, I3 },
312 {"daddu", "t,r,I", 0, (int) M_DADDU_I, INSN_MACRO, 0, I3 },
313-{"daddwc", "d,s,t", 0x70000038, 0xfc0007ff, WR_d|RD_s|RD_t|WR_C0|RD_C0, 0, XLR },
314+{"daddwc", "d,s,t", 0x70000038, 0xfc0007ff, WR_d|RD_s|RD_t|WR_C0|RD_C0,0, XLR|XLP },
315 {"dbreak", "", 0x7000003f, 0xffffffff, 0, 0, N5 },
316 {"dclo", "U,s", 0x70000025, 0xfc0007ff, RD_s|WR_d|WR_t, 0, I64|N55 },
317 {"dclz", "U,s", 0x70000024, 0xfc0007ff, RD_s|WR_d|WR_t, 0, I64|N55 },
318+{"dcrc", "d,s,t", 0x7000001d, 0xfc0007ff, WR_d|RD_s|RD_t, 0, XLP },
319 /* dctr and dctw are used on the r5000. */
320 {"dctr", "o(b)", 0xbc050000, 0xfc1f0000, RD_b, 0, I3 },
321 {"dctw", "o(b)", 0xbc090000, 0xfc1f0000, RD_b, 0, I3 },
322@@ -697,6 +700,7 @@
323 {"dmfc0", "t,G", 0x40200000, 0xffe007ff, LCD|WR_t|RD_C0, 0, I3 },
324 {"dmfc0", "t,+D", 0x40200000, 0xffe007f8, LCD|WR_t|RD_C0, 0, I64 },
325 {"dmfc0", "t,G,H", 0x40200000, 0xffe007f8, LCD|WR_t|RD_C0, 0, I64 },
326+{"dmfur", "t,d", 0x7000001e, 0xffe007ff, WR_t, 0, XLP},
327 {"dmt", "", 0x41600bc1, 0xffffffff, TRAP, 0, MT32 },
328 {"dmt", "t", 0x41600bc1, 0xffe0ffff, TRAP|WR_t, 0, MT32 },
329 {"dmtc0", "t,G", 0x40a00000, 0xffe007ff, COD|RD_t|WR_C0|WR_CC, 0, I3 },
330@@ -710,6 +714,8 @@
331 /* dmtc2 is at the bottom of the table. */
332 /* dmfc3 is at the bottom of the table. */
333 /* dmtc3 is at the bottom of the table. */
334+{"dmtur", "t,d", 0x7000001f, 0xffe007ff, RD_t, 0, XLP},
335+{"dmul", "d,s,t", 0x70000006, 0xfc0007ff, WR_d|RD_s|RD_t, 0, XLP},
336 {"dmul", "d,v,t", 0x70000003, 0xfc0007ff, WR_d|RD_s|RD_t|WR_HILO, 0, IOCT },
337 {"dmul", "d,v,t", 0, (int) M_DMUL, INSN_MACRO, 0, I3 },
338 {"dmul", "d,v,I", 0, (int) M_DMUL_I, INSN_MACRO, 0, I3 },
339@@ -848,9 +854,9 @@
340 {"ld", "t,o(b)", 0, (int) M_LD_OB, INSN_MACRO, 0, I1 },
341 {"ld", "t,o(b)", 0xdc000000, 0xfc000000, WR_t|RD_b, 0, I3 },
342 {"ld", "t,A(b)", 0, (int) M_LD_AB, INSN_MACRO, 0, I1 },
343-{"ldaddw", "t,b", 0x70000010, 0xfc00ffff, SM|RD_t|WR_t|RD_b, 0, XLR },
344-{"ldaddwu", "t,b", 0x70000011, 0xfc00ffff, SM|RD_t|WR_t|RD_b, 0, XLR },
345-{"ldaddd", "t,b", 0x70000012, 0xfc00ffff, SM|RD_t|WR_t|RD_b, 0, XLR },
346+{"ldaddw", "t,b", 0x70000010, 0xfc00ffff, SM|RD_t|WR_t|RD_b, 0, XLR|XLP },
347+{"ldaddwu", "t,b", 0x70000011, 0xfc00ffff, SM|RD_t|WR_t|RD_b, 0, XLR|XLP },
348+{"ldaddd", "t,b", 0x70000012, 0xfc00ffff, SM|RD_t|WR_t|RD_b, 0, XLR|XLP },
349 {"ldc1", "T,o(b)", 0xd4000000, 0xfc000000, CLD|RD_b|WR_T|FP_D, 0, I2 },
350 {"ldc1", "E,o(b)", 0xd4000000, 0xfc000000, CLD|RD_b|WR_T|FP_D, 0, I2 },
351 {"ldc1", "T,A(b)", 0, (int) M_LDC1_AB, INSN_MACRO, INSN2_M_FP_D, I2 },
352@@ -985,7 +991,7 @@
353 {"mflo", "d", 0x00000012, 0xffff07ff, WR_d|RD_LO, 0, I1 },
354 {"mflo", "d,9", 0x00000012, 0xff9f07ff, WR_d|RD_LO, 0, D32 },
355 {"mflhxu", "d", 0x00000052, 0xffff07ff, WR_d|MOD_HILO, 0, SMT },
356-{"mfcr", "t,s", 0x70000018, 0xfc00ffff, WR_t, 0, XLR },
357+{"mfcr", "t,s", 0x70000018, 0xfc00ffff, WR_t, 0, XLR|XLP },
358 {"min.ob", "X,Y,Q", 0x78000006, 0xfc20003f, WR_D|RD_S|RD_T|FP_D, 0, MX|SB1 },
359 {"min.ob", "D,S,T", 0x4ac00006, 0xffe0003f, WR_D|RD_S|RD_T, 0, N54 },
360 {"min.ob", "D,S,T[e]", 0x48000006, 0xfe20003f, WR_D|RD_S|RD_T, 0, N54 },
361@@ -1029,10 +1035,13 @@
362 /* move is at the top of the table. */
363 {"msgn.qh", "X,Y,Q", 0x78200000, 0xfc20003f, WR_D|RD_S|RD_T|FP_D, 0, MX },
364 {"msgsnd", "t", 0, (int) M_MSGSND, INSN_MACRO, 0, XLR },
365+{"msgsnds", "d,t", 0x4a000001, 0xffe007ff, WR_d|RD_t|RD_C0|WR_C0, 0, XLP },
366 {"msgld", "", 0, (int) M_MSGLD, INSN_MACRO, 0, XLR },
367 {"msgld", "t", 0, (int) M_MSGLD_T, INSN_MACRO, 0, XLR },
368-{"msgwait", "", 0, (int) M_MSGWAIT, INSN_MACRO, 0, XLR },
369-{"msgwait", "t", 0, (int) M_MSGWAIT_T,INSN_MACRO, 0, XLR },
370+{"msglds", "d,t", 0x4a000002, 0xffe007ff, WR_d|RD_t|RD_C0|WR_C0, 0, XLP },
371+{"msgwait", "", 0, (int) M_MSGWAIT, INSN_MACRO, 0, XLR|XLP },
372+{"msgwait", "t", 0, (int) M_MSGWAIT_T,INSN_MACRO, 0, XLR|XLP },
373+{"msgsync", "", 0x4a000004, 0xffffffff, 0, 0, XLP },
374 {"msub.d", "D,R,S,T", 0x4c000029, 0xfc00003f, RD_R|RD_S|RD_T|WR_D|FP_D, 0, I4_33 },
375 {"msub.d", "D,S,T", 0x46200019, 0xffe0003f, RD_S|RD_T|WR_D|FP_D, 0, IL2E },
376 {"msub.d", "D,S,T", 0x72200019, 0xffe0003f, RD_S|RD_T|WR_D|FP_D, 0, IL2F },
377@@ -1066,7 +1075,7 @@
378 {"mtlo", "s", 0x00000013, 0xfc1fffff, RD_s|WR_LO, 0, I1 },
379 {"mtlo", "s,7", 0x00000013, 0xfc1fe7ff, RD_s|WR_LO, 0, D32 },
380 {"mtlhx", "s", 0x00000053, 0xfc1fffff, RD_s|MOD_HILO, 0, SMT },
381-{"mtcr", "t,s", 0x70000019, 0xfc00ffff, RD_t, 0, XLR },
382+{"mtcr", "t,s", 0x70000019, 0xfc00ffff, RD_t, 0, XLR|XLP },
383 {"mtm0", "s", 0x70000008, 0xfc1fffff, RD_s, 0, IOCT },
384 {"mtm1", "s", 0x7000000c, 0xfc1fffff, RD_s, 0, IOCT },
385 {"mtm2", "s", 0x7000000d, 0xfc1fffff, RD_s, 0, IOCT },
386@@ -1425,9 +1434,9 @@
387 {"suxc1", "S,t(b)", 0x4c00000d, 0xfc0007ff, SM|RD_S|RD_t|RD_b|FP_D, 0, I5_33|N55},
388 {"sw", "t,o(b)", 0xac000000, 0xfc000000, SM|RD_t|RD_b, 0, I1 },
389 {"sw", "t,A(b)", 0, (int) M_SW_AB, INSN_MACRO, 0, I1 },
390-{"swapw", "t,b", 0x70000014, 0xfc00ffff, SM|RD_t|WR_t|RD_b, 0, XLR },
391-{"swapwu", "t,b", 0x70000015, 0xfc00ffff, SM|RD_t|WR_t|RD_b, 0, XLR },
392-{"swapd", "t,b", 0x70000016, 0xfc00ffff, SM|RD_t|WR_t|RD_b, 0, XLR },
393+{"swapw", "t,b", 0x70000014, 0xfc00ffff, SM|RD_t|WR_t|RD_b, 0, XLR|XLP },
394+{"swapwu", "t,b", 0x70000015, 0xfc00ffff, SM|RD_t|WR_t|RD_b, 0, XLR|XLP },
395+{"swapd", "t,b", 0x70000016, 0xfc00ffff, SM|RD_t|WR_t|RD_b, 0, XLR|XLP },
396 {"swc0", "E,o(b)", 0xe0000000, 0xfc000000, SM|RD_C0|RD_b, 0, I1, IOCT|IOCTP|IOCT2 },
397 {"swc0", "E,A(b)", 0, (int) M_SWC0_AB, INSN_MACRO, 0, I1, IOCT|IOCTP|IOCT2 },
398 {"swc1", "T,o(b)", 0xe4000000, 0xfc000000, SM|RD_T|RD_b|FP_S, 0, I1 },
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2.inc b/meta/recipes-devtools/binutils/binutils-2.24.inc
index 99fe2e558f..86ff9999c0 100644
--- a/meta/recipes-devtools/binutils/binutils-2.23.2.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.24.inc
@@ -1,5 +1,3 @@
1PR = "r4"
2
3LIC_FILES_CHKSUM="\ 1LIC_FILES_CHKSUM="\
4 file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\ 2 file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
5 file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\ 3 file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\
@@ -20,33 +18,15 @@ SRC_URI = "\
20 file://binutils-uclibc-300-006_better_file_error.patch \ 18 file://binutils-uclibc-300-006_better_file_error.patch \
21 file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ 19 file://binutils-uclibc-300-012_check_ldrunpath_length.patch \
22 file://binutils-uclibc-gas-needs-libm.patch \ 20 file://binutils-uclibc-gas-needs-libm.patch \
23 file://binutils-x86_64_i386_biarch.patch \
24 file://libtool-2.4-update.patch \ 21 file://libtool-2.4-update.patch \
25 file://libiberty_path_fix.patch \ 22 file://libiberty_path_fix.patch \
26 file://binutils-poison.patch \ 23 file://binutils-poison.patch \
27 file://libtool-rpath-fix.patch \ 24 file://libtool-rpath-fix.patch \
28 file://binutils-armv5e.patch \ 25 file://binutils-armv5e.patch \
29 file://mips64-default-ld-emulation.patch \ 26 file://mips64-default-ld-emulation.patch \
30 ${BACKPORT} \
31 file://binutils-fix-over-array-bounds-issue.patch \
32 file://binutils-xlp-support.patch \ 27 file://binutils-xlp-support.patch \
28 file://fix-pr15815.patch \
33 " 29 "
34 30
35BACKPORT = "\ 31SRC_URI[md5sum] = "e0f71a7b2ddab0f8612336ac81d9636b"
36 file://backport/0001-doc-binutils.texi-elfedit-Fix-use-of-itemx-in-table.patch \ 32SRC_URI[sha256sum] = "e5e8c5be9664e7f7f96e0d09919110ab5ad597794f5b1809871177a0f0f14137"
37 file://backport/0001-ld.texinfo-Replace-with-when-it-is-part-of-the-text.patch \
38 file://backport/binutils-fix-ineffectual-zero-of-cache.patch \
39 file://backport/binutils-replace-strncat-with-strcat.patch \
40 file://backport/0001-config-tc-ppc.c-md_assemble-Do-not-generate-APUinfo-.patch \
41 file://backport/binutils-fix-skip-whitespace-pr14887.patch \
42 file://backport/aarch64-crn.patch \
43 file://backport/aarch64-movi.patch \
44 file://backport/0001-config-tc-ppc.c-PPC_VLE_SPLIT16A-Delete-unused-macro.patch \
45 file://backport/0002-config-tc-ppc.c-md_apply_fix-Sign-extend-fieldval-un.patch \
46 file://backport/0001-emultempl-elf32.em-gld-EMULATION_NAME-_before_alloca.patch \
47 file://backport/0002-emultempl-elf32.em-gld-EMULATION_NAME-_before_alloca.patch \
48 file://backport/0003-gold.patch \
49"
50SRC_URI[md5sum] = "4f8fa651e35ef262edc01d60fb45702e"
51SRC_URI[sha256sum] = "fe914e56fed7a9ec2eb45274b1f2e14b0d8b4f41906a5194eac6883cfe5c1097"
52
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.23.2.bb b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.24.bb
index 5dbaa03017..5dbaa03017 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.23.2.bb
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.24.bb
diff --git a/meta/recipes-devtools/binutils/binutils-cross_2.23.2.bb b/meta/recipes-devtools/binutils/binutils-cross_2.24.bb
index fbd1f7d25a..fbd1f7d25a 100644
--- a/meta/recipes-devtools/binutils/binutils-cross_2.23.2.bb
+++ b/meta/recipes-devtools/binutils/binutils-cross_2.24.bb
diff --git a/meta/recipes-devtools/binutils/binutils-crosssdk_2.23.2.bb b/meta/recipes-devtools/binutils/binutils-crosssdk_2.24.bb
index 8af407f6e0..8af407f6e0 100644
--- a/meta/recipes-devtools/binutils/binutils-crosssdk_2.23.2.bb
+++ b/meta/recipes-devtools/binutils/binutils-crosssdk_2.24.bb
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-armv5e.patch b/meta/recipes-devtools/binutils/binutils/binutils-armv5e.patch
index 97ad6dffba..97ad6dffba 100644
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-armv5e.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-armv5e.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-poison.patch b/meta/recipes-devtools/binutils/binutils/binutils-poison.patch
index 39cae5155d..996c023810 100644
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-poison.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-poison.patch
@@ -52,10 +52,10 @@ Code Merged from Sourcery G++ binutils 2.19 - 4.4-277
52Signed-off-by: Mark Hatle <mark.hatle@windriver.com> 52Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
53Signed-off-by: Scott Garman <scott.a.garman@intel.com> 53Signed-off-by: Scott Garman <scott.a.garman@intel.com>
54 54
55Index: binutils-2.22.90/ld/config.in 55Index: binutils-2.24/ld/config.in
56=================================================================== 56===================================================================
57--- binutils-2.22.90.orig/ld/config.in 2012-05-17 08:13:21.000000000 -0700 57--- binutils-2.24.orig/ld/config.in 2013-12-15 11:46:17.000000000 -0800
58+++ binutils-2.22.90/ld/config.in 2012-08-07 23:09:34.834490113 -0700 58+++ binutils-2.24/ld/config.in 2013-12-15 11:46:59.810435651 -0800
59@@ -11,6 +11,9 @@ 59@@ -11,6 +11,9 @@
60 language is requested. */ 60 language is requested. */
61 #undef ENABLE_NLS 61 #undef ENABLE_NLS
@@ -66,11 +66,11 @@ Index: binutils-2.22.90/ld/config.in
66 /* Additional extension a shared object might have. */ 66 /* Additional extension a shared object might have. */
67 #undef EXTRA_SHLIB_EXTENSION 67 #undef EXTRA_SHLIB_EXTENSION
68 68
69Index: binutils-2.22.90/ld/configure 69Index: binutils-2.24/ld/configure
70=================================================================== 70===================================================================
71--- binutils-2.22.90.orig/ld/configure 2012-08-07 23:08:50.000000000 -0700 71--- binutils-2.24.orig/ld/configure 2013-12-15 11:46:17.000000000 -0800
72+++ binutils-2.22.90/ld/configure 2012-08-07 23:09:34.838490177 -0700 72+++ binutils-2.24/ld/configure 2013-12-15 11:46:59.810435651 -0800
73@@ -776,6 +776,7 @@ 73@@ -777,6 +777,7 @@
74 enable_targets 74 enable_targets
75 enable_64_bit_bfd 75 enable_64_bit_bfd
76 with_sysroot 76 with_sysroot
@@ -78,7 +78,7 @@ Index: binutils-2.22.90/ld/configure
78 enable_gold 78 enable_gold
79 enable_got 79 enable_got
80 enable_werror 80 enable_werror
81@@ -1432,6 +1433,8 @@ 81@@ -1433,6 +1434,8 @@
82 (and sometimes confusing) to the casual installer 82 (and sometimes confusing) to the casual installer
83 --enable-targets alternative target configurations 83 --enable-targets alternative target configurations
84 --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) 84 --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
@@ -87,7 +87,7 @@ Index: binutils-2.22.90/ld/configure
87 --enable-gold[=ARG] build gold [ARG={default,yes,no}] 87 --enable-gold[=ARG] build gold [ARG={default,yes,no}]
88 --enable-got=<type> GOT handling scheme (target, single, negative, 88 --enable-got=<type> GOT handling scheme (target, single, negative,
89 multigot) 89 multigot)
90@@ -4344,7 +4347,18 @@ 90@@ -4345,7 +4348,18 @@
91 fi 91 fi
92 92
93 93
@@ -106,11 +106,11 @@ Index: binutils-2.22.90/ld/configure
106 106
107 # Check whether --enable-got was given. 107 # Check whether --enable-got was given.
108 if test "${enable_got+set}" = set; then : 108 if test "${enable_got+set}" = set; then :
109Index: binutils-2.22.90/ld/configure.in 109Index: binutils-2.24/ld/configure.in
110=================================================================== 110===================================================================
111--- binutils-2.22.90.orig/ld/configure.in 2012-05-17 08:13:23.000000000 -0700 111--- binutils-2.24.orig/ld/configure.in 2013-12-15 11:46:17.000000000 -0800
112+++ binutils-2.22.90/ld/configure.in 2012-08-07 23:09:34.838490177 -0700 112+++ binutils-2.24/ld/configure.in 2013-12-15 11:46:59.810435651 -0800
113@@ -70,6 +70,16 @@ 113@@ -87,6 +87,16 @@
114 AC_SUBST(TARGET_SYSTEM_ROOT) 114 AC_SUBST(TARGET_SYSTEM_ROOT)
115 AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) 115 AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE)
116 116
@@ -127,10 +127,10 @@ Index: binutils-2.22.90/ld/configure.in
127 dnl Use --enable-gold to decide if this linker should be the default. 127 dnl Use --enable-gold to decide if this linker should be the default.
128 dnl "install_as_default" is set to false if gold is the default linker. 128 dnl "install_as_default" is set to false if gold is the default linker.
129 dnl "installed_linker" is the installed BFD linker name. 129 dnl "installed_linker" is the installed BFD linker name.
130Index: binutils-2.22.90/ld/ldfile.c 130Index: binutils-2.24/ld/ldfile.c
131=================================================================== 131===================================================================
132--- binutils-2.22.90.orig/ld/ldfile.c 2012-07-13 06:20:26.000000000 -0700 132--- binutils-2.24.orig/ld/ldfile.c 2013-12-15 11:46:17.000000000 -0800
133+++ binutils-2.22.90/ld/ldfile.c 2012-08-07 23:30:35.166538044 -0700 133+++ binutils-2.24/ld/ldfile.c 2013-12-15 11:46:59.813768989 -0800
134@@ -116,6 +116,23 @@ 134@@ -116,6 +116,23 @@
135 new_dirs->name = concat (ld_sysroot, name + 1, (const char *) NULL); 135 new_dirs->name = concat (ld_sysroot, name + 1, (const char *) NULL);
136 else 136 else
@@ -155,11 +155,11 @@ Index: binutils-2.22.90/ld/ldfile.c
155 } 155 }
156 156
157 /* Try to open a BFD for a lang_input_statement. */ 157 /* Try to open a BFD for a lang_input_statement. */
158Index: binutils-2.22.90/ld/ld.h 158Index: binutils-2.24/ld/ld.h
159=================================================================== 159===================================================================
160--- binutils-2.22.90.orig/ld/ld.h 2012-07-09 23:50:55.000000000 -0700 160--- binutils-2.24.orig/ld/ld.h 2013-12-15 11:46:17.000000000 -0800
161+++ binutils-2.22.90/ld/ld.h 2012-08-07 23:09:34.838490177 -0700 161+++ binutils-2.24/ld/ld.h 2013-12-15 11:46:59.813768989 -0800
162@@ -203,6 +203,14 @@ 162@@ -180,6 +180,14 @@
163 /* If TRUE we'll just print the default output on stdout. */ 163 /* If TRUE we'll just print the default output on stdout. */
164 bfd_boolean print_output_format; 164 bfd_boolean print_output_format;
165 165
@@ -174,24 +174,24 @@ Index: binutils-2.22.90/ld/ld.h
174 /* Big or little endian as set on command line. */ 174 /* Big or little endian as set on command line. */
175 enum endian_enum endian; 175 enum endian_enum endian;
176 176
177Index: binutils-2.22.90/ld/ldmain.c 177Index: binutils-2.24/ld/ldmain.c
178=================================================================== 178===================================================================
179--- binutils-2.22.90.orig/ld/ldmain.c 2012-07-13 06:20:26.000000000 -0700 179--- binutils-2.24.orig/ld/ldmain.c 2013-12-15 11:46:17.000000000 -0800
180+++ binutils-2.22.90/ld/ldmain.c 2012-08-07 23:09:34.846490172 -0700 180+++ binutils-2.24/ld/ldmain.c 2013-12-15 11:48:12.087101740 -0800
181@@ -265,6 +265,8 @@ 181@@ -266,6 +266,8 @@
182 command_line.warn_mismatch = TRUE;
182 command_line.warn_search_mismatch = TRUE; 183 command_line.warn_search_mismatch = TRUE;
183 command_line.check_section_addresses = -1; 184 command_line.check_section_addresses = -1;
184 command_line.disable_target_specific_optimizations = -1;
185+ command_line.poison_system_directories = TRUE; 185+ command_line.poison_system_directories = TRUE;
186+ command_line.error_poison_system_directories = FALSE; 186+ command_line.error_poison_system_directories = FALSE;
187 187
188 /* We initialize DEMANGLING based on the environment variable 188 /* We initialize DEMANGLING based on the environment variable
189 COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the 189 COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the
190Index: binutils-2.22.90/ld/ld.texinfo 190Index: binutils-2.24/ld/ld.texinfo
191=================================================================== 191===================================================================
192--- binutils-2.22.90.orig/ld/ld.texinfo 2012-07-09 23:50:55.000000000 -0700 192--- binutils-2.24.orig/ld/ld.texinfo 2013-12-15 11:46:17.000000000 -0800
193+++ binutils-2.22.90/ld/ld.texinfo 2012-08-07 23:09:34.850490143 -0700 193+++ binutils-2.24/ld/ld.texinfo 2013-12-15 11:46:59.813768989 -0800
194@@ -2147,6 +2147,18 @@ 194@@ -2175,6 +2175,18 @@
195 195
196 Passing @code{none} for @var{style} disables the setting from any 196 Passing @code{none} for @var{style} disables the setting from any
197 @code{--build-id} options earlier on the command line. 197 @code{--build-id} options earlier on the command line.
@@ -210,26 +210,26 @@ Index: binutils-2.22.90/ld/ld.texinfo
210 @end table 210 @end table
211 211
212 @c man end 212 @c man end
213Index: binutils-2.22.90/ld/lexsup.c 213Index: binutils-2.24/ld/lexsup.c
214=================================================================== 214===================================================================
215--- binutils-2.22.90.orig/ld/lexsup.c 2012-07-13 06:20:26.000000000 -0700 215--- binutils-2.24.orig/ld/lexsup.c 2013-12-15 11:46:17.000000000 -0800
216+++ binutils-2.22.90/ld/lexsup.c 2012-08-07 23:09:34.850490143 -0700 216+++ binutils-2.24/ld/lexsup.c 2013-12-15 11:49:28.950434490 -0800
217@@ -496,6 +496,14 @@ 217@@ -507,6 +507,14 @@
218 TWO_DASHES }, 218 OPTION_IGNORE_UNRESOLVED_SYMBOL},
219 { {"wrap", required_argument, NULL, OPTION_WRAP}, 219 '\0', N_("SYMBOL"),
220 '\0', N_("SYMBOL"), N_("Use wrapper functions for SYMBOL"), TWO_DASHES }, 220 N_("Unresolved SYMBOL will not cause an error or warning"), TWO_DASHES },
221+ { {"no-poison-system-directories", no_argument, NULL, 221+ { {"no-poison-system-directories", no_argument, NULL,
222+ OPTION_NO_POISON_SYSTEM_DIRECTORIES}, 222+ OPTION_NO_POISON_SYSTEM_DIRECTORIES},
223+ '\0', NULL, N_("Do not warn for -L options using system directories"), 223+ '\0', NULL, N_("Do not warn for -L options using system directories"),
224+ TWO_DASHES }, 224+ TWO_DASHES },
225+ { {"error-poison-system-directories", no_argument, NULL, 225+ { {"error-poison-system-directories", no_argument, NULL,
226+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES}, 226+ + OPTION_ERROR_POISON_SYSTEM_DIRECTORIES},
227+ '\0', NULL, N_("Give an error for -L options using system directories"), 227+ '\0', NULL, N_("Give an error for -L options using system directories"),
228+ TWO_DASHES }, 228+ TWO_DASHES },
229 }; 229 };
230 230
231 #define OPTION_COUNT ARRAY_SIZE (ld_options) 231 #define OPTION_COUNT ARRAY_SIZE (ld_options)
232@@ -1424,6 +1432,14 @@ 232@@ -1442,6 +1450,14 @@
233 einfo (_("%P%X: --hash-size needs a numeric argument\n")); 233 einfo (_("%P%X: --hash-size needs a numeric argument\n"));
234 } 234 }
235 break; 235 break;
@@ -244,16 +244,16 @@ Index: binutils-2.22.90/ld/lexsup.c
244 } 244 }
245 } 245 }
246 246
247Index: binutils-2.22.90/ld/ldlex.h 247Index: binutils-2.24/ld/ldlex.h
248=================================================================== 248===================================================================
249--- binutils-2.22.90.orig/ld/ldlex.h 2012-05-26 04:13:19.000000000 -0700 249--- binutils-2.24.orig/ld/ldlex.h 2013-12-15 11:46:17.000000000 -0800
250+++ binutils-2.22.90/ld/ldlex.h 2012-08-07 23:34:17.122546581 -0700 250+++ binutils-2.24/ld/ldlex.h 2013-12-15 11:47:43.230435299 -0800
251@@ -135,6 +135,8 @@ 251@@ -138,6 +138,8 @@
252 #endif /* ENABLE_PLUGINS */
253 OPTION_DEFAULT_SCRIPT, 252 OPTION_DEFAULT_SCRIPT,
254 OPTION_PRINT_OUTPUT_FORMAT, 253 OPTION_PRINT_OUTPUT_FORMAT,
254 OPTION_IGNORE_UNRESOLVED_SYMBOL,
255+ OPTION_NO_POISON_SYSTEM_DIRECTORIES, 255+ OPTION_NO_POISON_SYSTEM_DIRECTORIES,
256+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES 256+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES,
257 }; 257 };
258 258
259 /* The initial parser states. */ 259 /* The initial parser states. */
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-100-uclibc-conf.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch
index b5a25c2389..b5a25c2389 100644
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-100-uclibc-conf.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-300-001_ld_makefile_patch.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch
index c6e1efcea0..c6e1efcea0 100644
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-300-001_ld_makefile_patch.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-300-006_better_file_error.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch
index 47bd8ff109..47bd8ff109 100644
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-300-006_better_file_error.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-300-012_check_ldrunpath_length.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch
index d31f80cd3d..d31f80cd3d 100644
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-300-012_check_ldrunpath_length.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-gas-needs-libm.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch
index 3869faff0e..3869faff0e 100644
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-gas-needs-libm.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch
diff --git a/meta/recipes-devtools/binutils/binutils/binutils-xlp-support.patch b/meta/recipes-devtools/binutils/binutils/binutils-xlp-support.patch
new file mode 100644
index 0000000000..a1999184be
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/binutils-xlp-support.patch
@@ -0,0 +1,402 @@
1Upstream-Status: Unknown
2Signed-off-by: Khem Raj <raj.khem@gmail.com>
3
4From 26adb06ce515aadfec08ce13109b4b98287f677b Mon Sep 17 00:00:00 2001
5From: Nebu Philips <nphilips@netlogicmicro.com>
6Date: Fri, 30 Jul 2010 15:10:03 -0700
7Subject: [PATCH] Add support for Netlogic XLP
8
9Using the mipsisa64r2nlm target, add support for XLP from
10Netlogic. Also, update vendor name to NLM wherever applicable.
11---
12 bfd/aoutx.h | 1 +
13 bfd/archures.c | 1 +
14 bfd/bfd-in2.h | 1 +
15 bfd/config.bfd | 5 +++++
16 bfd/cpu-mips.c | 6 ++++--
17 bfd/elfxx-mips.c | 8 ++++++++
18 binutils/readelf.c | 1 +
19 config.sub | 6 ++++++
20 gas/config/tc-mips.c | 7 ++++++-
21 gas/configure | 3 +++
22 gas/configure.tgt | 2 +-
23 gas/doc/c-mips.texi | 3 ++-
24 include/elf/mips.h | 1 +
25 include/opcode/mips.h | 6 +++++-
26 ld/configure.tgt | 2 ++
27 opcodes/mips-dis.c | 6 ++++++
28 opcodes/mips-opc.c | 31 ++++++++++++++++++++-----------
29 17 files changed, 73 insertions(+), 17 deletions(-)
30
31Index: binutils-2.24/bfd/aoutx.h
32===================================================================
33--- binutils-2.24.orig/bfd/aoutx.h 2013-12-15 13:07:57.180399300 -0800
34+++ binutils-2.24/bfd/aoutx.h 2013-12-15 13:08:03.397065919 -0800
35@@ -798,6 +798,7 @@
36 case bfd_mach_mipsisa64r2:
37 case bfd_mach_mips_sb1:
38 case bfd_mach_mips_xlr:
39+ case bfd_mach_mips_xlp:
40 /* FIXME: These should be MIPS3, MIPS4, MIPS16, MIPS32, etc. */
41 arch_flags = M_MIPS2;
42 break;
43Index: binutils-2.24/bfd/archures.c
44===================================================================
45--- binutils-2.24.orig/bfd/archures.c 2013-12-15 13:07:57.180399300 -0800
46+++ binutils-2.24/bfd/archures.c 2013-12-15 13:08:03.397065919 -0800
47@@ -178,6 +178,7 @@
48 .#define bfd_mach_mips_octeonp 6601
49 .#define bfd_mach_mips_octeon2 6502
50 .#define bfd_mach_mips_xlr 887682 {* decimal 'XLR' *}
51+.#define bfd_mach_mips_xlp 887680 {* decimal 'XLP' *}
52 .#define bfd_mach_mipsisa32 32
53 .#define bfd_mach_mipsisa32r2 33
54 .#define bfd_mach_mipsisa64 64
55Index: binutils-2.24/bfd/bfd-in2.h
56===================================================================
57--- binutils-2.24.orig/bfd/bfd-in2.h 2013-12-15 13:07:57.180399300 -0800
58+++ binutils-2.24/bfd/bfd-in2.h 2013-12-15 13:08:03.400399254 -0800
59@@ -1933,6 +1933,7 @@
60 #define bfd_mach_mips_octeonp 6601
61 #define bfd_mach_mips_octeon2 6502
62 #define bfd_mach_mips_xlr 887682 /* decimal 'XLR' */
63+#define bfd_mach_mips_xlp 887680 /* decimal 'XLP' */
64 #define bfd_mach_mipsisa32 32
65 #define bfd_mach_mipsisa32r2 33
66 #define bfd_mach_mipsisa64 64
67Index: binutils-2.24/bfd/config.bfd
68===================================================================
69--- binutils-2.24.orig/bfd/config.bfd 2013-12-15 13:08:03.047065922 -0800
70+++ binutils-2.24/bfd/config.bfd 2013-12-15 13:08:03.400399254 -0800
71@@ -1032,6 +1032,11 @@
72 targ_defvec=bfd_elf32_littlemips_vec
73 targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
74 ;;
75+ mipsisa64*-*-elf*)
76+ targ_defvec=bfd_elf32_tradbigmips_vec
77+ targ_selvecs="bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec"
78+ want64=true
79+ ;;
80 mips*-*-elf* | mips*-*-rtems* | mips*-*-vxworks | mips*-*-windiss)
81 targ_defvec=bfd_elf32_bigmips_vec
82 targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
83Index: binutils-2.24/bfd/cpu-mips.c
84===================================================================
85--- binutils-2.24.orig/bfd/cpu-mips.c 2013-12-15 13:07:57.180399300 -0800
86+++ binutils-2.24/bfd/cpu-mips.c 2013-12-15 13:08:03.400399254 -0800
87@@ -99,7 +99,8 @@
88 I_mipsocteonp,
89 I_mipsocteon2,
90 I_xlr,
91- I_micromips
92+ I_micromips,
93+ I_xlp
94 };
95
96 #define NN(index) (&arch_info_struct[(index) + 1])
97@@ -143,7 +144,8 @@
98 N (64, 64, bfd_mach_mips_octeonp,"mips:octeon+", FALSE, NN(I_mipsocteonp)),
99 N (64, 64, bfd_mach_mips_octeon2,"mips:octeon2", FALSE, NN(I_mipsocteon2)),
100 N (64, 64, bfd_mach_mips_xlr, "mips:xlr", FALSE, NN(I_xlr)),
101- N (64, 64, bfd_mach_mips_micromips,"mips:micromips",FALSE,0)
102+ N (64, 64, bfd_mach_mips_micromips,"mips:micromips",FALSE,NN(I_micromips)),
103+ N (64, 64, bfd_mach_mips_xlp, "mips:xlp", FALSE, 0)
104 };
105
106 /* The default architecture is mips:3000, but with a machine number of
107Index: binutils-2.24/bfd/elfxx-mips.c
108===================================================================
109--- binutils-2.24.orig/bfd/elfxx-mips.c 2013-12-15 13:07:57.180399300 -0800
110+++ binutils-2.24/bfd/elfxx-mips.c 2013-12-15 13:08:03.400399254 -0800
111@@ -6404,6 +6404,9 @@
112 case E_MIPS_MACH_XLR:
113 return bfd_mach_mips_xlr;
114
115+ case E_MIPS_MACH_XLP:
116+ return bfd_mach_mips_xlp;
117+
118 default:
119 switch (flags & EF_MIPS_ARCH)
120 {
121@@ -11622,6 +11625,10 @@
122 val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON2;
123 break;
124
125+ case bfd_mach_mips_xlp:
126+ val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_XLP;
127+ break;
128+
129 case bfd_mach_mipsisa32:
130 val = E_MIPS_ARCH_32;
131 break;
132@@ -14202,6 +14209,7 @@
133 { bfd_mach_mips_octeon2, bfd_mach_mips_octeonp },
134 { bfd_mach_mips_octeonp, bfd_mach_mips_octeon },
135 { bfd_mach_mips_octeon, bfd_mach_mipsisa64r2 },
136+ { bfd_mach_mips_xlp, bfd_mach_mipsisa64r2 },
137
138 /* MIPS64 extensions. */
139 { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 },
140Index: binutils-2.24/binutils/readelf.c
141===================================================================
142--- binutils-2.24.orig/binutils/readelf.c 2013-12-15 13:07:57.180399300 -0800
143+++ binutils-2.24/binutils/readelf.c 2013-12-15 13:08:03.403732587 -0800
144@@ -2602,6 +2602,7 @@
145 case E_MIPS_MACH_OCTEON: strcat (buf, ", octeon"); break;
146 case E_MIPS_MACH_OCTEON2: strcat (buf, ", octeon2"); break;
147 case E_MIPS_MACH_XLR: strcat (buf, ", xlr"); break;
148+ case E_MIPS_MACH_XLP: strcat (buf, ", xlp"); break;
149 case 0:
150 /* We simply ignore the field in this case to avoid confusion:
151 MIPS ELF does not specify EF_MIPS_MACH, it is a GNU
152Index: binutils-2.24/gas/config/tc-mips.c
153===================================================================
154--- binutils-2.24.orig/gas/config/tc-mips.c 2013-12-15 13:07:57.180399300 -0800
155+++ binutils-2.24/gas/config/tc-mips.c 2013-12-15 13:17:19.943728439 -0800
156@@ -486,6 +486,7 @@
157 || mips_opts.arch == CPU_RM7000 \
158 || mips_opts.arch == CPU_VR5500 \
159 || mips_opts.micromips \
160+ || mips_opts.arch == CPU_XLP \
161 )
162
163 /* Whether the processor uses hardware interlocks to protect reads
164@@ -515,6 +516,7 @@
165 && mips_opts.isa != ISA_MIPS3) \
166 || mips_opts.arch == CPU_R4300 \
167 || mips_opts.micromips \
168+ || mips_opts.arch == CPU_XLP \
169 )
170
171 /* Whether the processor uses hardware interlocks to protect reads
172@@ -17794,7 +17796,7 @@
173 /* Broadcom XLP.
174 XLP is mostly like XLR, with the prominent exception that it is
175 MIPS64R2 rather than MIPS64. */
176- { "xlp", 0, 0, ISA_MIPS64R2, CPU_XLR },
177+ { "xlp", 0, 0, ISA_MIPS64R2, CPU_XLP },
178
179 /* End marker */
180 { NULL, 0, 0, 0, 0 }
181Index: binutils-2.24/gas/configure
182===================================================================
183--- binutils-2.24.orig/gas/configure 2013-12-15 13:08:01.127065936 -0800
184+++ binutils-2.24/gas/configure 2013-12-15 13:08:03.407065920 -0800
185@@ -12697,6 +12697,9 @@
186 mipsisa64r2 | mipsisa64r2el)
187 mips_cpu=mips64r2
188 ;;
189+ mipsisa64r2nlm | mipsisa64r2nlmel)
190+ mips_cpu=xlp
191+ ;;
192 mipstx39 | mipstx39el)
193 mips_cpu=r3900
194 ;;
195Index: binutils-2.24/gas/configure.tgt
196===================================================================
197--- binutils-2.24.orig/gas/configure.tgt 2013-12-15 13:08:00.783732605 -0800
198+++ binutils-2.24/gas/configure.tgt 2013-12-15 13:08:03.407065920 -0800
199@@ -325,7 +325,7 @@
200 fmt=elf em=freebsd ;;
201 mips-*-sysv4*MP* | mips-*-gnu*) fmt=elf em=tmips ;;
202 mips*-sde-elf* | mips*-mti-elf*) fmt=elf em=tmips ;;
203- mips-*-elf* | mips-*-rtems*) fmt=elf ;;
204+ mips-*-elf* | mips-*-rtems*) fmt=elf em=tmips ;;
205 mips-*-netbsd*) fmt=elf em=tmips ;;
206 mips-*-openbsd*) fmt=elf em=tmips ;;
207
208Index: binutils-2.24/include/elf/mips.h
209===================================================================
210--- binutils-2.24.orig/include/elf/mips.h 2013-12-15 13:07:57.180399300 -0800
211+++ binutils-2.24/include/elf/mips.h 2013-12-15 13:08:03.407065920 -0800
212@@ -274,6 +274,7 @@
213 #define E_MIPS_MACH_SB1 0x008a0000
214 #define E_MIPS_MACH_OCTEON 0x008b0000
215 #define E_MIPS_MACH_XLR 0x008c0000
216+#define E_MIPS_MACH_XLP 0x008e0000
217 #define E_MIPS_MACH_OCTEON2 0x008d0000
218 #define E_MIPS_MACH_5400 0x00910000
219 #define E_MIPS_MACH_5900 0x00920000
220Index: binutils-2.24/include/opcode/mips.h
221===================================================================
222--- binutils-2.24.orig/include/opcode/mips.h 2013-12-15 13:07:57.180399300 -0800
223+++ binutils-2.24/include/opcode/mips.h 2013-12-15 13:40:11.130384844 -0800
224@@ -1092,8 +1092,10 @@
225 #define INSN_LOONGSON_2F 0x80000000
226 /* Loongson 3A. */
227 #define INSN_LOONGSON_3A 0x00000400
228-/* RMI Xlr instruction */
229-#define INSN_XLR 0x00000020
230+/* Netlogic Xlr instruction */
231+#define INSN_XLR 0x00000020
232+/* Netlogic XlP instruction */
233+#define INSN_XLP 0x00000040
234
235 /* DSP ASE */
236 #define ASE_DSP 0x00000001
237@@ -1172,6 +1174,7 @@
238 #define CPU_OCTEONP 6601
239 #define CPU_OCTEON2 6502
240 #define CPU_XLR 887682 /* decimal 'XLR' */
241+#define CPU_XLP 887680 /* decimal 'XLP' */
242
243 /* Return true if the given CPU is included in INSN_* mask MASK. */
244
245@@ -1239,6 +1242,9 @@
246 case CPU_XLR:
247 return (mask & INSN_XLR) != 0;
248
249+ case CPU_XLP:
250+ return (mask & INSN_XLP) != 0;
251+
252 default:
253 return FALSE;
254 }
255Index: binutils-2.24/ld/configure.tgt
256===================================================================
257--- binutils-2.24.orig/ld/configure.tgt 2013-12-15 13:08:03.047065922 -0800
258+++ binutils-2.24/ld/configure.tgt 2013-12-15 13:08:03.407065920 -0800
259@@ -457,6 +457,8 @@
260 mips*-sde-elf* | mips*-mti-elf*)
261 targ_emul=elf32btsmip
262 targ_extra_emuls="elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip" ;;
263+mipsisa64*-*-elf*) targ_emul=elf32btsmip
264+ targ_extra_emuls="elf32ltsmip elf64btsmip elf64ltsmip" ;;
265 mips64*el-ps2-elf*) targ_emul=elf32lr5900n32
266 targ_extra_emuls="elf32lr5900"
267 targ_extra_libpath=$targ_extra_emuls ;;
268Index: binutils-2.24/opcodes/mips-dis.c
269===================================================================
270--- binutils-2.24.orig/opcodes/mips-dis.c 2013-12-15 13:07:57.180399300 -0800
271+++ binutils-2.24/opcodes/mips-dis.c 2013-12-15 13:39:50.243718329 -0800
272@@ -554,13 +554,11 @@
273 mips_cp0sel_names_xlr, ARRAY_SIZE (mips_cp0sel_names_xlr),
274 mips_hwr_names_numeric },
275
276- /* XLP is mostly like XLR, with the prominent exception it is being
277- MIPS64R2. */
278- { "xlp", 1, bfd_mach_mips_xlr, CPU_XLR,
279- ISA_MIPS64R2 | INSN_XLR, 0,
280- mips_cp0_names_xlr,
281- mips_cp0sel_names_xlr, ARRAY_SIZE (mips_cp0sel_names_xlr),
282- mips_hwr_names_numeric },
283+ { "xlp", 1, bfd_mach_mips_xlp, CPU_XLP,
284+ ISA_MIPS64R2 | INSN_XLP, 0,
285+ mips_cp0_names_mips3264r2,
286+ mips_cp0sel_names_mips3264r2, ARRAY_SIZE (mips_cp0sel_names_mips3264r2),
287+ mips_hwr_names_mips3264r2 },
288
289 /* This entry, mips16, is here only for ISA/processor selection; do
290 not print its name. */
291Index: binutils-2.24/opcodes/mips-opc.c
292===================================================================
293--- binutils-2.24.orig/opcodes/mips-opc.c 2013-12-15 13:07:57.180399300 -0800
294+++ binutils-2.24/opcodes/mips-opc.c 2013-12-15 13:27:30.573724118 -0800
295@@ -262,7 +262,8 @@
296 #define IOCT (INSN_OCTEON | INSN_OCTEONP | INSN_OCTEON2)
297 #define IOCTP (INSN_OCTEONP | INSN_OCTEON2)
298 #define IOCT2 INSN_OCTEON2
299-#define XLR INSN_XLR
300+#define XLR INSN_XLR
301+#define XLP INSN_XLP
302 #define IVIRT ASE_VIRT
303 #define IVIRT64 ASE_VIRT64
304
305@@ -881,6 +882,7 @@
306 {"cins", "t,r,+p,+S", 0x70000032, 0xfc00003f, WR_1|RD_2, 0, IOCT, 0, 0 },
307 {"clo", "U,s", 0x70000021, 0xfc0007ff, WR_1|RD_2, 0, I32|N55, 0, 0 },
308 {"clz", "U,s", 0x70000020, 0xfc0007ff, WR_1|RD_2, 0, I32|N55, 0, 0 },
309+{"crc", "d,s,t", 0x7000001c, 0xfc0007ff, WR_1|RD_2|RD_3, 0, XLP, 0, 0 },
310 {"ctc0", "t,G", 0x40c00000, 0xffe007ff, RD_1|WR_CC|COD, 0, I1, 0, IOCT|IOCTP|IOCT2 },
311 {"ctc1", "t,G", 0x44c00000, 0xffe007ff, RD_1|WR_CC|COD|FP_S, 0, I1, 0, 0 },
312 {"ctc1", "t,S", 0x44c00000, 0xffe007ff, RD_1|WR_CC|COD|FP_S, 0, I1, 0, 0 },
313@@ -913,10 +915,11 @@
314 {"daddiu", "t,r,j", 0x64000000, 0xfc000000, WR_1|RD_2, 0, I3, 0, 0 },
315 {"daddu", "d,v,t", 0x0000002d, 0xfc0007ff, WR_1|RD_2|RD_3, 0, I3, 0, 0 },
316 {"daddu", "t,r,I", 0, (int) M_DADDU_I, INSN_MACRO, 0, I3, 0, 0 },
317-{"daddwc", "d,s,t", 0x70000038, 0xfc0007ff, WR_1|RD_2|RD_3|WR_C0|RD_C0, 0, XLR, 0, 0 },
318+{"daddwc", "d,s,t", 0x70000038, 0xfc0007ff, WR_1|RD_2|RD_3|WR_C0|RD_C0, 0, XLR|XLP, 0, 0 },
319 {"dbreak", "", 0x7000003f, 0xffffffff, 0, 0, N5, 0, 0 },
320 {"dclo", "U,s", 0x70000025, 0xfc0007ff, WR_1|RD_2, 0, I64|N55, 0, 0 },
321 {"dclz", "U,s", 0x70000024, 0xfc0007ff, WR_1|RD_2, 0, I64|N55, 0, 0 },
322+{"dcrc", "d,s,t", 0x7000001d, 0xfc0007ff, WR_1|RD_2|RD_3, 0, XLP, 0, 0 },
323 /* dctr and dctw are used on the r5000. */
324 {"dctr", "o(b)", 0xbc050000, 0xfc1f0000, RD_2, 0, I3, 0, 0 },
325 {"dctw", "o(b)", 0xbc090000, 0xfc1f0000, RD_2, 0, I3, 0, 0 },
326@@ -980,6 +983,7 @@
327 {"dmfc0", "t,G,H", 0x40200000, 0xffe007f8, WR_1|RD_C0|LCD, 0, I64, 0, 0 },
328 {"dmfgc0", "t,G", 0x40600100, 0xffe007ff, WR_1|RD_C0|LCD, 0, 0, IVIRT64, 0 },
329 {"dmfgc0", "t,G,H", 0x40600100, 0xffe007f8, WR_1|RD_C0|LCD, 0, 0, IVIRT64, 0 },
330+{"dmfur", "t,d", 0x7000001e, 0xffe007ff, WR_1, 0, XLP, 0, 0 },
331 {"dmt", "", 0x41600bc1, 0xffffffff, TRAP, 0, 0, MT32, 0 },
332 {"dmt", "t", 0x41600bc1, 0xffe0ffff, WR_1|TRAP, 0, 0, MT32, 0 },
333 {"dmtc0", "t,G", 0x40a00000, 0xffe007ff, RD_1|WR_C0|WR_CC|COD, 0, I3, 0, EE },
334@@ -994,6 +998,8 @@
335 /* dmtc2 is at the bottom of the table. */
336 /* dmfc3 is at the bottom of the table. */
337 /* dmtc3 is at the bottom of the table. */
338+{"dmtur", "t,d", 0x7000001f, 0xffe007ff, RD_1, 0, XLP, 0, 0 },
339+{"dmul", "d,s,t", 0x70000006, 0xfc0007ff, WR_1|RD_2|RD_3, 0, XLP, 0, 0 },
340 {"dmul", "d,v,t", 0x70000003, 0xfc0007ff, WR_1|RD_2|RD_3|WR_HILO, 0, IOCT, 0, 0 },
341 {"dmul", "d,v,t", 0, (int) M_DMUL, INSN_MACRO, 0, I3, 0, M32 },
342 {"dmul", "d,v,I", 0, (int) M_DMUL_I, INSN_MACRO, 0, I3, 0, M32 },
343@@ -1134,9 +1140,9 @@
344 /* The macro has to be first to handle o32 correctly. */
345 {"ld", "t,A(b)", 0, (int) M_LD_AB, INSN_MACRO, 0, I1, 0, 0 },
346 {"ld", "t,o(b)", 0xdc000000, 0xfc000000, WR_1|RD_3, 0, I3, 0, 0 },
347-{"ldaddw", "t,b", 0x70000010, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR, 0, 0 },
348-{"ldaddwu", "t,b", 0x70000011, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR, 0, 0 },
349-{"ldaddd", "t,b", 0x70000012, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR, 0, 0 },
350+{"ldaddw", "t,b", 0x70000010, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR|XLP, 0, 0 },
351+{"ldaddwu", "t,b", 0x70000011, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR|XLP, 0, 0 },
352+{"ldaddd", "t,b", 0x70000012, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR|XLP, 0, 0 },
353 {"ldc1", "T,o(b)", 0xd4000000, 0xfc000000, WR_1|RD_3|CLD|FP_D, 0, I2, 0, SF },
354 {"ldc1", "E,o(b)", 0xd4000000, 0xfc000000, WR_1|RD_3|CLD|FP_D, 0, I2, 0, SF },
355 {"ldc1", "T,A(b)", 0, (int) M_LDC1_AB, INSN_MACRO, INSN2_M_FP_D, I2, 0, SF },
356@@ -1288,7 +1294,7 @@
357 {"mflo", "d,9", 0x00000012, 0xff9f07ff, WR_1|RD_LO, 0, 0, D32, 0 },
358 {"mflo1", "d", 0x70000012, 0xffff07ff, WR_1|RD_LO, 0, EE, 0, 0 },
359 {"mflhxu", "d", 0x00000052, 0xffff07ff, WR_1|MOD_HILO, 0, 0, SMT, 0 },
360-{"mfcr", "t,s", 0x70000018, 0xfc00ffff, WR_1, 0, XLR, 0, 0 },
361+{"mfcr", "t,s", 0x70000018, 0xfc00ffff, WR_1, 0, XLR|XLP, 0, 0 },
362 {"mfsa", "d", 0x00000028, 0xffff07ff, WR_1, 0, EE, 0, 0 },
363 {"min.ob", "X,Y,Q", 0x78000006, 0xfc20003f, WR_1|RD_2|RD_3|FP_D, 0, SB1, MX, 0 },
364 {"min.ob", "D,S,Q", 0x48000006, 0xfc20003f, WR_1|RD_2|RD_3|FP_D, 0, N54, 0, 0 },
365@@ -1332,10 +1338,13 @@
366 /* move is at the top of the table. */
367 {"msgn.qh", "X,Y,Q", 0x78200000, 0xfc20003f, WR_1|RD_2|RD_3|FP_D, 0, 0, MX, 0 },
368 {"msgsnd", "t", 0, (int) M_MSGSND, INSN_MACRO, 0, XLR, 0, 0 },
369+{"msgsnds", "d,t", 0x4a000001, 0xffe007ff, WR_1|RD_2|RD_C0|WR_C0, 0, XLP, 0, 0 },
370 {"msgld", "", 0, (int) M_MSGLD, INSN_MACRO, 0, XLR, 0, 0 },
371 {"msgld", "t", 0, (int) M_MSGLD_T, INSN_MACRO, 0, XLR, 0, 0 },
372-{"msgwait", "", 0, (int) M_MSGWAIT, INSN_MACRO, 0, XLR, 0, 0 },
373-{"msgwait", "t", 0, (int) M_MSGWAIT_T,INSN_MACRO, 0, XLR, 0, 0 },
374+{"msglds", "d,t", 0x4a000002, 0xffe007ff, WR_1|RD_2|RD_C0|WR_C0, 0, XLP, 0, 0 },
375+{"msgwait", "", 0, (int) M_MSGWAIT, INSN_MACRO, 0, XLR|XLP, 0, 0 },
376+{"msgwait", "t", 0, (int) M_MSGWAIT_T,INSN_MACRO, 0, XLR|XLP, 0, 0 },
377+{"msgsync", "", 0x4a000004, 0xffffffff,0, 0, XLP, 0, 0 },
378 {"msub.d", "D,R,S,T", 0x4c000029, 0xfc00003f, WR_1|RD_2|RD_3|RD_4|FP_D, 0, I4_33, 0, 0 },
379 {"msub.d", "D,S,T", 0x46200019, 0xffe0003f, WR_1|RD_2|RD_3|FP_D, 0, IL2E, 0, 0 },
380 {"msub.d", "D,S,T", 0x72200019, 0xffe0003f, WR_1|RD_2|RD_3|FP_D, 0, IL2F, 0, 0 },
381@@ -1381,7 +1390,7 @@
382 {"mtlo", "s,7", 0x00000013, 0xfc1fe7ff, RD_1|WR_LO, 0, 0, D32, 0 },
383 {"mtlo1", "s", 0x70000013, 0xfc1fffff, RD_1|WR_LO, 0, EE, 0, 0 },
384 {"mtlhx", "s", 0x00000053, 0xfc1fffff, RD_1|MOD_HILO, 0, 0, SMT, 0 },
385-{"mtcr", "t,s", 0x70000019, 0xfc00ffff, RD_1, 0, XLR, 0, 0 },
386+{"mtcr", "t,s", 0x70000019, 0xfc00ffff, RD_1, 0, XLR|XLP, 0, 0 },
387 {"mtm0", "s", 0x70000008, 0xfc1fffff, RD_1, 0, IOCT, 0, 0 },
388 {"mtm1", "s", 0x7000000c, 0xfc1fffff, RD_1, 0, IOCT, 0, 0 },
389 {"mtm2", "s", 0x7000000d, 0xfc1fffff, RD_1, 0, IOCT, 0, 0 },
390@@ -1802,9 +1811,9 @@
391 {"suxc1", "S,t(b)", 0x4c00000d, 0xfc0007ff, RD_1|RD_2|RD_3|SM|FP_D, 0, I5_33|N55, 0, 0},
392 {"sw", "t,o(b)", 0xac000000, 0xfc000000, RD_1|RD_3|SM, 0, I1, 0, 0 },
393 {"sw", "t,A(b)", 0, (int) M_SW_AB, INSN_MACRO, 0, I1, 0, 0 },
394-{"swapw", "t,b", 0x70000014, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR, 0, 0 },
395-{"swapwu", "t,b", 0x70000015, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR, 0, 0 },
396-{"swapd", "t,b", 0x70000016, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR, 0, 0 },
397+{"swapw", "t,b", 0x70000014, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR|XLP, 0, 0 },
398+{"swapwu", "t,b", 0x70000015, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR|XLP, 0, 0 },
399+{"swapd", "t,b", 0x70000016, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR|XLP, 0, 0 },
400 {"swc0", "E,o(b)", 0xe0000000, 0xfc000000, RD_3|RD_C0|SM, 0, I1, 0, IOCT|IOCTP|IOCT2 },
401 {"swc0", "E,A(b)", 0, (int) M_SWC0_AB, INSN_MACRO, 0, I1, 0, IOCT|IOCTP|IOCT2 },
402 {"swc1", "T,o(b)", 0xe4000000, 0xfc000000, RD_1|RD_3|SM|FP_S, 0, I1, 0, 0 },
diff --git a/meta/recipes-devtools/binutils/binutils/fix-pr15815.patch b/meta/recipes-devtools/binutils/binutils/fix-pr15815.patch
new file mode 100644
index 0000000000..9f53f41cc5
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/fix-pr15815.patch
@@ -0,0 +1,36 @@
1This patch fixes the problem where libiberty is not installed in spite of
2asking it via --enable-install-libiberty, the problem is that target_header_dir
3is reset explicitly which means libiberty.a will never get installed
4
5also check
6
7https://sourceware.org/bugzilla/show_bug.cgi?id=15815
8
9Upstream-Status: Pending
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12
13Index: binutils-2.24/libiberty/configure
14===================================================================
15--- binutils-2.24.orig/libiberty/configure 2013-12-16 00:08:09.280103157 -0800
16+++ binutils-2.24/libiberty/configure 2013-12-16 00:08:29.753436339 -0800
17@@ -5507,7 +5507,6 @@
18
19 setobjs=
20 CHECK=
21-target_header_dir=
22 if test -n "${with_target_subdir}"; then
23
24 # We are being configured as a target library. AC_REPLACE_FUNCS
25Index: binutils-2.24/libiberty/configure.ac
26===================================================================
27--- binutils-2.24.orig/libiberty/configure.ac 2013-11-08 02:13:49.000000000 -0800
28+++ binutils-2.24/libiberty/configure.ac 2013-12-16 00:07:45.133436672 -0800
29@@ -405,7 +405,6 @@
30
31 setobjs=
32 CHECK=
33-target_header_dir=
34 if test -n "${with_target_subdir}"; then
35
36 # We are being configured as a target library. AC_REPLACE_FUNCS
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/libiberty_path_fix.patch b/meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch
index 6e732fbd0a..6e732fbd0a 100644
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/libiberty_path_fix.patch
+++ b/meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/libtool-2.4-update.patch b/meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch
index 31cf0a0c0a..2e621f1a52 100644
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/libtool-2.4-update.patch
+++ b/meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch
@@ -1,9 +1,9 @@
1Upstream-Status: Inappropriate [embedded specific] 1Upstream-Status: Inappropriate [embedded specific]
2 2
3Index: git/libtool.m4 3Index: binutils-2.24/libtool.m4
4=================================================================== 4===================================================================
5--- git.orig/libtool.m4 2012-09-07 01:13:47.000000000 -0700 5--- binutils-2.24.orig/libtool.m4 2013-11-04 07:33:40.000000000 -0800
6+++ git/libtool.m4 2012-09-07 12:21:49.642865707 -0700 6+++ binutils-2.24/libtool.m4 2013-12-15 11:10:23.863785363 -0800
7@@ -1,7 +1,8 @@ 7@@ -1,7 +1,8 @@
8 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 8 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
9 # 9 #
@@ -211,7 +211,7 @@ Index: git/libtool.m4
211 # _LT_ENABLE_LOCK 211 # _LT_ENABLE_LOCK
212 # --------------- 212 # ---------------
213 m4_defun([_LT_ENABLE_LOCK], 213 m4_defun([_LT_ENABLE_LOCK],
214@@ -1307,14 +1356,47 @@ 214@@ -1320,14 +1369,47 @@
215 ])# _LT_ENABLE_LOCK 215 ])# _LT_ENABLE_LOCK
216 216
217 217
@@ -264,7 +264,7 @@ Index: git/libtool.m4
264 264
265 AC_CHECK_TOOL(STRIP, strip, :) 265 AC_CHECK_TOOL(STRIP, strip, :)
266 test -z "$STRIP" && STRIP=: 266 test -z "$STRIP" && STRIP=:
267@@ -1610,7 +1692,7 @@ 267@@ -1623,7 +1705,7 @@
268 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 268 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
269 lt_status=$lt_dlunknown 269 lt_status=$lt_dlunknown
270 cat > conftest.$ac_ext <<_LT_EOF 270 cat > conftest.$ac_ext <<_LT_EOF
@@ -273,7 +273,7 @@ Index: git/libtool.m4
273 #include "confdefs.h" 273 #include "confdefs.h"
274 274
275 #if HAVE_DLFCN_H 275 #if HAVE_DLFCN_H
276@@ -1654,10 +1736,10 @@ 276@@ -1667,10 +1749,10 @@
277 /* When -fvisbility=hidden is used, assume the code has been annotated 277 /* When -fvisbility=hidden is used, assume the code has been annotated
278 correspondingly for the symbols needed. */ 278 correspondingly for the symbols needed. */
279 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 279 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -286,7 +286,7 @@ Index: git/libtool.m4
286 int main () 286 int main ()
287 { 287 {
288 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 288 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
289@@ -2197,8 +2279,9 @@ 289@@ -2210,8 +2292,9 @@
290 need_version=no 290 need_version=no
291 need_lib_prefix=no 291 need_lib_prefix=no
292 292
@@ -298,7 +298,7 @@ Index: git/libtool.m4
298 library_names_spec='$libname.dll.a' 298 library_names_spec='$libname.dll.a'
299 # DLL is installed to $(libdir)/../bin by postinstall_cmds 299 # DLL is installed to $(libdir)/../bin by postinstall_cmds
300 postinstall_cmds='base_file=`basename \${file}`~ 300 postinstall_cmds='base_file=`basename \${file}`~
301@@ -2231,13 +2314,71 @@ 301@@ -2244,13 +2327,71 @@
302 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 302 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
303 ;; 303 ;;
304 esac 304 esac
@@ -371,7 +371,7 @@ Index: git/libtool.m4
371 # FIXME: first we should search . and the directory the executable is in 371 # FIXME: first we should search . and the directory the executable is in
372 shlibpath_var=PATH 372 shlibpath_var=PATH
373 ;; 373 ;;
374@@ -2329,7 +2470,7 @@ 374@@ -2342,7 +2483,7 @@
375 soname_spec='${libname}${release}${shared_ext}$major' 375 soname_spec='${libname}${release}${shared_ext}$major'
376 shlibpath_var=LIBRARY_PATH 376 shlibpath_var=LIBRARY_PATH
377 shlibpath_overrides_runpath=yes 377 shlibpath_overrides_runpath=yes
@@ -380,7 +380,7 @@ Index: git/libtool.m4
380 hardcode_into_libs=yes 380 hardcode_into_libs=yes
381 ;; 381 ;;
382 382
383@@ -2937,6 +3078,11 @@ 383@@ -2950,6 +3091,11 @@
384 esac 384 esac
385 reload_cmds='$LD$reload_flag -o $output$reload_objs' 385 reload_cmds='$LD$reload_flag -o $output$reload_objs'
386 case $host_os in 386 case $host_os in
@@ -392,7 +392,7 @@ Index: git/libtool.m4
392 darwin*) 392 darwin*)
393 if test "$GCC" = yes; then 393 if test "$GCC" = yes; then
394 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 394 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
395@@ -3003,7 +3149,8 @@ 395@@ -3016,7 +3162,8 @@
396 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 396 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
397 lt_cv_file_magic_cmd='func_win32_libid' 397 lt_cv_file_magic_cmd='func_win32_libid'
398 else 398 else
@@ -402,7 +402,7 @@ Index: git/libtool.m4
402 lt_cv_file_magic_cmd='$OBJDUMP -f' 402 lt_cv_file_magic_cmd='$OBJDUMP -f'
403 fi 403 fi
404 ;; 404 ;;
405@@ -3154,6 +3301,21 @@ 405@@ -3167,6 +3314,21 @@
406 ;; 406 ;;
407 esac 407 esac
408 ]) 408 ])
@@ -424,7 +424,7 @@ Index: git/libtool.m4
424 file_magic_cmd=$lt_cv_file_magic_cmd 424 file_magic_cmd=$lt_cv_file_magic_cmd
425 deplibs_check_method=$lt_cv_deplibs_check_method 425 deplibs_check_method=$lt_cv_deplibs_check_method
426 test -z "$deplibs_check_method" && deplibs_check_method=unknown 426 test -z "$deplibs_check_method" && deplibs_check_method=unknown
427@@ -3161,7 +3323,11 @@ 427@@ -3174,7 +3336,11 @@
428 _LT_DECL([], [deplibs_check_method], [1], 428 _LT_DECL([], [deplibs_check_method], [1],
429 [Method to check whether dependent libraries are shared objects]) 429 [Method to check whether dependent libraries are shared objects])
430 _LT_DECL([], [file_magic_cmd], [1], 430 _LT_DECL([], [file_magic_cmd], [1],
@@ -437,7 +437,7 @@ Index: git/libtool.m4
437 ])# _LT_CHECK_MAGIC_METHOD 437 ])# _LT_CHECK_MAGIC_METHOD
438 438
439 439
440@@ -3264,6 +3430,67 @@ 440@@ -3277,6 +3443,67 @@
441 dnl AC_DEFUN([AM_PROG_NM], []) 441 dnl AC_DEFUN([AM_PROG_NM], [])
442 dnl AC_DEFUN([AC_PROG_NM], []) 442 dnl AC_DEFUN([AC_PROG_NM], [])
443 443
@@ -505,7 +505,7 @@ Index: git/libtool.m4
505 505
506 # LT_LIB_M 506 # LT_LIB_M
507 # -------- 507 # --------
508@@ -3390,8 +3617,8 @@ 508@@ -3403,8 +3630,8 @@
509 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 509 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
510 510
511 # Transform an extracted symbol line into symbol name and symbol address 511 # Transform an extracted symbol line into symbol name and symbol address
@@ -516,7 +516,7 @@ Index: git/libtool.m4
516 516
517 # Handle CRLF in mingw tool chain 517 # Handle CRLF in mingw tool chain
518 opt_cr= 518 opt_cr=
519@@ -3427,6 +3654,7 @@ 519@@ -3440,6 +3667,7 @@
520 else 520 else
521 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 521 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
522 fi 522 fi
@@ -524,7 +524,7 @@ Index: git/libtool.m4
524 524
525 # Check to see that the pipe works correctly. 525 # Check to see that the pipe works correctly.
526 pipe_works=no 526 pipe_works=no
527@@ -3460,6 +3688,18 @@ 527@@ -3473,6 +3701,18 @@
528 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 528 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
529 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 529 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
530 cat <<_LT_EOF > conftest.$ac_ext 530 cat <<_LT_EOF > conftest.$ac_ext
@@ -543,7 +543,7 @@ Index: git/libtool.m4
543 #ifdef __cplusplus 543 #ifdef __cplusplus
544 extern "C" { 544 extern "C" {
545 #endif 545 #endif
546@@ -3471,7 +3711,7 @@ 546@@ -3484,7 +3724,7 @@
547 cat <<_LT_EOF >> conftest.$ac_ext 547 cat <<_LT_EOF >> conftest.$ac_ext
548 548
549 /* The mapping between symbol names and symbols. */ 549 /* The mapping between symbol names and symbols. */
@@ -552,7 +552,7 @@ Index: git/libtool.m4
552 const char *name; 552 const char *name;
553 void *address; 553 void *address;
554 } 554 }
555@@ -3497,15 +3737,15 @@ 555@@ -3510,15 +3750,15 @@
556 _LT_EOF 556 _LT_EOF
557 # Now try linking the two files. 557 # Now try linking the two files.
558 mv conftest.$ac_objext conftstm.$ac_objext 558 mv conftest.$ac_objext conftstm.$ac_objext
@@ -572,7 +572,7 @@ Index: git/libtool.m4
572 else 572 else
573 echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD 573 echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
574 fi 574 fi
575@@ -3538,6 +3778,13 @@ 575@@ -3551,6 +3791,13 @@
576 AC_MSG_RESULT(ok) 576 AC_MSG_RESULT(ok)
577 fi 577 fi
578 578
@@ -586,7 +586,7 @@ Index: git/libtool.m4
586 _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], 586 _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
587 [Take the output of nm and produce a listing of raw symbols and C names]) 587 [Take the output of nm and produce a listing of raw symbols and C names])
588 _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], 588 _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
589@@ -3548,6 +3795,8 @@ 589@@ -3561,6 +3808,8 @@
590 _LT_DECL([global_symbol_to_c_name_address_lib_prefix], 590 _LT_DECL([global_symbol_to_c_name_address_lib_prefix],
591 [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], 591 [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
592 [Transform the output of nm in a C name address pair when lib prefix is needed]) 592 [Transform the output of nm in a C name address pair when lib prefix is needed])
@@ -595,7 +595,7 @@ Index: git/libtool.m4
595 ]) # _LT_CMD_GLOBAL_SYMBOLS 595 ]) # _LT_CMD_GLOBAL_SYMBOLS
596 596
597 597
598@@ -3559,7 +3808,6 @@ 598@@ -3572,7 +3821,6 @@
599 _LT_TAGVAR(lt_prog_compiler_pic, $1)= 599 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
600 _LT_TAGVAR(lt_prog_compiler_static, $1)= 600 _LT_TAGVAR(lt_prog_compiler_static, $1)=
601 601
@@ -603,7 +603,7 @@ Index: git/libtool.m4
603 m4_if([$1], [CXX], [ 603 m4_if([$1], [CXX], [
604 # C++ specific cases for pic, static, wl, etc. 604 # C++ specific cases for pic, static, wl, etc.
605 if test "$GXX" = yes; then 605 if test "$GXX" = yes; then
606@@ -3664,6 +3912,12 @@ 606@@ -3678,6 +3926,12 @@
607 ;; 607 ;;
608 esac 608 esac
609 ;; 609 ;;
@@ -616,7 +616,7 @@ Index: git/libtool.m4
616 dgux*) 616 dgux*)
617 case $cc_basename in 617 case $cc_basename in
618 ec++*) 618 ec++*)
619@@ -3816,7 +4070,7 @@ 619@@ -3830,7 +4084,7 @@
620 ;; 620 ;;
621 solaris*) 621 solaris*)
622 case $cc_basename in 622 case $cc_basename in
@@ -625,7 +625,7 @@ Index: git/libtool.m4
625 # Sun C++ 4.2, 5.x and Centerline C++ 625 # Sun C++ 4.2, 5.x and Centerline C++
626 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 626 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
627 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 627 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
628@@ -4038,6 +4292,12 @@ 628@@ -4053,6 +4307,12 @@
629 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' 629 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
630 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' 630 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
631 ;; 631 ;;
@@ -638,7 +638,7 @@ Index: git/libtool.m4
638 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 638 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
639 # Portland Group compilers (*not* the Pentium gcc compiler, 639 # Portland Group compilers (*not* the Pentium gcc compiler,
640 # which looks to be a dead project) 640 # which looks to be a dead project)
641@@ -4100,7 +4360,7 @@ 641@@ -4115,7 +4375,7 @@
642 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 642 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
643 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 643 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
644 case $cc_basename in 644 case $cc_basename in
@@ -647,7 +647,7 @@ Index: git/libtool.m4
647 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; 647 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
648 *) 648 *)
649 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; 649 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
650@@ -4157,9 +4417,11 @@ 650@@ -4172,9 +4432,11 @@
651 _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" 651 _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
652 ;; 652 ;;
653 esac 653 esac
@@ -662,7 +662,7 @@ Index: git/libtool.m4
662 662
663 # 663 #
664 # Check to make sure the PIC flag actually works. 664 # Check to make sure the PIC flag actually works.
665@@ -4178,6 +4440,8 @@ 665@@ -4193,6 +4455,8 @@
666 _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], 666 _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
667 [Additional compiler flags for building library objects]) 667 [Additional compiler flags for building library objects])
668 668
@@ -671,7 +671,7 @@ Index: git/libtool.m4
671 # 671 #
672 # Check to make sure the static flag actually works. 672 # Check to make sure the static flag actually works.
673 # 673 #
674@@ -4198,6 +4462,7 @@ 674@@ -4213,6 +4477,7 @@
675 m4_defun([_LT_LINKER_SHLIBS], 675 m4_defun([_LT_LINKER_SHLIBS],
676 [AC_REQUIRE([LT_PATH_LD])dnl 676 [AC_REQUIRE([LT_PATH_LD])dnl
677 AC_REQUIRE([LT_PATH_NM])dnl 677 AC_REQUIRE([LT_PATH_NM])dnl
@@ -679,7 +679,7 @@ Index: git/libtool.m4
679 m4_require([_LT_FILEUTILS_DEFAULTS])dnl 679 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
680 m4_require([_LT_DECL_EGREP])dnl 680 m4_require([_LT_DECL_EGREP])dnl
681 m4_require([_LT_DECL_SED])dnl 681 m4_require([_LT_DECL_SED])dnl
682@@ -4206,6 +4471,7 @@ 682@@ -4221,6 +4486,7 @@
683 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) 683 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
684 m4_if([$1], [CXX], [ 684 m4_if([$1], [CXX], [
685 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 685 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
@@ -687,7 +687,7 @@ Index: git/libtool.m4
687 case $host_os in 687 case $host_os in
688 aix[[4-9]]*) 688 aix[[4-9]]*)
689 # If we're using GNU nm, then we don't want the "-C" option. 689 # If we're using GNU nm, then we don't want the "-C" option.
690@@ -4220,15 +4486,20 @@ 690@@ -4235,15 +4501,20 @@
691 ;; 691 ;;
692 pw32*) 692 pw32*)
693 _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" 693 _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
@@ -713,7 +713,7 @@ Index: git/libtool.m4
713 ], [ 713 ], [
714 runpath_var= 714 runpath_var=
715 _LT_TAGVAR(allow_undefined_flag, $1)= 715 _LT_TAGVAR(allow_undefined_flag, $1)=
716@@ -4396,7 +4667,8 @@ 716@@ -4411,7 +4682,8 @@
717 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported 717 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
718 _LT_TAGVAR(always_export_symbols, $1)=no 718 _LT_TAGVAR(always_export_symbols, $1)=no
719 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes 719 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
@@ -723,7 +723,7 @@ Index: git/libtool.m4
723 723
724 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 724 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
725 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 725 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
726@@ -4444,7 +4716,7 @@ 726@@ -4459,7 +4731,7 @@
727 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 727 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
728 && test "$tmp_diet" = no 728 && test "$tmp_diet" = no
729 then 729 then
@@ -732,7 +732,7 @@ Index: git/libtool.m4
732 tmp_sharedflag='-shared' 732 tmp_sharedflag='-shared'
733 case $cc_basename,$host_cpu in 733 case $cc_basename,$host_cpu in
734 pgcc*) # Portland Group C compiler 734 pgcc*) # Portland Group C compiler
735@@ -4495,12 +4767,12 @@ 735@@ -4510,12 +4782,12 @@
736 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' 736 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
737 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= 737 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
738 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' 738 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
@@ -747,7 +747,7 @@ Index: git/libtool.m4
747 fi 747 fi
748 ;; 748 ;;
749 esac 749 esac
750@@ -4514,8 +4786,8 @@ 750@@ -4529,8 +4801,8 @@
751 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 751 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
752 wlarc= 752 wlarc=
753 else 753 else
@@ -758,7 +758,7 @@ Index: git/libtool.m4
758 fi 758 fi
759 ;; 759 ;;
760 760
761@@ -4533,8 +4805,8 @@ 761@@ -4548,8 +4820,8 @@
762 762
763 _LT_EOF 763 _LT_EOF
764 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 764 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -769,7 +769,7 @@ Index: git/libtool.m4
769 else 769 else
770 _LT_TAGVAR(ld_shlibs, $1)=no 770 _LT_TAGVAR(ld_shlibs, $1)=no
771 fi 771 fi
772@@ -4580,8 +4852,8 @@ 772@@ -4595,8 +4867,8 @@
773 773
774 *) 774 *)
775 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 775 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -780,7 +780,7 @@ Index: git/libtool.m4
780 else 780 else
781 _LT_TAGVAR(ld_shlibs, $1)=no 781 _LT_TAGVAR(ld_shlibs, $1)=no
782 fi 782 fi
783@@ -4711,7 +4983,7 @@ 783@@ -4726,7 +4998,7 @@
784 _LT_TAGVAR(allow_undefined_flag, $1)='-berok' 784 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
785 # Determine the default libpath from the value encoded in an 785 # Determine the default libpath from the value encoded in an
786 # empty executable. 786 # empty executable.
@@ -789,7 +789,7 @@ Index: git/libtool.m4
789 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 789 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
790 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 790 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
791 else 791 else
792@@ -4722,7 +4994,7 @@ 792@@ -4737,7 +5009,7 @@
793 else 793 else
794 # Determine the default libpath from the value encoded in an 794 # Determine the default libpath from the value encoded in an
795 # empty executable. 795 # empty executable.
@@ -798,7 +798,7 @@ Index: git/libtool.m4
798 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 798 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
799 # Warning - without using the other run time loading flags, 799 # Warning - without using the other run time loading flags,
800 # -berok will link without error, but may produce a broken library. 800 # -berok will link without error, but may produce a broken library.
801@@ -4766,20 +5038,63 @@ 801@@ -4781,20 +5053,63 @@
802 # Microsoft Visual C++. 802 # Microsoft Visual C++.
803 # hardcode_libdir_flag_spec is actually meaningless, as there is 803 # hardcode_libdir_flag_spec is actually meaningless, as there is
804 # no search path for DLLs. 804 # no search path for DLLs.
@@ -876,7 +876,7 @@ Index: git/libtool.m4
876 ;; 876 ;;
877 877
878 darwin* | rhapsody*) 878 darwin* | rhapsody*)
879@@ -4813,7 +5128,7 @@ 879@@ -4828,7 +5143,7 @@
880 880
881 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 881 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
882 freebsd* | dragonfly*) 882 freebsd* | dragonfly*)
@@ -885,7 +885,7 @@ Index: git/libtool.m4
885 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 885 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
886 _LT_TAGVAR(hardcode_direct, $1)=yes 886 _LT_TAGVAR(hardcode_direct, $1)=yes
887 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 887 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
888@@ -4821,7 +5136,7 @@ 888@@ -4836,7 +5151,7 @@
889 889
890 hpux9*) 890 hpux9*)
891 if test "$GCC" = yes; then 891 if test "$GCC" = yes; then
@@ -894,7 +894,7 @@ Index: git/libtool.m4
894 else 894 else
895 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 895 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
896 fi 896 fi
897@@ -4837,7 +5152,7 @@ 897@@ -4852,7 +5167,7 @@
898 898
899 hpux10*) 899 hpux10*)
900 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 900 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -903,7 +903,7 @@ Index: git/libtool.m4
903 else 903 else
904 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 904 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
905 fi 905 fi
906@@ -4861,10 +5176,10 @@ 906@@ -4876,10 +5191,10 @@
907 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 907 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
908 ;; 908 ;;
909 ia64*) 909 ia64*)
@@ -916,7 +916,7 @@ Index: git/libtool.m4
916 ;; 916 ;;
917 esac 917 esac
918 else 918 else
919@@ -4911,16 +5226,31 @@ 919@@ -4926,16 +5241,31 @@
920 920
921 irix5* | irix6* | nonstopux*) 921 irix5* | irix6* | nonstopux*)
922 if test "$GCC" = yes; then 922 if test "$GCC" = yes; then
@@ -955,7 +955,7 @@ Index: git/libtool.m4
955 else 955 else
956 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 956 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
957 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 957 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
958@@ -5005,7 +5335,7 @@ 958@@ -5020,7 +5350,7 @@
959 osf4* | osf5*) # as osf3* with the addition of -msym flag 959 osf4* | osf5*) # as osf3* with the addition of -msym flag
960 if test "$GCC" = yes; then 960 if test "$GCC" = yes; then
961 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' 961 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
@@ -964,7 +964,7 @@ Index: git/libtool.m4
964 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 964 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
965 else 965 else
966 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' 966 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
967@@ -5024,9 +5354,9 @@ 967@@ -5039,9 +5369,9 @@
968 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' 968 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
969 if test "$GCC" = yes; then 969 if test "$GCC" = yes; then
970 wlarc='${wl}' 970 wlarc='${wl}'
@@ -976,7 +976,7 @@ Index: git/libtool.m4
976 else 976 else
977 case `$CC -V 2>&1` in 977 case `$CC -V 2>&1` in
978 *"Compilers 5.0"*) 978 *"Compilers 5.0"*)
979@@ -5298,8 +5628,6 @@ 979@@ -5313,8 +5643,6 @@
980 to runtime path list]) 980 to runtime path list])
981 _LT_TAGDECL([], [link_all_deplibs], [0], 981 _LT_TAGDECL([], [link_all_deplibs], [0],
982 [Whether libtool must link a program against all its dependency libraries]) 982 [Whether libtool must link a program against all its dependency libraries])
@@ -985,7 +985,7 @@ Index: git/libtool.m4
985 _LT_TAGDECL([], [always_export_symbols], [0], 985 _LT_TAGDECL([], [always_export_symbols], [0],
986 [Set to "yes" if exported symbols are required]) 986 [Set to "yes" if exported symbols are required])
987 _LT_TAGDECL([], [export_symbols_cmds], [2], 987 _LT_TAGDECL([], [export_symbols_cmds], [2],
988@@ -5310,6 +5638,8 @@ 988@@ -5325,6 +5653,8 @@
989 [Symbols that must always be exported]) 989 [Symbols that must always be exported])
990 _LT_TAGDECL([], [prelink_cmds], [2], 990 _LT_TAGDECL([], [prelink_cmds], [2],
991 [Commands necessary for linking programs (against libraries) with templates]) 991 [Commands necessary for linking programs (against libraries) with templates])
@@ -994,7 +994,7 @@ Index: git/libtool.m4
994 _LT_TAGDECL([], [file_list_spec], [1], 994 _LT_TAGDECL([], [file_list_spec], [1],
995 [Specify filename containing input files]) 995 [Specify filename containing input files])
996 dnl FIXME: Not yet implemented 996 dnl FIXME: Not yet implemented
997@@ -5411,6 +5741,7 @@ 997@@ -5426,6 +5756,7 @@
998 m4_defun([_LT_LANG_CXX_CONFIG], 998 m4_defun([_LT_LANG_CXX_CONFIG],
999 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl 999 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1000 m4_require([_LT_DECL_EGREP])dnl 1000 m4_require([_LT_DECL_EGREP])dnl
@@ -1002,7 +1002,7 @@ Index: git/libtool.m4
1002 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 1002 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1003 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 1003 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1004 (test "X$CXX" != "Xg++"))) ; then 1004 (test "X$CXX" != "Xg++"))) ; then
1005@@ -5472,6 +5803,7 @@ 1005@@ -5487,6 +5818,7 @@
1006 1006
1007 # Allow CC to be a program name with arguments. 1007 # Allow CC to be a program name with arguments.
1008 lt_save_CC=$CC 1008 lt_save_CC=$CC
@@ -1010,7 +1010,7 @@ Index: git/libtool.m4
1010 lt_save_LD=$LD 1010 lt_save_LD=$LD
1011 lt_save_GCC=$GCC 1011 lt_save_GCC=$GCC
1012 GCC=$GXX 1012 GCC=$GXX
1013@@ -5489,6 +5821,7 @@ 1013@@ -5504,6 +5836,7 @@
1014 fi 1014 fi
1015 test -z "${LDCXX+set}" || LD=$LDCXX 1015 test -z "${LDCXX+set}" || LD=$LDCXX
1016 CC=${CXX-"c++"} 1016 CC=${CXX-"c++"}
@@ -1018,7 +1018,7 @@ Index: git/libtool.m4
1018 compiler=$CC 1018 compiler=$CC
1019 _LT_TAGVAR(compiler, $1)=$CC 1019 _LT_TAGVAR(compiler, $1)=$CC
1020 _LT_CC_BASENAME([$compiler]) 1020 _LT_CC_BASENAME([$compiler])
1021@@ -5510,8 +5843,8 @@ 1021@@ -5525,8 +5858,8 @@
1022 # Check if GNU C++ uses GNU ld as the underlying linker, since the 1022 # Check if GNU C++ uses GNU ld as the underlying linker, since the
1023 # archiving commands below assume that GNU ld is being used. 1023 # archiving commands below assume that GNU ld is being used.
1024 if test "$with_gnu_ld" = yes; then 1024 if test "$with_gnu_ld" = yes; then
@@ -1029,7 +1029,7 @@ Index: git/libtool.m4
1029 1029
1030 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 1030 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
1031 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 1031 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
1032@@ -5652,7 +5985,7 @@ 1032@@ -5667,7 +6000,7 @@
1033 _LT_TAGVAR(allow_undefined_flag, $1)='-berok' 1033 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
1034 # Determine the default libpath from the value encoded in an empty 1034 # Determine the default libpath from the value encoded in an empty
1035 # executable. 1035 # executable.
@@ -1038,7 +1038,7 @@ Index: git/libtool.m4
1038 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 1038 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
1039 1039
1040 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 1040 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1041@@ -5664,7 +5997,7 @@ 1041@@ -5679,7 +6012,7 @@
1042 else 1042 else
1043 # Determine the default libpath from the value encoded in an 1043 # Determine the default libpath from the value encoded in an
1044 # empty executable. 1044 # empty executable.
@@ -1047,7 +1047,7 @@ Index: git/libtool.m4
1047 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 1047 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
1048 # Warning - without using the other run time loading flags, 1048 # Warning - without using the other run time loading flags,
1049 # -berok will link without error, but may produce a broken library. 1049 # -berok will link without error, but may produce a broken library.
1050@@ -5706,29 +6039,75 @@ 1050@@ -5721,29 +6054,75 @@
1051 ;; 1051 ;;
1052 1052
1053 cygwin* | mingw* | pw32* | cegcc*) 1053 cygwin* | mingw* | pw32* | cegcc*)
@@ -1146,7 +1146,7 @@ Index: git/libtool.m4
1146 darwin* | rhapsody*) 1146 darwin* | rhapsody*)
1147 _LT_DARWIN_LINKER_FEATURES($1) 1147 _LT_DARWIN_LINKER_FEATURES($1)
1148 ;; 1148 ;;
1149@@ -5803,7 +6182,7 @@ 1149@@ -5818,7 +6197,7 @@
1150 ;; 1150 ;;
1151 *) 1151 *)
1152 if test "$GXX" = yes; then 1152 if test "$GXX" = yes; then
@@ -1155,7 +1155,7 @@ Index: git/libtool.m4
1155 else 1155 else
1156 # FIXME: insert proper C++ library support 1156 # FIXME: insert proper C++ library support
1157 _LT_TAGVAR(ld_shlibs, $1)=no 1157 _LT_TAGVAR(ld_shlibs, $1)=no
1158@@ -5874,10 +6253,10 @@ 1158@@ -5889,10 +6268,10 @@
1159 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 1159 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1160 ;; 1160 ;;
1161 ia64*) 1161 ia64*)
@@ -1168,7 +1168,7 @@ Index: git/libtool.m4
1168 ;; 1168 ;;
1169 esac 1169 esac
1170 fi 1170 fi
1171@@ -5918,9 +6297,9 @@ 1171@@ -5933,9 +6312,9 @@
1172 *) 1172 *)
1173 if test "$GXX" = yes; then 1173 if test "$GXX" = yes; then
1174 if test "$with_gnu_ld" = no; then 1174 if test "$with_gnu_ld" = no; then
@@ -1180,7 +1180,7 @@ Index: git/libtool.m4
1180 fi 1180 fi
1181 fi 1181 fi
1182 _LT_TAGVAR(link_all_deplibs, $1)=yes 1182 _LT_TAGVAR(link_all_deplibs, $1)=yes
1183@@ -5990,20 +6369,20 @@ 1183@@ -6005,20 +6384,20 @@
1184 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ 1184 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
1185 rm -rf $tpldir~ 1185 rm -rf $tpldir~
1186 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 1186 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
@@ -1205,7 +1205,7 @@ Index: git/libtool.m4
1205 ;; 1205 ;;
1206 *) # Version 6 and above use weak symbols 1206 *) # Version 6 and above use weak symbols
1207 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 1207 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
1208@@ -6198,7 +6577,7 @@ 1208@@ -6213,7 +6592,7 @@
1209 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 1209 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1210 ;; 1210 ;;
1211 *) 1211 *)
@@ -1214,7 +1214,7 @@ Index: git/libtool.m4
1214 ;; 1214 ;;
1215 esac 1215 esac
1216 1216
1217@@ -6244,7 +6623,7 @@ 1217@@ -6259,7 +6638,7 @@
1218 1218
1219 solaris*) 1219 solaris*)
1220 case $cc_basename in 1220 case $cc_basename in
@@ -1223,7 +1223,7 @@ Index: git/libtool.m4
1223 # Sun C++ 4.2, 5.x and Centerline C++ 1223 # Sun C++ 4.2, 5.x and Centerline C++
1224 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes 1224 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
1225 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' 1225 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
1226@@ -6285,9 +6664,9 @@ 1226@@ -6300,9 +6679,9 @@
1227 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 1227 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
1228 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' 1228 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
1229 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 1229 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
@@ -1235,7 +1235,7 @@ Index: git/libtool.m4
1235 1235
1236 # Commands to make compiler produce verbose output that lists 1236 # Commands to make compiler produce verbose output that lists
1237 # what "hidden" libraries, object files and flags are used when 1237 # what "hidden" libraries, object files and flags are used when
1238@@ -6416,6 +6795,7 @@ 1238@@ -6431,6 +6810,7 @@
1239 fi # test -n "$compiler" 1239 fi # test -n "$compiler"
1240 1240
1241 CC=$lt_save_CC 1241 CC=$lt_save_CC
@@ -1243,7 +1243,7 @@ Index: git/libtool.m4
1243 LDCXX=$LD 1243 LDCXX=$LD
1244 LD=$lt_save_LD 1244 LD=$lt_save_LD
1245 GCC=$lt_save_GCC 1245 GCC=$lt_save_GCC
1246@@ -6430,6 +6810,29 @@ 1246@@ -6445,6 +6825,29 @@
1247 ])# _LT_LANG_CXX_CONFIG 1247 ])# _LT_LANG_CXX_CONFIG
1248 1248
1249 1249
@@ -1273,7 +1273,7 @@ Index: git/libtool.m4
1273 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) 1273 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
1274 # --------------------------------- 1274 # ---------------------------------
1275 # Figure out "hidden" library dependencies from verbose 1275 # Figure out "hidden" library dependencies from verbose
1276@@ -6438,6 +6841,7 @@ 1276@@ -6453,6 +6856,7 @@
1277 # objects, libraries and library flags. 1277 # objects, libraries and library flags.
1278 m4_defun([_LT_SYS_HIDDEN_LIBDEPS], 1278 m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
1279 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl 1279 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
@@ -1281,7 +1281,7 @@ Index: git/libtool.m4
1281 # Dependencies to place before and after the object being linked: 1281 # Dependencies to place before and after the object being linked:
1282 _LT_TAGVAR(predep_objects, $1)= 1282 _LT_TAGVAR(predep_objects, $1)=
1283 _LT_TAGVAR(postdep_objects, $1)= 1283 _LT_TAGVAR(postdep_objects, $1)=
1284@@ -6488,6 +6892,13 @@ 1284@@ -6503,6 +6907,13 @@
1285 }; 1285 };
1286 _LT_EOF 1286 _LT_EOF
1287 ]) 1287 ])
@@ -1295,7 +1295,7 @@ Index: git/libtool.m4
1295 dnl Parse the compiler output and extract the necessary 1295 dnl Parse the compiler output and extract the necessary
1296 dnl objects, libraries and library flags. 1296 dnl objects, libraries and library flags.
1297 if AC_TRY_EVAL(ac_compile); then 1297 if AC_TRY_EVAL(ac_compile); then
1298@@ -6499,7 +6910,7 @@ 1298@@ -6514,7 +6925,7 @@
1299 pre_test_object_deps_done=no 1299 pre_test_object_deps_done=no
1300 1300
1301 for p in `eval "$output_verbose_link_cmd"`; do 1301 for p in `eval "$output_verbose_link_cmd"`; do
@@ -1304,7 +1304,7 @@ Index: git/libtool.m4
1304 1304
1305 -L* | -R* | -l*) 1305 -L* | -R* | -l*)
1306 # Some compilers place space between "-{L,R}" and the path. 1306 # Some compilers place space between "-{L,R}" and the path.
1307@@ -6508,13 +6919,22 @@ 1307@@ -6523,13 +6934,22 @@
1308 test $p = "-R"; then 1308 test $p = "-R"; then
1309 prev=$p 1309 prev=$p
1310 continue 1310 continue
@@ -1331,7 +1331,7 @@ Index: git/libtool.m4
1331 # Internal compiler library paths should come after those 1331 # Internal compiler library paths should come after those
1332 # provided the user. The postdeps already come after the 1332 # provided the user. The postdeps already come after the
1333 # user supplied libs so there is no need to process them. 1333 # user supplied libs so there is no need to process them.
1334@@ -6534,8 +6954,10 @@ 1334@@ -6549,8 +6969,10 @@
1335 _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" 1335 _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
1336 fi 1336 fi
1337 fi 1337 fi
@@ -1342,7 +1342,7 @@ Index: git/libtool.m4
1342 *.$objext) 1342 *.$objext)
1343 # This assumes that the test object file only shows up 1343 # This assumes that the test object file only shows up
1344 # once in the compiler output. 1344 # once in the compiler output.
1345@@ -6571,6 +6993,7 @@ 1345@@ -6586,6 +7008,7 @@
1346 fi 1346 fi
1347 1347
1348 $RM -f confest.$objext 1348 $RM -f confest.$objext
@@ -1350,7 +1350,7 @@ Index: git/libtool.m4
1350 1350
1351 # PORTME: override above test on systems where it is broken 1351 # PORTME: override above test on systems where it is broken
1352 m4_if([$1], [CXX], 1352 m4_if([$1], [CXX],
1353@@ -6607,7 +7030,7 @@ 1353@@ -6622,7 +7045,7 @@
1354 1354
1355 solaris*) 1355 solaris*)
1356 case $cc_basename in 1356 case $cc_basename in
@@ -1359,7 +1359,7 @@ Index: git/libtool.m4
1359 # The more standards-conforming stlport4 library is 1359 # The more standards-conforming stlport4 library is
1360 # incompatible with the Cstd library. Avoid specifying 1360 # incompatible with the Cstd library. Avoid specifying
1361 # it if it's in CXXFLAGS. Ignore libCrun as 1361 # it if it's in CXXFLAGS. Ignore libCrun as
1362@@ -6720,7 +7143,9 @@ 1362@@ -6735,7 +7158,9 @@
1363 # Allow CC to be a program name with arguments. 1363 # Allow CC to be a program name with arguments.
1364 lt_save_CC="$CC" 1364 lt_save_CC="$CC"
1365 lt_save_GCC=$GCC 1365 lt_save_GCC=$GCC
@@ -1369,7 +1369,7 @@ Index: git/libtool.m4
1369 compiler=$CC 1369 compiler=$CC
1370 _LT_TAGVAR(compiler, $1)=$CC 1370 _LT_TAGVAR(compiler, $1)=$CC
1371 _LT_CC_BASENAME([$compiler]) 1371 _LT_CC_BASENAME([$compiler])
1372@@ -6774,6 +7199,7 @@ 1372@@ -6789,6 +7214,7 @@
1373 1373
1374 GCC=$lt_save_GCC 1374 GCC=$lt_save_GCC
1375 CC="$lt_save_CC" 1375 CC="$lt_save_CC"
@@ -1377,7 +1377,7 @@ Index: git/libtool.m4
1377 fi # test "$_lt_disable_F77" != yes 1377 fi # test "$_lt_disable_F77" != yes
1378 1378
1379 AC_LANG_POP 1379 AC_LANG_POP
1380@@ -6850,7 +7276,9 @@ 1380@@ -6865,7 +7291,9 @@
1381 # Allow CC to be a program name with arguments. 1381 # Allow CC to be a program name with arguments.
1382 lt_save_CC="$CC" 1382 lt_save_CC="$CC"
1383 lt_save_GCC=$GCC 1383 lt_save_GCC=$GCC
@@ -1387,7 +1387,7 @@ Index: git/libtool.m4
1387 compiler=$CC 1387 compiler=$CC
1388 GCC=$ac_cv_fc_compiler_gnu 1388 GCC=$ac_cv_fc_compiler_gnu
1389 1389
1390@@ -6906,7 +7334,8 @@ 1390@@ -6921,7 +7349,8 @@
1391 fi # test -n "$compiler" 1391 fi # test -n "$compiler"
1392 1392
1393 GCC=$lt_save_GCC 1393 GCC=$lt_save_GCC
@@ -1397,7 +1397,7 @@ Index: git/libtool.m4
1397 fi # test "$_lt_disable_FC" != yes 1397 fi # test "$_lt_disable_FC" != yes
1398 1398
1399 AC_LANG_POP 1399 AC_LANG_POP
1400@@ -6943,10 +7372,12 @@ 1400@@ -6958,10 +7387,12 @@
1401 _LT_LINKER_BOILERPLATE 1401 _LT_LINKER_BOILERPLATE
1402 1402
1403 # Allow CC to be a program name with arguments. 1403 # Allow CC to be a program name with arguments.
@@ -1411,7 +1411,7 @@ Index: git/libtool.m4
1411 compiler=$CC 1411 compiler=$CC
1412 _LT_TAGVAR(compiler, $1)=$CC 1412 _LT_TAGVAR(compiler, $1)=$CC
1413 _LT_TAGVAR(LD, $1)="$LD" 1413 _LT_TAGVAR(LD, $1)="$LD"
1414@@ -6977,7 +7408,8 @@ 1414@@ -6992,7 +7423,8 @@
1415 AC_LANG_RESTORE 1415 AC_LANG_RESTORE
1416 1416
1417 GCC=$lt_save_GCC 1417 GCC=$lt_save_GCC
@@ -1421,7 +1421,7 @@ Index: git/libtool.m4
1421 ])# _LT_LANG_GCJ_CONFIG 1421 ])# _LT_LANG_GCJ_CONFIG
1422 1422
1423 1423
1424@@ -7012,9 +7444,11 @@ 1424@@ -7027,9 +7459,11 @@
1425 1425
1426 # Allow CC to be a program name with arguments. 1426 # Allow CC to be a program name with arguments.
1427 lt_save_CC="$CC" 1427 lt_save_CC="$CC"
@@ -1433,7 +1433,7 @@ Index: git/libtool.m4
1433 compiler=$CC 1433 compiler=$CC
1434 _LT_TAGVAR(compiler, $1)=$CC 1434 _LT_TAGVAR(compiler, $1)=$CC
1435 _LT_CC_BASENAME([$compiler]) 1435 _LT_CC_BASENAME([$compiler])
1436@@ -7027,7 +7461,8 @@ 1436@@ -7042,7 +7476,8 @@
1437 1437
1438 GCC=$lt_save_GCC 1438 GCC=$lt_save_GCC
1439 AC_LANG_RESTORE 1439 AC_LANG_RESTORE
@@ -1443,7 +1443,7 @@ Index: git/libtool.m4
1443 ])# _LT_LANG_RC_CONFIG 1443 ])# _LT_LANG_RC_CONFIG
1444 1444
1445 1445
1446@@ -7086,6 +7521,15 @@ 1446@@ -7101,6 +7536,15 @@
1447 AC_SUBST([OBJDUMP]) 1447 AC_SUBST([OBJDUMP])
1448 ]) 1448 ])
1449 1449
@@ -1459,7 +1459,7 @@ Index: git/libtool.m4
1459 1459
1460 # _LT_DECL_SED 1460 # _LT_DECL_SED
1461 # ------------ 1461 # ------------
1462@@ -7179,8 +7623,8 @@ 1462@@ -7194,8 +7638,8 @@
1463 # Try some XSI features 1463 # Try some XSI features
1464 xsi_shell=no 1464 xsi_shell=no
1465 ( _lt_dummy="a/b/c" 1465 ( _lt_dummy="a/b/c"
@@ -1470,7 +1470,7 @@ Index: git/libtool.m4
1470 && eval 'test $(( 1 + 1 )) -eq 2 \ 1470 && eval 'test $(( 1 + 1 )) -eq 2 \
1471 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 1471 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
1472 && xsi_shell=yes 1472 && xsi_shell=yes
1473@@ -7219,206 +7663,162 @@ 1473@@ -7234,206 +7678,162 @@
1474 ])# _LT_CHECK_SHELL_FEATURES 1474 ])# _LT_CHECK_SHELL_FEATURES
1475 1475
1476 1476
@@ -1823,10 +1823,10 @@ Index: git/libtool.m4
1823+_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], 1823+_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
1824+ [0], [convert $build files to toolchain format])dnl 1824+ [0], [convert $build files to toolchain format])dnl
1825+])# _LT_PATH_CONVERSION_FUNCTIONS 1825+])# _LT_PATH_CONVERSION_FUNCTIONS
1826Index: git/ltmain.sh 1826Index: binutils-2.24/ltmain.sh
1827=================================================================== 1827===================================================================
1828--- git.orig/ltmain.sh 2012-09-07 01:13:47.469341477 -0700 1828--- binutils-2.24.orig/ltmain.sh 2013-11-04 07:33:40.000000000 -0800
1829+++ git/ltmain.sh 2012-09-07 12:21:49.650865716 -0700 1829+++ binutils-2.24/ltmain.sh 2013-12-15 11:10:23.867118697 -0800
1830@@ -1,10 +1,9 @@ 1830@@ -1,10 +1,9 @@
1831-# Generated from ltmain.m4sh. 1831-# Generated from ltmain.m4sh.
1832 1832
@@ -7053,10 +7053,10 @@ Index: git/ltmain.sh
7053 7053
7054 if test -n "$exec_cmd"; then 7054 if test -n "$exec_cmd"; then
7055 eval exec "$exec_cmd" 7055 eval exec "$exec_cmd"
7056Index: git/ltoptions.m4 7056Index: binutils-2.24/ltoptions.m4
7057=================================================================== 7057===================================================================
7058--- git.orig/ltoptions.m4 2012-09-07 01:13:47.000000000 -0700 7058--- binutils-2.24.orig/ltoptions.m4 2013-11-04 07:33:40.000000000 -0800
7059+++ git/ltoptions.m4 2012-09-07 12:21:49.650865716 -0700 7059+++ binutils-2.24/ltoptions.m4 2013-12-15 11:10:23.867118697 -0800
7060@@ -8,7 +8,7 @@ 7060@@ -8,7 +8,7 @@
7061 # unlimited permission to copy and/or distribute it, with or without 7061 # unlimited permission to copy and/or distribute it, with or without
7062 # modifications, as long as this notice is preserved. 7062 # modifications, as long as this notice is preserved.
@@ -7066,10 +7066,10 @@ Index: git/ltoptions.m4
7066 7066
7067 # This is to help aclocal find these macros, as it can't see m4_define. 7067 # This is to help aclocal find these macros, as it can't see m4_define.
7068 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) 7068 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
7069Index: git/ltversion.m4 7069Index: binutils-2.24/ltversion.m4
7070=================================================================== 7070===================================================================
7071--- git.orig/ltversion.m4 2012-09-07 01:13:47.000000000 -0700 7071--- binutils-2.24.orig/ltversion.m4 2013-11-04 07:33:40.000000000 -0800
7072+++ git/ltversion.m4 2012-09-07 12:21:49.650865716 -0700 7072+++ binutils-2.24/ltversion.m4 2013-12-15 11:10:23.867118697 -0800
7073@@ -7,17 +7,17 @@ 7073@@ -7,17 +7,17 @@
7074 # unlimited permission to copy and/or distribute it, with or without 7074 # unlimited permission to copy and/or distribute it, with or without
7075 # modifications, as long as this notice is preserved. 7075 # modifications, as long as this notice is preserved.
@@ -7094,10 +7094,10 @@ Index: git/ltversion.m4
7094 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) 7094 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
7095 _LT_DECL(, macro_revision, 0) 7095 _LT_DECL(, macro_revision, 0)
7096 ]) 7096 ])
7097Index: git/lt~obsolete.m4 7097Index: binutils-2.24/lt~obsolete.m4
7098=================================================================== 7098===================================================================
7099--- git.orig/lt~obsolete.m4 2012-09-07 01:13:47.000000000 -0700 7099--- binutils-2.24.orig/lt~obsolete.m4 2013-11-04 07:33:40.000000000 -0800
7100+++ git/lt~obsolete.m4 2012-09-07 12:21:49.650865716 -0700 7100+++ binutils-2.24/lt~obsolete.m4 2013-12-15 11:10:23.867118697 -0800
7101@@ -7,7 +7,7 @@ 7101@@ -7,7 +7,7 @@
7102 # unlimited permission to copy and/or distribute it, with or without 7102 # unlimited permission to copy and/or distribute it, with or without
7103 # modifications, as long as this notice is preserved. 7103 # modifications, as long as this notice is preserved.
@@ -7107,11 +7107,11 @@ Index: git/lt~obsolete.m4
7107 7107
7108 # These exist entirely to fool aclocal when bootstrapping libtool. 7108 # These exist entirely to fool aclocal when bootstrapping libtool.
7109 # 7109 #
7110Index: git/configure 7110Index: binutils-2.24/configure
7111=================================================================== 7111===================================================================
7112--- git.orig/configure 2012-09-07 09:24:43.000000000 -0700 7112--- binutils-2.24.orig/configure 2013-12-15 11:09:51.000000000 -0800
7113+++ git/configure 2012-09-07 12:21:49.654865717 -0700 7113+++ binutils-2.24/configure 2013-12-15 11:10:23.870452030 -0800
7114@@ -7808,7 +7808,7 @@ 7114@@ -7921,7 +7921,7 @@
7115 # For an installed makeinfo, we require it to be from texinfo 4.7 or 7115 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7116 # higher, else we use the "missing" dummy. 7116 # higher, else we use the "missing" dummy.
7117 if ${MAKEINFO} --version \ 7117 if ${MAKEINFO} --version \
@@ -7120,11 +7120,11 @@ Index: git/configure
7120 : 7120 :
7121 else 7121 else
7122 MAKEINFO="$MISSING makeinfo" 7122 MAKEINFO="$MISSING makeinfo"
7123Index: git/bfd/configure 7123Index: binutils-2.24/bfd/configure
7124=================================================================== 7124===================================================================
7125--- git.orig/bfd/configure 2012-09-07 01:13:43.117341313 -0700 7125--- binutils-2.24.orig/bfd/configure 2013-12-02 01:30:30.000000000 -0800
7126+++ git/bfd/configure 2012-09-07 12:21:49.658865717 -0700 7126+++ binutils-2.24/bfd/configure 2013-12-15 11:10:23.870452030 -0800
7127@@ -667,6 +667,9 @@ 7127@@ -668,6 +668,9 @@
7128 LIPO 7128 LIPO
7129 NMEDIT 7129 NMEDIT
7130 DSYMUTIL 7130 DSYMUTIL
@@ -7134,7 +7134,7 @@ Index: git/bfd/configure
7134 OBJDUMP 7134 OBJDUMP
7135 LN_S 7135 LN_S
7136 NM 7136 NM
7137@@ -779,6 +782,7 @@ 7137@@ -780,6 +783,7 @@
7138 with_pic 7138 with_pic
7139 enable_fast_install 7139 enable_fast_install
7140 with_gnu_ld 7140 with_gnu_ld
@@ -7142,7 +7142,7 @@ Index: git/bfd/configure
7142 enable_libtool_lock 7142 enable_libtool_lock
7143 enable_plugins 7143 enable_plugins
7144 enable_largefile 7144 enable_largefile
7145@@ -1453,6 +1457,8 @@ 7145@@ -1456,6 +1460,8 @@
7146 --with-pic try to use only PIC/non-PIC objects [default=use 7146 --with-pic try to use only PIC/non-PIC objects [default=use
7147 both] 7147 both]
7148 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 7148 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -7151,7 +7151,7 @@ Index: git/bfd/configure
7151 --with-mmap try using mmap for BFD input files if available 7151 --with-mmap try using mmap for BFD input files if available
7152 --with-separate-debug-dir=DIR 7152 --with-separate-debug-dir=DIR
7153 Look for global separate debug info in DIR 7153 Look for global separate debug info in DIR
7154@@ -5383,8 +5389,8 @@ 7154@@ -5386,8 +5392,8 @@
7155 7155
7156 7156
7157 7157
@@ -7162,7 +7162,7 @@ Index: git/bfd/configure
7162 7162
7163 7163
7164 7164
7165@@ -5424,7 +5430,7 @@ 7165@@ -5427,7 +5433,7 @@
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7167 $as_echo_n "checking how to print strings... " >&6; } 7167 $as_echo_n "checking how to print strings... " >&6; }
7168 # Test print first, because it will be a builtin if present. 7168 # Test print first, because it will be a builtin if present.
@@ -7171,7 +7171,7 @@ Index: git/bfd/configure
7171 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 7171 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7172 ECHO='print -r --' 7172 ECHO='print -r --'
7173 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 7173 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7174@@ -6110,8 +6116,8 @@ 7174@@ -6113,8 +6119,8 @@
7175 # Try some XSI features 7175 # Try some XSI features
7176 xsi_shell=no 7176 xsi_shell=no
7177 ( _lt_dummy="a/b/c" 7177 ( _lt_dummy="a/b/c"
@@ -7182,7 +7182,7 @@ Index: git/bfd/configure
7182 && eval 'test $(( 1 + 1 )) -eq 2 \ 7182 && eval 'test $(( 1 + 1 )) -eq 2 \
7183 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 7183 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7184 && xsi_shell=yes 7184 && xsi_shell=yes
7185@@ -6160,6 +6166,80 @@ 7185@@ -6163,6 +6169,80 @@
7186 7186
7187 7187
7188 7188
@@ -7263,7 +7263,7 @@ Index: git/bfd/configure
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7264 $as_echo_n "checking for $LD option to reload object files... " >&6; } 7264 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7265 if test "${lt_cv_ld_reload_flag+set}" = set; then : 7265 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7266@@ -6176,6 +6256,11 @@ 7266@@ -6179,6 +6259,11 @@
7267 esac 7267 esac
7268 reload_cmds='$LD$reload_flag -o $output$reload_objs' 7268 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7269 case $host_os in 7269 case $host_os in
@@ -7275,7 +7275,7 @@ Index: git/bfd/configure
7275 darwin*) 7275 darwin*)
7276 if test "$GCC" = yes; then 7276 if test "$GCC" = yes; then
7277 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 7277 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7278@@ -6344,7 +6429,8 @@ 7278@@ -6347,7 +6432,8 @@
7279 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7279 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7280 lt_cv_file_magic_cmd='func_win32_libid' 7280 lt_cv_file_magic_cmd='func_win32_libid'
7281 else 7281 else
@@ -7285,7 +7285,7 @@ Index: git/bfd/configure
7285 lt_cv_file_magic_cmd='$OBJDUMP -f' 7285 lt_cv_file_magic_cmd='$OBJDUMP -f'
7286 fi 7286 fi
7287 ;; 7287 ;;
7288@@ -6498,6 +6584,21 @@ 7288@@ -6501,6 +6587,21 @@
7289 fi 7289 fi
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7291 $as_echo "$lt_cv_deplibs_check_method" >&6; } 7291 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -7307,7 +7307,7 @@ Index: git/bfd/configure
7307 file_magic_cmd=$lt_cv_file_magic_cmd 7307 file_magic_cmd=$lt_cv_file_magic_cmd
7308 deplibs_check_method=$lt_cv_deplibs_check_method 7308 deplibs_check_method=$lt_cv_deplibs_check_method
7309 test -z "$deplibs_check_method" && deplibs_check_method=unknown 7309 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7310@@ -6513,9 +6614,162 @@ 7310@@ -6516,9 +6617,162 @@
7311 7311
7312 7312
7313 7313
@@ -7472,7 +7472,7 @@ Index: git/bfd/configure
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; } 7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if test "${ac_cv_prog_AR+set}" = set; then : 7474 if test "${ac_cv_prog_AR+set}" = set; then :
7475@@ -6531,7 +6785,7 @@ 7475@@ -6534,7 +6788,7 @@
7476 test -z "$as_dir" && as_dir=. 7476 test -z "$as_dir" && as_dir=.
7477 for ac_exec_ext in '' $ac_executable_extensions; do 7477 for ac_exec_ext in '' $ac_executable_extensions; do
7478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -7481,7 +7481,7 @@ Index: git/bfd/configure
7481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7482 break 2 7482 break 2
7483 fi 7483 fi
7484@@ -6551,11 +6805,15 @@ 7484@@ -6554,11 +6808,15 @@
7485 fi 7485 fi
7486 7486
7487 7487
@@ -7500,7 +7500,7 @@ Index: git/bfd/configure
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7501 $as_echo_n "checking for $ac_word... " >&6; } 7501 $as_echo_n "checking for $ac_word... " >&6; }
7502 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 7502 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7503@@ -6571,7 +6829,7 @@ 7503@@ -6574,7 +6832,7 @@
7504 test -z "$as_dir" && as_dir=. 7504 test -z "$as_dir" && as_dir=.
7505 for ac_exec_ext in '' $ac_executable_extensions; do 7505 for ac_exec_ext in '' $ac_executable_extensions; do
7506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -7509,7 +7509,7 @@ Index: git/bfd/configure
7509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7510 break 2 7510 break 2
7511 fi 7511 fi
7512@@ -6590,6 +6848,10 @@ 7512@@ -6593,6 +6851,10 @@
7513 $as_echo "no" >&6; } 7513 $as_echo "no" >&6; }
7514 fi 7514 fi
7515 7515
@@ -7520,7 +7520,7 @@ Index: git/bfd/configure
7520 if test "x$ac_ct_AR" = x; then 7520 if test "x$ac_ct_AR" = x; then
7521 AR="false" 7521 AR="false"
7522 else 7522 else
7523@@ -6601,16 +6863,72 @@ 7523@@ -6604,16 +6866,72 @@
7524 esac 7524 esac
7525 AR=$ac_ct_AR 7525 AR=$ac_ct_AR
7526 fi 7526 fi
@@ -7597,7 +7597,7 @@ Index: git/bfd/configure
7597 7597
7598 7598
7599 7599
7600@@ -6952,8 +7270,8 @@ 7600@@ -6955,8 +7273,8 @@
7601 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 7601 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7602 7602
7603 # Transform an extracted symbol line into symbol name and symbol address 7603 # Transform an extracted symbol line into symbol name and symbol address
@@ -7608,7 +7608,7 @@ Index: git/bfd/configure
7608 7608
7609 # Handle CRLF in mingw tool chain 7609 # Handle CRLF in mingw tool chain
7610 opt_cr= 7610 opt_cr=
7611@@ -6989,6 +7307,7 @@ 7611@@ -6992,6 +7310,7 @@
7612 else 7612 else
7613 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7613 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7614 fi 7614 fi
@@ -7616,7 +7616,7 @@ Index: git/bfd/configure
7616 7616
7617 # Check to see that the pipe works correctly. 7617 # Check to see that the pipe works correctly.
7618 pipe_works=no 7618 pipe_works=no
7619@@ -7030,6 +7349,18 @@ 7619@@ -7033,6 +7352,18 @@
7620 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7620 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7621 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7621 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7622 cat <<_LT_EOF > conftest.$ac_ext 7622 cat <<_LT_EOF > conftest.$ac_ext
@@ -7635,7 +7635,7 @@ Index: git/bfd/configure
7635 #ifdef __cplusplus 7635 #ifdef __cplusplus
7636 extern "C" { 7636 extern "C" {
7637 #endif 7637 #endif
7638@@ -7041,7 +7372,7 @@ 7638@@ -7044,7 +7375,7 @@
7639 cat <<_LT_EOF >> conftest.$ac_ext 7639 cat <<_LT_EOF >> conftest.$ac_ext
7640 7640
7641 /* The mapping between symbol names and symbols. */ 7641 /* The mapping between symbol names and symbols. */
@@ -7644,7 +7644,7 @@ Index: git/bfd/configure
7644 const char *name; 7644 const char *name;
7645 void *address; 7645 void *address;
7646 } 7646 }
7647@@ -7067,8 +7398,8 @@ 7647@@ -7070,8 +7401,8 @@
7648 _LT_EOF 7648 _LT_EOF
7649 # Now try linking the two files. 7649 # Now try linking the two files.
7650 mv conftest.$ac_objext conftstm.$ac_objext 7650 mv conftest.$ac_objext conftstm.$ac_objext
@@ -7655,7 +7655,7 @@ Index: git/bfd/configure
7655 LIBS="conftstm.$ac_objext" 7655 LIBS="conftstm.$ac_objext"
7656 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7656 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7657 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7657 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7658@@ -7078,8 +7409,8 @@ 7658@@ -7081,8 +7412,8 @@
7659 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 7659 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7660 pipe_works=yes 7660 pipe_works=yes
7661 fi 7661 fi
@@ -7666,7 +7666,7 @@ Index: git/bfd/configure
7666 else 7666 else
7667 echo "cannot find nm_test_func in $nlist" >&5 7667 echo "cannot find nm_test_func in $nlist" >&5
7668 fi 7668 fi
7669@@ -7116,6 +7447,20 @@ 7669@@ -7119,6 +7450,20 @@
7670 $as_echo "ok" >&6; } 7670 $as_echo "ok" >&6; }
7671 fi 7671 fi
7672 7672
@@ -7687,7 +7687,7 @@ Index: git/bfd/configure
7687 7687
7688 7688
7689 7689
7690@@ -7135,6 +7480,41 @@ 7690@@ -7138,6 +7483,41 @@
7691 7691
7692 7692
7693 7693
@@ -7729,7 +7729,7 @@ Index: git/bfd/configure
7729 7729
7730 7730
7731 # Check whether --enable-libtool-lock was given. 7731 # Check whether --enable-libtool-lock was given.
7732@@ -7330,6 +7710,123 @@ 7732@@ -7346,6 +7726,123 @@
7733 7733
7734 need_locks="$enable_libtool_lock" 7734 need_locks="$enable_libtool_lock"
7735 7735
@@ -7853,7 +7853,7 @@ Index: git/bfd/configure
7853 7853
7854 case $host_os in 7854 case $host_os in
7855 rhapsody* | darwin*) 7855 rhapsody* | darwin*)
7856@@ -7893,6 +8390,8 @@ 7856@@ -7909,6 +8406,8 @@
7857 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7857 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7858 echo "$AR cru libconftest.a conftest.o" >&5 7858 echo "$AR cru libconftest.a conftest.o" >&5
7859 $AR cru libconftest.a conftest.o 2>&5 7859 $AR cru libconftest.a conftest.o 2>&5
@@ -7862,7 +7862,7 @@ Index: git/bfd/configure
7862 cat > conftest.c << _LT_EOF 7862 cat > conftest.c << _LT_EOF
7863 int main() { return 0;} 7863 int main() { return 0;}
7864 _LT_EOF 7864 _LT_EOF
7865@@ -8057,7 +8556,8 @@ 7865@@ -8073,7 +8572,8 @@
7866 LIBTOOL_DEPS="$ltmain" 7866 LIBTOOL_DEPS="$ltmain"
7867 7867
7868 # Always use our own libtool. 7868 # Always use our own libtool.
@@ -7872,7 +7872,7 @@ Index: git/bfd/configure
7872 7872
7873 7873
7874 7874
7875@@ -8146,7 +8646,7 @@ 7875@@ -8162,7 +8662,7 @@
7876 esac 7876 esac
7877 7877
7878 # Global variables: 7878 # Global variables:
@@ -7881,7 +7881,7 @@ Index: git/bfd/configure
7881 can_build_shared=yes 7881 can_build_shared=yes
7882 7882
7883 # All known linkers require a `.a' archive for static linking (except MSVC, 7883 # All known linkers require a `.a' archive for static linking (except MSVC,
7884@@ -8444,8 +8944,6 @@ 7884@@ -8460,8 +8960,6 @@
7885 lt_prog_compiler_pic= 7885 lt_prog_compiler_pic=
7886 lt_prog_compiler_static= 7886 lt_prog_compiler_static=
7887 7887
@@ -7890,7 +7890,7 @@ Index: git/bfd/configure
7890 7890
7891 if test "$GCC" = yes; then 7891 if test "$GCC" = yes; then
7892 lt_prog_compiler_wl='-Wl,' 7892 lt_prog_compiler_wl='-Wl,'
7893@@ -8610,6 +9108,12 @@ 7893@@ -8627,6 +9125,12 @@
7894 lt_prog_compiler_pic='--shared' 7894 lt_prog_compiler_pic='--shared'
7895 lt_prog_compiler_static='--static' 7895 lt_prog_compiler_static='--static'
7896 ;; 7896 ;;
@@ -7903,7 +7903,7 @@ Index: git/bfd/configure
7903 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 7903 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7904 # Portland Group compilers (*not* the Pentium gcc compiler, 7904 # Portland Group compilers (*not* the Pentium gcc compiler,
7905 # which looks to be a dead project) 7905 # which looks to be a dead project)
7906@@ -8672,7 +9176,7 @@ 7906@@ -8689,7 +9193,7 @@
7907 lt_prog_compiler_pic='-KPIC' 7907 lt_prog_compiler_pic='-KPIC'
7908 lt_prog_compiler_static='-Bstatic' 7908 lt_prog_compiler_static='-Bstatic'
7909 case $cc_basename in 7909 case $cc_basename in
@@ -7912,7 +7912,7 @@ Index: git/bfd/configure
7912 lt_prog_compiler_wl='-Qoption ld ';; 7912 lt_prog_compiler_wl='-Qoption ld ';;
7913 *) 7913 *)
7914 lt_prog_compiler_wl='-Wl,';; 7914 lt_prog_compiler_wl='-Wl,';;
7915@@ -8729,13 +9233,17 @@ 7915@@ -8746,13 +9250,17 @@
7916 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 7916 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7917 ;; 7917 ;;
7918 esac 7918 esac
@@ -7936,7 +7936,7 @@ Index: git/bfd/configure
7936 7936
7937 # 7937 #
7938 # Check to make sure the PIC flag actually works. 7938 # Check to make sure the PIC flag actually works.
7939@@ -8796,6 +9304,11 @@ 7939@@ -8813,6 +9321,11 @@
7940 7940
7941 7941
7942 7942
@@ -7948,7 +7948,7 @@ Index: git/bfd/configure
7948 # 7948 #
7949 # Check to make sure the static flag actually works. 7949 # Check to make sure the static flag actually works.
7950 # 7950 #
7951@@ -9146,7 +9659,8 @@ 7951@@ -9163,7 +9676,8 @@
7952 allow_undefined_flag=unsupported 7952 allow_undefined_flag=unsupported
7953 always_export_symbols=no 7953 always_export_symbols=no
7954 enable_shared_with_static_runtimes=yes 7954 enable_shared_with_static_runtimes=yes
@@ -7958,7 +7958,7 @@ Index: git/bfd/configure
7958 7958
7959 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 7959 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7960 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 7960 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7961@@ -9194,7 +9708,7 @@ 7961@@ -9211,7 +9725,7 @@
7962 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 7962 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7963 && test "$tmp_diet" = no 7963 && test "$tmp_diet" = no
7964 then 7964 then
@@ -7967,7 +7967,7 @@ Index: git/bfd/configure
7967 tmp_sharedflag='-shared' 7967 tmp_sharedflag='-shared'
7968 case $cc_basename,$host_cpu in 7968 case $cc_basename,$host_cpu in
7969 pgcc*) # Portland Group C compiler 7969 pgcc*) # Portland Group C compiler
7970@@ -9245,12 +9759,12 @@ 7970@@ -9262,12 +9776,12 @@
7971 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 7971 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
7972 hardcode_libdir_flag_spec= 7972 hardcode_libdir_flag_spec=
7973 hardcode_libdir_flag_spec_ld='-rpath $libdir' 7973 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -7982,7 +7982,7 @@ Index: git/bfd/configure
7982 fi 7982 fi
7983 ;; 7983 ;;
7984 esac 7984 esac
7985@@ -9264,8 +9778,8 @@ 7985@@ -9281,8 +9795,8 @@
7986 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 7986 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7987 wlarc= 7987 wlarc=
7988 else 7988 else
@@ -7993,7 +7993,7 @@ Index: git/bfd/configure
7993 fi 7993 fi
7994 ;; 7994 ;;
7995 7995
7996@@ -9283,8 +9797,8 @@ 7996@@ -9300,8 +9814,8 @@
7997 7997
7998 _LT_EOF 7998 _LT_EOF
7999 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 7999 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -8004,7 +8004,7 @@ Index: git/bfd/configure
8004 else 8004 else
8005 ld_shlibs=no 8005 ld_shlibs=no
8006 fi 8006 fi
8007@@ -9330,8 +9844,8 @@ 8007@@ -9347,8 +9861,8 @@
8008 8008
8009 *) 8009 *)
8010 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8010 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -8015,7 +8015,7 @@ Index: git/bfd/configure
8015 else 8015 else
8016 ld_shlibs=no 8016 ld_shlibs=no
8017 fi 8017 fi
8018@@ -9461,7 +9975,13 @@ 8018@@ -9478,7 +9992,13 @@
8019 allow_undefined_flag='-berok' 8019 allow_undefined_flag='-berok'
8020 # Determine the default libpath from the value encoded in an 8020 # Determine the default libpath from the value encoded in an
8021 # empty executable. 8021 # empty executable.
@@ -8030,7 +8030,7 @@ Index: git/bfd/configure
8030 /* end confdefs.h. */ 8030 /* end confdefs.h. */
8031 8031
8032 int 8032 int
8033@@ -9474,22 +9994,29 @@ 8033@@ -9491,22 +10011,29 @@
8034 _ACEOF 8034 _ACEOF
8035 if ac_fn_c_try_link "$LINENO"; then : 8035 if ac_fn_c_try_link "$LINENO"; then :
8036 8036
@@ -8073,7 +8073,7 @@ Index: git/bfd/configure
8073 8073
8074 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8074 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8075 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 8075 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8076@@ -9501,7 +10028,13 @@ 8076@@ -9518,7 +10045,13 @@
8077 else 8077 else
8078 # Determine the default libpath from the value encoded in an 8078 # Determine the default libpath from the value encoded in an
8079 # empty executable. 8079 # empty executable.
@@ -8088,7 +8088,7 @@ Index: git/bfd/configure
8088 /* end confdefs.h. */ 8088 /* end confdefs.h. */
8089 8089
8090 int 8090 int
8091@@ -9514,22 +10047,29 @@ 8091@@ -9531,22 +10064,29 @@
8092 _ACEOF 8092 _ACEOF
8093 if ac_fn_c_try_link "$LINENO"; then : 8093 if ac_fn_c_try_link "$LINENO"; then :
8094 8094
@@ -8131,7 +8131,7 @@ Index: git/bfd/configure
8131 8131
8132 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8132 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8133 # Warning - without using the other run time loading flags, 8133 # Warning - without using the other run time loading flags,
8134@@ -9574,20 +10114,63 @@ 8134@@ -9591,20 +10131,63 @@
8135 # Microsoft Visual C++. 8135 # Microsoft Visual C++.
8136 # hardcode_libdir_flag_spec is actually meaningless, as there is 8136 # hardcode_libdir_flag_spec is actually meaningless, as there is
8137 # no search path for DLLs. 8137 # no search path for DLLs.
@@ -8209,7 +8209,7 @@ Index: git/bfd/configure
8209 ;; 8209 ;;
8210 8210
8211 darwin* | rhapsody*) 8211 darwin* | rhapsody*)
8212@@ -9648,7 +10231,7 @@ 8212@@ -9665,7 +10248,7 @@
8213 8213
8214 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 8214 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8215 freebsd* | dragonfly*) 8215 freebsd* | dragonfly*)
@@ -8218,7 +8218,7 @@ Index: git/bfd/configure
8218 hardcode_libdir_flag_spec='-R$libdir' 8218 hardcode_libdir_flag_spec='-R$libdir'
8219 hardcode_direct=yes 8219 hardcode_direct=yes
8220 hardcode_shlibpath_var=no 8220 hardcode_shlibpath_var=no
8221@@ -9656,7 +10239,7 @@ 8221@@ -9673,7 +10256,7 @@
8222 8222
8223 hpux9*) 8223 hpux9*)
8224 if test "$GCC" = yes; then 8224 if test "$GCC" = yes; then
@@ -8227,7 +8227,7 @@ Index: git/bfd/configure
8227 else 8227 else
8228 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 8228 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8229 fi 8229 fi
8230@@ -9672,7 +10255,7 @@ 8230@@ -9689,7 +10272,7 @@
8231 8231
8232 hpux10*) 8232 hpux10*)
8233 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 8233 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -8236,7 +8236,7 @@ Index: git/bfd/configure
8236 else 8236 else
8237 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 8237 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8238 fi 8238 fi
8239@@ -9696,10 +10279,10 @@ 8239@@ -9713,10 +10296,10 @@
8240 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8240 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8241 ;; 8241 ;;
8242 ia64*) 8242 ia64*)
@@ -8249,7 +8249,7 @@ Index: git/bfd/configure
8249 ;; 8249 ;;
8250 esac 8250 esac
8251 else 8251 else
8252@@ -9778,23 +10361,36 @@ 8252@@ -9795,23 +10378,36 @@
8253 8253
8254 irix5* | irix6* | nonstopux*) 8254 irix5* | irix6* | nonstopux*)
8255 if test "$GCC" = yes; then 8255 if test "$GCC" = yes; then
@@ -8294,7 +8294,7 @@ Index: git/bfd/configure
8294 else 8294 else
8295 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 8295 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
8296 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 8296 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8297@@ -9879,7 +10475,7 @@ 8297@@ -9896,7 +10492,7 @@
8298 osf4* | osf5*) # as osf3* with the addition of -msym flag 8298 osf4* | osf5*) # as osf3* with the addition of -msym flag
8299 if test "$GCC" = yes; then 8299 if test "$GCC" = yes; then
8300 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8300 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -8303,7 +8303,7 @@ Index: git/bfd/configure
8303 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8303 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8304 else 8304 else
8305 allow_undefined_flag=' -expect_unresolved \*' 8305 allow_undefined_flag=' -expect_unresolved \*'
8306@@ -9898,9 +10494,9 @@ 8306@@ -9915,9 +10511,9 @@
8307 no_undefined_flag=' -z defs' 8307 no_undefined_flag=' -z defs'
8308 if test "$GCC" = yes; then 8308 if test "$GCC" = yes; then
8309 wlarc='${wl}' 8309 wlarc='${wl}'
@@ -8315,7 +8315,7 @@ Index: git/bfd/configure
8315 else 8315 else
8316 case `$CC -V 2>&1` in 8316 case `$CC -V 2>&1` in
8317 *"Compilers 5.0"*) 8317 *"Compilers 5.0"*)
8318@@ -10476,8 +11072,9 @@ 8318@@ -10493,8 +11089,9 @@
8319 need_version=no 8319 need_version=no
8320 need_lib_prefix=no 8320 need_lib_prefix=no
8321 8321
@@ -8327,7 +8327,7 @@ Index: git/bfd/configure
8327 library_names_spec='$libname.dll.a' 8327 library_names_spec='$libname.dll.a'
8328 # DLL is installed to $(libdir)/../bin by postinstall_cmds 8328 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8329 postinstall_cmds='base_file=`basename \${file}`~ 8329 postinstall_cmds='base_file=`basename \${file}`~
8330@@ -10510,13 +11107,71 @@ 8330@@ -10527,13 +11124,71 @@
8331 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 8331 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8332 ;; 8332 ;;
8333 esac 8333 esac
@@ -8400,7 +8400,7 @@ Index: git/bfd/configure
8400 # FIXME: first we should search . and the directory the executable is in 8400 # FIXME: first we should search . and the directory the executable is in
8401 shlibpath_var=PATH 8401 shlibpath_var=PATH
8402 ;; 8402 ;;
8403@@ -10608,7 +11263,7 @@ 8403@@ -10625,7 +11280,7 @@
8404 soname_spec='${libname}${release}${shared_ext}$major' 8404 soname_spec='${libname}${release}${shared_ext}$major'
8405 shlibpath_var=LIBRARY_PATH 8405 shlibpath_var=LIBRARY_PATH
8406 shlibpath_overrides_runpath=yes 8406 shlibpath_overrides_runpath=yes
@@ -8409,16 +8409,7 @@ Index: git/bfd/configure
8409 hardcode_into_libs=yes 8409 hardcode_into_libs=yes
8410 ;; 8410 ;;
8411 8411
8412@@ -11404,7 +12059,7 @@ 8412@@ -11465,10 +12120,10 @@
8413 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8414 lt_status=$lt_dlunknown
8415 cat > conftest.$ac_ext <<_LT_EOF
8416-#line 11407 "configure"
8417+#line $LINENO "configure"
8418 #include "confdefs.h"
8419
8420 #if HAVE_DLFCN_H
8421@@ -11448,10 +12103,10 @@
8422 /* When -fvisbility=hidden is used, assume the code has been annotated 8413 /* When -fvisbility=hidden is used, assume the code has been annotated
8423 correspondingly for the symbols needed. */ 8414 correspondingly for the symbols needed. */
8424 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 8415 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -8431,16 +8422,7 @@ Index: git/bfd/configure
8431 int main () 8422 int main ()
8432 { 8423 {
8433 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 8424 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8434@@ -11510,7 +12165,7 @@ 8425@@ -11571,10 +12226,10 @@
8435 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8436 lt_status=$lt_dlunknown
8437 cat > conftest.$ac_ext <<_LT_EOF
8438-#line 11513 "configure"
8439+#line $LINENO "configure"
8440 #include "confdefs.h"
8441
8442 #if HAVE_DLFCN_H
8443@@ -11554,10 +12209,10 @@
8444 /* When -fvisbility=hidden is used, assume the code has been annotated 8426 /* When -fvisbility=hidden is used, assume the code has been annotated
8445 correspondingly for the symbols needed. */ 8427 correspondingly for the symbols needed. */
8446 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 8428 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -8453,7 +8435,7 @@ Index: git/bfd/configure
8453 int main () 8435 int main ()
8454 { 8436 {
8455 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 8437 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8456@@ -15056,7 +15711,7 @@ 8438@@ -15079,7 +15734,7 @@
8457 if test "$enable_shared" = "yes"; then 8439 if test "$enable_shared" = "yes"; then
8458 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` 8440 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
8459 if test -n "$x"; then 8441 if test -n "$x"; then
@@ -8462,7 +8444,7 @@ Index: git/bfd/configure
8462 fi 8444 fi
8463 8445
8464 # More hacks to build DLLs on Windows. 8446 # More hacks to build DLLs on Windows.
8465@@ -16661,13 +17316,20 @@ 8447@@ -16694,13 +17349,20 @@
8466 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 8448 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
8467 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 8449 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
8468 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 8450 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -8483,7 +8465,7 @@ Index: git/bfd/configure
8483 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 8465 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
8484 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 8466 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
8485 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 8467 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
8486@@ -16682,14 +17344,17 @@ 8468@@ -16715,14 +17377,17 @@
8487 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 8469 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
8488 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 8470 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
8489 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 8471 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -8502,7 +8484,7 @@ Index: git/bfd/configure
8502 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 8484 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
8503 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 8485 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
8504 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 8486 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
8505@@ -16722,12 +17387,12 @@ 8487@@ -16755,12 +17420,12 @@
8506 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 8488 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
8507 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 8489 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
8508 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 8490 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -8516,7 +8498,7 @@ Index: git/bfd/configure
8516 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 8498 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
8517 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 8499 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
8518 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 8500 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
8519@@ -16782,8 +17447,13 @@ 8501@@ -16815,8 +17480,13 @@
8520 OBJDUMP \ 8502 OBJDUMP \
8521 deplibs_check_method \ 8503 deplibs_check_method \
8522 file_magic_cmd \ 8504 file_magic_cmd \
@@ -8530,7 +8512,7 @@ Index: git/bfd/configure
8530 STRIP \ 8512 STRIP \
8531 RANLIB \ 8513 RANLIB \
8532 CC \ 8514 CC \
8533@@ -16793,12 +17463,14 @@ 8515@@ -16826,12 +17496,14 @@
8534 lt_cv_sys_global_symbol_to_cdecl \ 8516 lt_cv_sys_global_symbol_to_cdecl \
8535 lt_cv_sys_global_symbol_to_c_name_address \ 8517 lt_cv_sys_global_symbol_to_c_name_address \
8536 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 8518 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -8546,7 +8528,7 @@ Index: git/bfd/configure
8546 DSYMUTIL \ 8528 DSYMUTIL \
8547 NMEDIT \ 8529 NMEDIT \
8548 LIPO \ 8530 LIPO \
8549@@ -16814,7 +17486,6 @@ 8531@@ -16847,7 +17519,6 @@
8550 hardcode_libdir_flag_spec \ 8532 hardcode_libdir_flag_spec \
8551 hardcode_libdir_flag_spec_ld \ 8533 hardcode_libdir_flag_spec_ld \
8552 hardcode_libdir_separator \ 8534 hardcode_libdir_separator \
@@ -8554,7 +8536,7 @@ Index: git/bfd/configure
8554 exclude_expsyms \ 8536 exclude_expsyms \
8555 include_expsyms \ 8537 include_expsyms \
8556 file_list_spec \ 8538 file_list_spec \
8557@@ -16850,6 +17521,7 @@ 8539@@ -16883,6 +17554,7 @@
8558 module_expsym_cmds \ 8540 module_expsym_cmds \
8559 export_symbols_cmds \ 8541 export_symbols_cmds \
8560 prelink_cmds \ 8542 prelink_cmds \
@@ -8562,7 +8544,7 @@ Index: git/bfd/configure
8562 postinstall_cmds \ 8544 postinstall_cmds \
8563 postuninstall_cmds \ 8545 postuninstall_cmds \
8564 finish_cmds \ 8546 finish_cmds \
8565@@ -17629,7 +18301,8 @@ 8547@@ -17662,7 +18334,8 @@
8566 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 8548 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8567 # 8549 #
8568 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 8550 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -8572,7 +8554,7 @@ Index: git/bfd/configure
8572 # Written by Gordon Matzigkeit, 1996 8554 # Written by Gordon Matzigkeit, 1996
8573 # 8555 #
8574 # This file is part of GNU Libtool. 8556 # This file is part of GNU Libtool.
8575@@ -17732,19 +18405,42 @@ 8557@@ -17765,19 +18438,42 @@
8576 # turn newlines into spaces. 8558 # turn newlines into spaces.
8577 NL2SP=$lt_lt_NL2SP 8559 NL2SP=$lt_lt_NL2SP
8578 8560
@@ -8616,7 +8598,7 @@ Index: git/bfd/configure
8616 # A symbol stripping program. 8598 # A symbol stripping program.
8617 STRIP=$lt_STRIP 8599 STRIP=$lt_STRIP
8618 8600
8619@@ -17774,6 +18470,12 @@ 8601@@ -17807,6 +18503,12 @@
8620 # Transform the output of nm in a C name address pair when lib prefix is needed. 8602 # Transform the output of nm in a C name address pair when lib prefix is needed.
8621 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 8603 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
8622 8604
@@ -8629,7 +8611,7 @@ Index: git/bfd/configure
8629 # The name of the directory that contains temporary libtool files. 8611 # The name of the directory that contains temporary libtool files.
8630 objdir=$objdir 8612 objdir=$objdir
8631 8613
8632@@ -17783,6 +18485,9 @@ 8614@@ -17816,6 +18518,9 @@
8633 # Must we lock files when doing compilation? 8615 # Must we lock files when doing compilation?
8634 need_locks=$lt_need_locks 8616 need_locks=$lt_need_locks
8635 8617
@@ -8639,7 +8621,7 @@ Index: git/bfd/configure
8639 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 8621 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
8640 DSYMUTIL=$lt_DSYMUTIL 8622 DSYMUTIL=$lt_DSYMUTIL
8641 8623
8642@@ -17897,12 +18602,12 @@ 8624@@ -17930,12 +18635,12 @@
8643 # Compiler flag to turn off builtin functions. 8625 # Compiler flag to turn off builtin functions.
8644 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 8626 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
8645 8627
@@ -8655,7 +8637,7 @@ Index: git/bfd/configure
8655 # Compiler flag to prevent dynamic linking. 8637 # Compiler flag to prevent dynamic linking.
8656 link_static_flag=$lt_lt_prog_compiler_static 8638 link_static_flag=$lt_lt_prog_compiler_static
8657 8639
8658@@ -17989,9 +18694,6 @@ 8640@@ -18022,9 +18727,6 @@
8659 # Whether libtool must link a program against all its dependency libraries. 8641 # Whether libtool must link a program against all its dependency libraries.
8660 link_all_deplibs=$link_all_deplibs 8642 link_all_deplibs=$link_all_deplibs
8661 8643
@@ -8665,7 +8647,7 @@ Index: git/bfd/configure
8665 # Set to "yes" if exported symbols are required. 8647 # Set to "yes" if exported symbols are required.
8666 always_export_symbols=$always_export_symbols 8648 always_export_symbols=$always_export_symbols
8667 8649
8668@@ -18007,6 +18709,9 @@ 8650@@ -18040,6 +18742,9 @@
8669 # Commands necessary for linking programs (against libraries) with templates. 8651 # Commands necessary for linking programs (against libraries) with templates.
8670 prelink_cmds=$lt_prelink_cmds 8652 prelink_cmds=$lt_prelink_cmds
8671 8653
@@ -8675,7 +8657,7 @@ Index: git/bfd/configure
8675 # Specify filename containing input files. 8657 # Specify filename containing input files.
8676 file_list_spec=$lt_file_list_spec 8658 file_list_spec=$lt_file_list_spec
8677 8659
8678@@ -18039,210 +18744,169 @@ 8660@@ -18072,210 +18777,169 @@
8679 # if finds mixed CR/LF and LF-only lines. Since sed operates in 8661 # if finds mixed CR/LF and LF-only lines. Since sed operates in
8680 # text mode, it properly converts lines to CR/LF. This bash problem 8662 # text mode, it properly converts lines to CR/LF. This bash problem
8681 # is reportedly fixed, but why not run on old versions too? 8663 # is reportedly fixed, but why not run on old versions too?
@@ -9046,10 +9028,10 @@ Index: git/bfd/configure
9046 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 9028 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9047 chmod +x "$ofile" 9029 chmod +x "$ofile"
9048 9030
9049Index: git/opcodes/configure 9031Index: binutils-2.24/opcodes/configure
9050=================================================================== 9032===================================================================
9051--- git.orig/opcodes/configure 2012-09-07 01:13:47.513341480 -0700 9033--- binutils-2.24.orig/opcodes/configure 2013-11-04 07:33:40.000000000 -0800
9052+++ git/opcodes/configure 2012-09-07 12:22:50.350868022 -0700 9034+++ binutils-2.24/opcodes/configure 2013-12-15 11:10:23.873785364 -0800
9053@@ -648,6 +648,9 @@ 9035@@ -648,6 +648,9 @@
9054 LIPO 9036 LIPO
9055 NMEDIT 9037 NMEDIT
@@ -9658,7 +9640,7 @@ Index: git/opcodes/configure
9658 # Check whether --enable-libtool-lock was given. 9640 # Check whether --enable-libtool-lock was given.
9659 if test "${enable_libtool_lock+set}" = set; then : 9641 if test "${enable_libtool_lock+set}" = set; then :
9660 enableval=$enable_libtool_lock; 9642 enableval=$enable_libtool_lock;
9661@@ -7060,6 +7440,123 @@ 9643@@ -7073,6 +7453,123 @@
9662 9644
9663 need_locks="$enable_libtool_lock" 9645 need_locks="$enable_libtool_lock"
9664 9646
@@ -9782,7 +9764,7 @@ Index: git/opcodes/configure
9782 9764
9783 case $host_os in 9765 case $host_os in
9784 rhapsody* | darwin*) 9766 rhapsody* | darwin*)
9785@@ -7623,6 +8120,8 @@ 9767@@ -7636,6 +8133,8 @@
9786 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9768 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9787 echo "$AR cru libconftest.a conftest.o" >&5 9769 echo "$AR cru libconftest.a conftest.o" >&5
9788 $AR cru libconftest.a conftest.o 2>&5 9770 $AR cru libconftest.a conftest.o 2>&5
@@ -9791,7 +9773,7 @@ Index: git/opcodes/configure
9791 cat > conftest.c << _LT_EOF 9773 cat > conftest.c << _LT_EOF
9792 int main() { return 0;} 9774 int main() { return 0;}
9793 _LT_EOF 9775 _LT_EOF
9794@@ -7788,7 +8287,8 @@ 9776@@ -7801,7 +8300,8 @@
9795 LIBTOOL_DEPS="$ltmain" 9777 LIBTOOL_DEPS="$ltmain"
9796 9778
9797 # Always use our own libtool. 9779 # Always use our own libtool.
@@ -9801,7 +9783,7 @@ Index: git/opcodes/configure
9801 9783
9802 9784
9803 9785
9804@@ -7877,7 +8377,7 @@ 9786@@ -7890,7 +8390,7 @@
9805 esac 9787 esac
9806 9788
9807 # Global variables: 9789 # Global variables:
@@ -9810,7 +9792,7 @@ Index: git/opcodes/configure
9810 can_build_shared=yes 9792 can_build_shared=yes
9811 9793
9812 # All known linkers require a `.a' archive for static linking (except MSVC, 9794 # All known linkers require a `.a' archive for static linking (except MSVC,
9813@@ -8175,8 +8675,6 @@ 9795@@ -8188,8 +8688,6 @@
9814 lt_prog_compiler_pic= 9796 lt_prog_compiler_pic=
9815 lt_prog_compiler_static= 9797 lt_prog_compiler_static=
9816 9798
@@ -9819,7 +9801,7 @@ Index: git/opcodes/configure
9819 9801
9820 if test "$GCC" = yes; then 9802 if test "$GCC" = yes; then
9821 lt_prog_compiler_wl='-Wl,' 9803 lt_prog_compiler_wl='-Wl,'
9822@@ -8341,6 +8839,12 @@ 9804@@ -8355,6 +8853,12 @@
9823 lt_prog_compiler_pic='--shared' 9805 lt_prog_compiler_pic='--shared'
9824 lt_prog_compiler_static='--static' 9806 lt_prog_compiler_static='--static'
9825 ;; 9807 ;;
@@ -9832,7 +9814,7 @@ Index: git/opcodes/configure
9832 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9814 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9833 # Portland Group compilers (*not* the Pentium gcc compiler, 9815 # Portland Group compilers (*not* the Pentium gcc compiler,
9834 # which looks to be a dead project) 9816 # which looks to be a dead project)
9835@@ -8403,7 +8907,7 @@ 9817@@ -8417,7 +8921,7 @@
9836 lt_prog_compiler_pic='-KPIC' 9818 lt_prog_compiler_pic='-KPIC'
9837 lt_prog_compiler_static='-Bstatic' 9819 lt_prog_compiler_static='-Bstatic'
9838 case $cc_basename in 9820 case $cc_basename in
@@ -9841,7 +9823,7 @@ Index: git/opcodes/configure
9841 lt_prog_compiler_wl='-Qoption ld ';; 9823 lt_prog_compiler_wl='-Qoption ld ';;
9842 *) 9824 *)
9843 lt_prog_compiler_wl='-Wl,';; 9825 lt_prog_compiler_wl='-Wl,';;
9844@@ -8460,13 +8964,17 @@ 9826@@ -8474,13 +8978,17 @@
9845 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9827 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9846 ;; 9828 ;;
9847 esac 9829 esac
@@ -9865,7 +9847,7 @@ Index: git/opcodes/configure
9865 9847
9866 # 9848 #
9867 # Check to make sure the PIC flag actually works. 9849 # Check to make sure the PIC flag actually works.
9868@@ -8527,6 +9035,11 @@ 9850@@ -8541,6 +9049,11 @@
9869 9851
9870 9852
9871 9853
@@ -9877,7 +9859,7 @@ Index: git/opcodes/configure
9877 # 9859 #
9878 # Check to make sure the static flag actually works. 9860 # Check to make sure the static flag actually works.
9879 # 9861 #
9880@@ -8877,7 +9390,8 @@ 9862@@ -8891,7 +9404,8 @@
9881 allow_undefined_flag=unsupported 9863 allow_undefined_flag=unsupported
9882 always_export_symbols=no 9864 always_export_symbols=no
9883 enable_shared_with_static_runtimes=yes 9865 enable_shared_with_static_runtimes=yes
@@ -9887,7 +9869,7 @@ Index: git/opcodes/configure
9887 9869
9888 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9870 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9889 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9871 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9890@@ -8925,7 +9439,7 @@ 9872@@ -8939,7 +9453,7 @@
9891 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9873 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9892 && test "$tmp_diet" = no 9874 && test "$tmp_diet" = no
9893 then 9875 then
@@ -9896,7 +9878,7 @@ Index: git/opcodes/configure
9896 tmp_sharedflag='-shared' 9878 tmp_sharedflag='-shared'
9897 case $cc_basename,$host_cpu in 9879 case $cc_basename,$host_cpu in
9898 pgcc*) # Portland Group C compiler 9880 pgcc*) # Portland Group C compiler
9899@@ -8976,12 +9490,12 @@ 9881@@ -8990,12 +9504,12 @@
9900 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9882 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9901 hardcode_libdir_flag_spec= 9883 hardcode_libdir_flag_spec=
9902 hardcode_libdir_flag_spec_ld='-rpath $libdir' 9884 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -9911,7 +9893,7 @@ Index: git/opcodes/configure
9911 fi 9893 fi
9912 ;; 9894 ;;
9913 esac 9895 esac
9914@@ -8995,8 +9509,8 @@ 9896@@ -9009,8 +9523,8 @@
9915 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9897 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9916 wlarc= 9898 wlarc=
9917 else 9899 else
@@ -9922,7 +9904,7 @@ Index: git/opcodes/configure
9922 fi 9904 fi
9923 ;; 9905 ;;
9924 9906
9925@@ -9014,8 +9528,8 @@ 9907@@ -9028,8 +9542,8 @@
9926 9908
9927 _LT_EOF 9909 _LT_EOF
9928 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9910 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -9933,7 +9915,7 @@ Index: git/opcodes/configure
9933 else 9915 else
9934 ld_shlibs=no 9916 ld_shlibs=no
9935 fi 9917 fi
9936@@ -9061,8 +9575,8 @@ 9918@@ -9075,8 +9589,8 @@
9937 9919
9938 *) 9920 *)
9939 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9921 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -9944,7 +9926,7 @@ Index: git/opcodes/configure
9944 else 9926 else
9945 ld_shlibs=no 9927 ld_shlibs=no
9946 fi 9928 fi
9947@@ -9192,7 +9706,13 @@ 9929@@ -9206,7 +9720,13 @@
9948 allow_undefined_flag='-berok' 9930 allow_undefined_flag='-berok'
9949 # Determine the default libpath from the value encoded in an 9931 # Determine the default libpath from the value encoded in an
9950 # empty executable. 9932 # empty executable.
@@ -9959,7 +9941,7 @@ Index: git/opcodes/configure
9959 /* end confdefs.h. */ 9941 /* end confdefs.h. */
9960 9942
9961 int 9943 int
9962@@ -9205,22 +9725,29 @@ 9944@@ -9219,22 +9739,29 @@
9963 _ACEOF 9945 _ACEOF
9964 if ac_fn_c_try_link "$LINENO"; then : 9946 if ac_fn_c_try_link "$LINENO"; then :
9965 9947
@@ -10002,7 +9984,7 @@ Index: git/opcodes/configure
10002 9984
10003 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9985 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10004 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 9986 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10005@@ -9232,7 +9759,13 @@ 9987@@ -9246,7 +9773,13 @@
10006 else 9988 else
10007 # Determine the default libpath from the value encoded in an 9989 # Determine the default libpath from the value encoded in an
10008 # empty executable. 9990 # empty executable.
@@ -10017,7 +9999,7 @@ Index: git/opcodes/configure
10017 /* end confdefs.h. */ 9999 /* end confdefs.h. */
10018 10000
10019 int 10001 int
10020@@ -9245,22 +9778,29 @@ 10002@@ -9259,22 +9792,29 @@
10021 _ACEOF 10003 _ACEOF
10022 if ac_fn_c_try_link "$LINENO"; then : 10004 if ac_fn_c_try_link "$LINENO"; then :
10023 10005
@@ -10060,7 +10042,7 @@ Index: git/opcodes/configure
10060 10042
10061 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10043 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10062 # Warning - without using the other run time loading flags, 10044 # Warning - without using the other run time loading flags,
10063@@ -9305,20 +9845,63 @@ 10045@@ -9319,20 +9859,63 @@
10064 # Microsoft Visual C++. 10046 # Microsoft Visual C++.
10065 # hardcode_libdir_flag_spec is actually meaningless, as there is 10047 # hardcode_libdir_flag_spec is actually meaningless, as there is
10066 # no search path for DLLs. 10048 # no search path for DLLs.
@@ -10138,7 +10120,7 @@ Index: git/opcodes/configure
10138 ;; 10120 ;;
10139 10121
10140 darwin* | rhapsody*) 10122 darwin* | rhapsody*)
10141@@ -9379,7 +9962,7 @@ 10123@@ -9393,7 +9976,7 @@
10142 10124
10143 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10125 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10144 freebsd* | dragonfly*) 10126 freebsd* | dragonfly*)
@@ -10147,7 +10129,7 @@ Index: git/opcodes/configure
10147 hardcode_libdir_flag_spec='-R$libdir' 10129 hardcode_libdir_flag_spec='-R$libdir'
10148 hardcode_direct=yes 10130 hardcode_direct=yes
10149 hardcode_shlibpath_var=no 10131 hardcode_shlibpath_var=no
10150@@ -9387,7 +9970,7 @@ 10132@@ -9401,7 +9984,7 @@
10151 10133
10152 hpux9*) 10134 hpux9*)
10153 if test "$GCC" = yes; then 10135 if test "$GCC" = yes; then
@@ -10156,7 +10138,7 @@ Index: git/opcodes/configure
10156 else 10138 else
10157 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 10139 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10158 fi 10140 fi
10159@@ -9403,7 +9986,7 @@ 10141@@ -9417,7 +10000,7 @@
10160 10142
10161 hpux10*) 10143 hpux10*)
10162 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10144 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -10165,7 +10147,7 @@ Index: git/opcodes/configure
10165 else 10147 else
10166 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10148 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10167 fi 10149 fi
10168@@ -9427,10 +10010,10 @@ 10150@@ -9441,10 +10024,10 @@
10169 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10151 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10170 ;; 10152 ;;
10171 ia64*) 10153 ia64*)
@@ -10178,7 +10160,7 @@ Index: git/opcodes/configure
10178 ;; 10160 ;;
10179 esac 10161 esac
10180 else 10162 else
10181@@ -9509,23 +10092,36 @@ 10163@@ -9523,23 +10106,36 @@
10182 10164
10183 irix5* | irix6* | nonstopux*) 10165 irix5* | irix6* | nonstopux*)
10184 if test "$GCC" = yes; then 10166 if test "$GCC" = yes; then
@@ -10223,7 +10205,7 @@ Index: git/opcodes/configure
10223 else 10205 else
10224 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 10206 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10225 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 10207 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10226@@ -9610,7 +10206,7 @@ 10208@@ -9624,7 +10220,7 @@
10227 osf4* | osf5*) # as osf3* with the addition of -msym flag 10209 osf4* | osf5*) # as osf3* with the addition of -msym flag
10228 if test "$GCC" = yes; then 10210 if test "$GCC" = yes; then
10229 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10211 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -10232,7 +10214,7 @@ Index: git/opcodes/configure
10232 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10214 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10233 else 10215 else
10234 allow_undefined_flag=' -expect_unresolved \*' 10216 allow_undefined_flag=' -expect_unresolved \*'
10235@@ -9629,9 +10225,9 @@ 10217@@ -9643,9 +10239,9 @@
10236 no_undefined_flag=' -z defs' 10218 no_undefined_flag=' -z defs'
10237 if test "$GCC" = yes; then 10219 if test "$GCC" = yes; then
10238 wlarc='${wl}' 10220 wlarc='${wl}'
@@ -10244,7 +10226,7 @@ Index: git/opcodes/configure
10244 else 10226 else
10245 case `$CC -V 2>&1` in 10227 case `$CC -V 2>&1` in
10246 *"Compilers 5.0"*) 10228 *"Compilers 5.0"*)
10247@@ -10207,8 +10803,9 @@ 10229@@ -10221,8 +10817,9 @@
10248 need_version=no 10230 need_version=no
10249 need_lib_prefix=no 10231 need_lib_prefix=no
10250 10232
@@ -10256,7 +10238,7 @@ Index: git/opcodes/configure
10256 library_names_spec='$libname.dll.a' 10238 library_names_spec='$libname.dll.a'
10257 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10239 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10258 postinstall_cmds='base_file=`basename \${file}`~ 10240 postinstall_cmds='base_file=`basename \${file}`~
10259@@ -10241,13 +10838,71 @@ 10241@@ -10255,13 +10852,71 @@
10260 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10242 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10261 ;; 10243 ;;
10262 esac 10244 esac
@@ -10329,7 +10311,7 @@ Index: git/opcodes/configure
10329 # FIXME: first we should search . and the directory the executable is in 10311 # FIXME: first we should search . and the directory the executable is in
10330 shlibpath_var=PATH 10312 shlibpath_var=PATH
10331 ;; 10313 ;;
10332@@ -10339,7 +10994,7 @@ 10314@@ -10353,7 +11008,7 @@
10333 soname_spec='${libname}${release}${shared_ext}$major' 10315 soname_spec='${libname}${release}${shared_ext}$major'
10334 shlibpath_var=LIBRARY_PATH 10316 shlibpath_var=LIBRARY_PATH
10335 shlibpath_overrides_runpath=yes 10317 shlibpath_overrides_runpath=yes
@@ -10338,16 +10320,7 @@ Index: git/opcodes/configure
10338 hardcode_into_libs=yes 10320 hardcode_into_libs=yes
10339 ;; 10321 ;;
10340 10322
10341@@ -11135,7 +11790,7 @@ 10323@@ -11193,10 +11848,10 @@
10342 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10343 lt_status=$lt_dlunknown
10344 cat > conftest.$ac_ext <<_LT_EOF
10345-#line 11138 "configure"
10346+#line $LINENO "configure"
10347 #include "confdefs.h"
10348
10349 #if HAVE_DLFCN_H
10350@@ -11179,10 +11834,10 @@
10351 /* When -fvisbility=hidden is used, assume the code has been annotated 10324 /* When -fvisbility=hidden is used, assume the code has been annotated
10352 correspondingly for the symbols needed. */ 10325 correspondingly for the symbols needed. */
10353 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 10326 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -10360,16 +10333,7 @@ Index: git/opcodes/configure
10360 int main () 10333 int main ()
10361 { 10334 {
10362 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10335 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10363@@ -11241,7 +11896,7 @@ 10336@@ -11299,10 +11954,10 @@
10364 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10365 lt_status=$lt_dlunknown
10366 cat > conftest.$ac_ext <<_LT_EOF
10367-#line 11244 "configure"
10368+#line $LINENO "configure"
10369 #include "confdefs.h"
10370
10371 #if HAVE_DLFCN_H
10372@@ -11285,10 +11940,10 @@
10373 /* When -fvisbility=hidden is used, assume the code has been annotated 10337 /* When -fvisbility=hidden is used, assume the code has been annotated
10374 correspondingly for the symbols needed. */ 10338 correspondingly for the symbols needed. */
10375 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 10339 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -10382,7 +10346,7 @@ Index: git/opcodes/configure
10382 int main () 10346 int main ()
10383 { 10347 {
10384 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10348 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10385@@ -12401,7 +13056,7 @@ 10349@@ -12415,7 +13070,7 @@
10386 # since libbfd may not pull in the entirety of libiberty. 10350 # since libbfd may not pull in the entirety of libiberty.
10387 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` 10351 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
10388 if test -n "$x"; then 10352 if test -n "$x"; then
@@ -10391,7 +10355,7 @@ Index: git/opcodes/configure
10391 fi 10355 fi
10392 10356
10393 case "${host}" in 10357 case "${host}" in
10394@@ -13370,13 +14025,20 @@ 10358@@ -13387,13 +14042,20 @@
10395 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 10359 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
10396 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 10360 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
10397 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 10361 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -10412,7 +10376,7 @@ Index: git/opcodes/configure
10412 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 10376 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
10413 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 10377 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
10414 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 10378 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
10415@@ -13391,14 +14053,17 @@ 10379@@ -13408,14 +14070,17 @@
10416 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 10380 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
10417 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 10381 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
10418 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 10382 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -10431,7 +10395,7 @@ Index: git/opcodes/configure
10431 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 10395 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
10432 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 10396 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
10433 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 10397 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
10434@@ -13431,12 +14096,12 @@ 10398@@ -13448,12 +14113,12 @@
10435 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 10399 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
10436 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 10400 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
10437 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 10401 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -10445,7 +10409,7 @@ Index: git/opcodes/configure
10445 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 10409 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
10446 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 10410 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
10447 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 10411 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
10448@@ -13491,8 +14156,13 @@ 10412@@ -13508,8 +14173,13 @@
10449 OBJDUMP \ 10413 OBJDUMP \
10450 deplibs_check_method \ 10414 deplibs_check_method \
10451 file_magic_cmd \ 10415 file_magic_cmd \
@@ -10459,7 +10423,7 @@ Index: git/opcodes/configure
10459 STRIP \ 10423 STRIP \
10460 RANLIB \ 10424 RANLIB \
10461 CC \ 10425 CC \
10462@@ -13502,12 +14172,14 @@ 10426@@ -13519,12 +14189,14 @@
10463 lt_cv_sys_global_symbol_to_cdecl \ 10427 lt_cv_sys_global_symbol_to_cdecl \
10464 lt_cv_sys_global_symbol_to_c_name_address \ 10428 lt_cv_sys_global_symbol_to_c_name_address \
10465 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 10429 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -10475,7 +10439,7 @@ Index: git/opcodes/configure
10475 DSYMUTIL \ 10439 DSYMUTIL \
10476 NMEDIT \ 10440 NMEDIT \
10477 LIPO \ 10441 LIPO \
10478@@ -13523,7 +14195,6 @@ 10442@@ -13540,7 +14212,6 @@
10479 hardcode_libdir_flag_spec \ 10443 hardcode_libdir_flag_spec \
10480 hardcode_libdir_flag_spec_ld \ 10444 hardcode_libdir_flag_spec_ld \
10481 hardcode_libdir_separator \ 10445 hardcode_libdir_separator \
@@ -10483,7 +10447,7 @@ Index: git/opcodes/configure
10483 exclude_expsyms \ 10447 exclude_expsyms \
10484 include_expsyms \ 10448 include_expsyms \
10485 file_list_spec \ 10449 file_list_spec \
10486@@ -13559,6 +14230,7 @@ 10450@@ -13576,6 +14247,7 @@
10487 module_expsym_cmds \ 10451 module_expsym_cmds \
10488 export_symbols_cmds \ 10452 export_symbols_cmds \
10489 prelink_cmds \ 10453 prelink_cmds \
@@ -10491,7 +10455,7 @@ Index: git/opcodes/configure
10491 postinstall_cmds \ 10455 postinstall_cmds \
10492 postuninstall_cmds \ 10456 postuninstall_cmds \
10493 finish_cmds \ 10457 finish_cmds \
10494@@ -14315,7 +14987,8 @@ 10458@@ -14332,7 +15004,8 @@
10495 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 10459 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10496 # 10460 #
10497 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 10461 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -10501,7 +10465,7 @@ Index: git/opcodes/configure
10501 # Written by Gordon Matzigkeit, 1996 10465 # Written by Gordon Matzigkeit, 1996
10502 # 10466 #
10503 # This file is part of GNU Libtool. 10467 # This file is part of GNU Libtool.
10504@@ -14418,19 +15091,42 @@ 10468@@ -14435,19 +15108,42 @@
10505 # turn newlines into spaces. 10469 # turn newlines into spaces.
10506 NL2SP=$lt_lt_NL2SP 10470 NL2SP=$lt_lt_NL2SP
10507 10471
@@ -10545,7 +10509,7 @@ Index: git/opcodes/configure
10545 # A symbol stripping program. 10509 # A symbol stripping program.
10546 STRIP=$lt_STRIP 10510 STRIP=$lt_STRIP
10547 10511
10548@@ -14460,6 +15156,12 @@ 10512@@ -14477,6 +15173,12 @@
10549 # Transform the output of nm in a C name address pair when lib prefix is needed. 10513 # Transform the output of nm in a C name address pair when lib prefix is needed.
10550 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 10514 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
10551 10515
@@ -10558,7 +10522,7 @@ Index: git/opcodes/configure
10558 # The name of the directory that contains temporary libtool files. 10522 # The name of the directory that contains temporary libtool files.
10559 objdir=$objdir 10523 objdir=$objdir
10560 10524
10561@@ -14469,6 +15171,9 @@ 10525@@ -14486,6 +15188,9 @@
10562 # Must we lock files when doing compilation? 10526 # Must we lock files when doing compilation?
10563 need_locks=$lt_need_locks 10527 need_locks=$lt_need_locks
10564 10528
@@ -10568,7 +10532,7 @@ Index: git/opcodes/configure
10568 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 10532 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
10569 DSYMUTIL=$lt_DSYMUTIL 10533 DSYMUTIL=$lt_DSYMUTIL
10570 10534
10571@@ -14583,12 +15288,12 @@ 10535@@ -14600,12 +15305,12 @@
10572 # Compiler flag to turn off builtin functions. 10536 # Compiler flag to turn off builtin functions.
10573 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 10537 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10574 10538
@@ -10584,7 +10548,7 @@ Index: git/opcodes/configure
10584 # Compiler flag to prevent dynamic linking. 10548 # Compiler flag to prevent dynamic linking.
10585 link_static_flag=$lt_lt_prog_compiler_static 10549 link_static_flag=$lt_lt_prog_compiler_static
10586 10550
10587@@ -14675,9 +15380,6 @@ 10551@@ -14692,9 +15397,6 @@
10588 # Whether libtool must link a program against all its dependency libraries. 10552 # Whether libtool must link a program against all its dependency libraries.
10589 link_all_deplibs=$link_all_deplibs 10553 link_all_deplibs=$link_all_deplibs
10590 10554
@@ -10594,7 +10558,7 @@ Index: git/opcodes/configure
10594 # Set to "yes" if exported symbols are required. 10558 # Set to "yes" if exported symbols are required.
10595 always_export_symbols=$always_export_symbols 10559 always_export_symbols=$always_export_symbols
10596 10560
10597@@ -14693,6 +15395,9 @@ 10561@@ -14710,6 +15412,9 @@
10598 # Commands necessary for linking programs (against libraries) with templates. 10562 # Commands necessary for linking programs (against libraries) with templates.
10599 prelink_cmds=$lt_prelink_cmds 10563 prelink_cmds=$lt_prelink_cmds
10600 10564
@@ -10604,7 +10568,7 @@ Index: git/opcodes/configure
10604 # Specify filename containing input files. 10568 # Specify filename containing input files.
10605 file_list_spec=$lt_file_list_spec 10569 file_list_spec=$lt_file_list_spec
10606 10570
10607@@ -14725,210 +15430,169 @@ 10571@@ -14742,210 +15447,169 @@
10608 # if finds mixed CR/LF and LF-only lines. Since sed operates in 10572 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10609 # text mode, it properly converts lines to CR/LF. This bash problem 10573 # text mode, it properly converts lines to CR/LF. This bash problem
10610 # is reportedly fixed, but why not run on old versions too? 10574 # is reportedly fixed, but why not run on old versions too?
@@ -10975,10 +10939,10 @@ Index: git/opcodes/configure
10975 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 10939 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10976 chmod +x "$ofile" 10940 chmod +x "$ofile"
10977 10941
10978Index: git/binutils/configure 10942Index: binutils-2.24/binutils/configure
10979=================================================================== 10943===================================================================
10980--- git.orig/binutils/configure 2012-09-07 01:13:43.349341321 -0700 10944--- binutils-2.24.orig/binutils/configure 2013-11-04 07:33:37.000000000 -0800
10981+++ git/binutils/configure 2012-09-07 12:21:49.670865713 -0700 10945+++ binutils-2.24/binutils/configure 2013-12-15 11:10:23.877118697 -0800
10982@@ -655,8 +655,11 @@ 10946@@ -655,8 +655,11 @@
10983 LIPO 10947 LIPO
10984 NMEDIT 10948 NMEDIT
@@ -11589,7 +11553,7 @@ Index: git/binutils/configure
11589 11553
11590 # Check whether --enable-libtool-lock was given. 11554 # Check whether --enable-libtool-lock was given.
11591 if test "${enable_libtool_lock+set}" = set; then : 11555 if test "${enable_libtool_lock+set}" = set; then :
11592@@ -7099,6 +7479,123 @@ 11556@@ -7112,6 +7492,123 @@
11593 11557
11594 need_locks="$enable_libtool_lock" 11558 need_locks="$enable_libtool_lock"
11595 11559
@@ -11713,7 +11677,7 @@ Index: git/binutils/configure
11713 11677
11714 case $host_os in 11678 case $host_os in
11715 rhapsody* | darwin*) 11679 rhapsody* | darwin*)
11716@@ -7662,6 +8159,8 @@ 11680@@ -7675,6 +8172,8 @@
11717 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 11681 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
11718 echo "$AR cru libconftest.a conftest.o" >&5 11682 echo "$AR cru libconftest.a conftest.o" >&5
11719 $AR cru libconftest.a conftest.o 2>&5 11683 $AR cru libconftest.a conftest.o 2>&5
@@ -11722,7 +11686,7 @@ Index: git/binutils/configure
11722 cat > conftest.c << _LT_EOF 11686 cat > conftest.c << _LT_EOF
11723 int main() { return 0;} 11687 int main() { return 0;}
11724 _LT_EOF 11688 _LT_EOF
11725@@ -7857,7 +8356,8 @@ 11689@@ -7870,7 +8369,8 @@
11726 LIBTOOL_DEPS="$ltmain" 11690 LIBTOOL_DEPS="$ltmain"
11727 11691
11728 # Always use our own libtool. 11692 # Always use our own libtool.
@@ -11732,7 +11696,7 @@ Index: git/binutils/configure
11732 11696
11733 11697
11734 11698
11735@@ -7946,7 +8446,7 @@ 11699@@ -7959,7 +8459,7 @@
11736 esac 11700 esac
11737 11701
11738 # Global variables: 11702 # Global variables:
@@ -11741,7 +11705,7 @@ Index: git/binutils/configure
11741 can_build_shared=yes 11705 can_build_shared=yes
11742 11706
11743 # All known linkers require a `.a' archive for static linking (except MSVC, 11707 # All known linkers require a `.a' archive for static linking (except MSVC,
11744@@ -8244,8 +8744,6 @@ 11708@@ -8257,8 +8757,6 @@
11745 lt_prog_compiler_pic= 11709 lt_prog_compiler_pic=
11746 lt_prog_compiler_static= 11710 lt_prog_compiler_static=
11747 11711
@@ -11750,7 +11714,7 @@ Index: git/binutils/configure
11750 11714
11751 if test "$GCC" = yes; then 11715 if test "$GCC" = yes; then
11752 lt_prog_compiler_wl='-Wl,' 11716 lt_prog_compiler_wl='-Wl,'
11753@@ -8410,6 +8908,12 @@ 11717@@ -8424,6 +8922,12 @@
11754 lt_prog_compiler_pic='--shared' 11718 lt_prog_compiler_pic='--shared'
11755 lt_prog_compiler_static='--static' 11719 lt_prog_compiler_static='--static'
11756 ;; 11720 ;;
@@ -11763,7 +11727,7 @@ Index: git/binutils/configure
11763 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 11727 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11764 # Portland Group compilers (*not* the Pentium gcc compiler, 11728 # Portland Group compilers (*not* the Pentium gcc compiler,
11765 # which looks to be a dead project) 11729 # which looks to be a dead project)
11766@@ -8472,7 +8976,7 @@ 11730@@ -8486,7 +8990,7 @@
11767 lt_prog_compiler_pic='-KPIC' 11731 lt_prog_compiler_pic='-KPIC'
11768 lt_prog_compiler_static='-Bstatic' 11732 lt_prog_compiler_static='-Bstatic'
11769 case $cc_basename in 11733 case $cc_basename in
@@ -11772,7 +11736,7 @@ Index: git/binutils/configure
11772 lt_prog_compiler_wl='-Qoption ld ';; 11736 lt_prog_compiler_wl='-Qoption ld ';;
11773 *) 11737 *)
11774 lt_prog_compiler_wl='-Wl,';; 11738 lt_prog_compiler_wl='-Wl,';;
11775@@ -8529,13 +9033,17 @@ 11739@@ -8543,13 +9047,17 @@
11776 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 11740 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11777 ;; 11741 ;;
11778 esac 11742 esac
@@ -11796,7 +11760,7 @@ Index: git/binutils/configure
11796 11760
11797 # 11761 #
11798 # Check to make sure the PIC flag actually works. 11762 # Check to make sure the PIC flag actually works.
11799@@ -8596,6 +9104,11 @@ 11763@@ -8610,6 +9118,11 @@
11800 11764
11801 11765
11802 11766
@@ -11808,7 +11772,7 @@ Index: git/binutils/configure
11808 # 11772 #
11809 # Check to make sure the static flag actually works. 11773 # Check to make sure the static flag actually works.
11810 # 11774 #
11811@@ -8946,7 +9459,8 @@ 11775@@ -8960,7 +9473,8 @@
11812 allow_undefined_flag=unsupported 11776 allow_undefined_flag=unsupported
11813 always_export_symbols=no 11777 always_export_symbols=no
11814 enable_shared_with_static_runtimes=yes 11778 enable_shared_with_static_runtimes=yes
@@ -11818,7 +11782,7 @@ Index: git/binutils/configure
11818 11782
11819 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 11783 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11820 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 11784 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11821@@ -8994,7 +9508,7 @@ 11785@@ -9008,7 +9522,7 @@
11822 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 11786 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11823 && test "$tmp_diet" = no 11787 && test "$tmp_diet" = no
11824 then 11788 then
@@ -11827,7 +11791,7 @@ Index: git/binutils/configure
11827 tmp_sharedflag='-shared' 11791 tmp_sharedflag='-shared'
11828 case $cc_basename,$host_cpu in 11792 case $cc_basename,$host_cpu in
11829 pgcc*) # Portland Group C compiler 11793 pgcc*) # Portland Group C compiler
11830@@ -9045,12 +9559,12 @@ 11794@@ -9059,12 +9573,12 @@
11831 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 11795 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11832 hardcode_libdir_flag_spec= 11796 hardcode_libdir_flag_spec=
11833 hardcode_libdir_flag_spec_ld='-rpath $libdir' 11797 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -11842,7 +11806,7 @@ Index: git/binutils/configure
11842 fi 11806 fi
11843 ;; 11807 ;;
11844 esac 11808 esac
11845@@ -9064,8 +9578,8 @@ 11809@@ -9078,8 +9592,8 @@
11846 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 11810 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11847 wlarc= 11811 wlarc=
11848 else 11812 else
@@ -11853,7 +11817,7 @@ Index: git/binutils/configure
11853 fi 11817 fi
11854 ;; 11818 ;;
11855 11819
11856@@ -9083,8 +9597,8 @@ 11820@@ -9097,8 +9611,8 @@
11857 11821
11858 _LT_EOF 11822 _LT_EOF
11859 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11823 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -11864,7 +11828,7 @@ Index: git/binutils/configure
11864 else 11828 else
11865 ld_shlibs=no 11829 ld_shlibs=no
11866 fi 11830 fi
11867@@ -9130,8 +9644,8 @@ 11831@@ -9144,8 +9658,8 @@
11868 11832
11869 *) 11833 *)
11870 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11834 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -11875,7 +11839,7 @@ Index: git/binutils/configure
11875 else 11839 else
11876 ld_shlibs=no 11840 ld_shlibs=no
11877 fi 11841 fi
11878@@ -9261,7 +9775,13 @@ 11842@@ -9275,7 +9789,13 @@
11879 allow_undefined_flag='-berok' 11843 allow_undefined_flag='-berok'
11880 # Determine the default libpath from the value encoded in an 11844 # Determine the default libpath from the value encoded in an
11881 # empty executable. 11845 # empty executable.
@@ -11890,7 +11854,7 @@ Index: git/binutils/configure
11890 /* end confdefs.h. */ 11854 /* end confdefs.h. */
11891 11855
11892 int 11856 int
11893@@ -9274,22 +9794,29 @@ 11857@@ -9288,22 +9808,29 @@
11894 _ACEOF 11858 _ACEOF
11895 if ac_fn_c_try_link "$LINENO"; then : 11859 if ac_fn_c_try_link "$LINENO"; then :
11896 11860
@@ -11933,7 +11897,7 @@ Index: git/binutils/configure
11933 11897
11934 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 11898 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11935 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 11899 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11936@@ -9301,7 +9828,13 @@ 11900@@ -9315,7 +9842,13 @@
11937 else 11901 else
11938 # Determine the default libpath from the value encoded in an 11902 # Determine the default libpath from the value encoded in an
11939 # empty executable. 11903 # empty executable.
@@ -11948,7 +11912,7 @@ Index: git/binutils/configure
11948 /* end confdefs.h. */ 11912 /* end confdefs.h. */
11949 11913
11950 int 11914 int
11951@@ -9314,22 +9847,29 @@ 11915@@ -9328,22 +9861,29 @@
11952 _ACEOF 11916 _ACEOF
11953 if ac_fn_c_try_link "$LINENO"; then : 11917 if ac_fn_c_try_link "$LINENO"; then :
11954 11918
@@ -11991,7 +11955,7 @@ Index: git/binutils/configure
11991 11955
11992 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 11956 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11993 # Warning - without using the other run time loading flags, 11957 # Warning - without using the other run time loading flags,
11994@@ -9374,20 +9914,63 @@ 11958@@ -9388,20 +9928,63 @@
11995 # Microsoft Visual C++. 11959 # Microsoft Visual C++.
11996 # hardcode_libdir_flag_spec is actually meaningless, as there is 11960 # hardcode_libdir_flag_spec is actually meaningless, as there is
11997 # no search path for DLLs. 11961 # no search path for DLLs.
@@ -12069,7 +12033,7 @@ Index: git/binutils/configure
12069 ;; 12033 ;;
12070 12034
12071 darwin* | rhapsody*) 12035 darwin* | rhapsody*)
12072@@ -9448,7 +10031,7 @@ 12036@@ -9462,7 +10045,7 @@
12073 12037
12074 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 12038 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12075 freebsd* | dragonfly*) 12039 freebsd* | dragonfly*)
@@ -12078,7 +12042,7 @@ Index: git/binutils/configure
12078 hardcode_libdir_flag_spec='-R$libdir' 12042 hardcode_libdir_flag_spec='-R$libdir'
12079 hardcode_direct=yes 12043 hardcode_direct=yes
12080 hardcode_shlibpath_var=no 12044 hardcode_shlibpath_var=no
12081@@ -9456,7 +10039,7 @@ 12045@@ -9470,7 +10053,7 @@
12082 12046
12083 hpux9*) 12047 hpux9*)
12084 if test "$GCC" = yes; then 12048 if test "$GCC" = yes; then
@@ -12087,7 +12051,7 @@ Index: git/binutils/configure
12087 else 12051 else
12088 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 12052 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12089 fi 12053 fi
12090@@ -9472,7 +10055,7 @@ 12054@@ -9486,7 +10069,7 @@
12091 12055
12092 hpux10*) 12056 hpux10*)
12093 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 12057 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -12096,7 +12060,7 @@ Index: git/binutils/configure
12096 else 12060 else
12097 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 12061 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12098 fi 12062 fi
12099@@ -9496,10 +10079,10 @@ 12063@@ -9510,10 +10093,10 @@
12100 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 12064 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12101 ;; 12065 ;;
12102 ia64*) 12066 ia64*)
@@ -12109,7 +12073,7 @@ Index: git/binutils/configure
12109 ;; 12073 ;;
12110 esac 12074 esac
12111 else 12075 else
12112@@ -9578,23 +10161,36 @@ 12076@@ -9592,23 +10175,36 @@
12113 12077
12114 irix5* | irix6* | nonstopux*) 12078 irix5* | irix6* | nonstopux*)
12115 if test "$GCC" = yes; then 12079 if test "$GCC" = yes; then
@@ -12154,7 +12118,7 @@ Index: git/binutils/configure
12154 else 12118 else
12155 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 12119 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12156 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 12120 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
12157@@ -9679,7 +10275,7 @@ 12121@@ -9693,7 +10289,7 @@
12158 osf4* | osf5*) # as osf3* with the addition of -msym flag 12122 osf4* | osf5*) # as osf3* with the addition of -msym flag
12159 if test "$GCC" = yes; then 12123 if test "$GCC" = yes; then
12160 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 12124 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -12163,7 +12127,7 @@ Index: git/binutils/configure
12163 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 12127 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12164 else 12128 else
12165 allow_undefined_flag=' -expect_unresolved \*' 12129 allow_undefined_flag=' -expect_unresolved \*'
12166@@ -9698,9 +10294,9 @@ 12130@@ -9712,9 +10308,9 @@
12167 no_undefined_flag=' -z defs' 12131 no_undefined_flag=' -z defs'
12168 if test "$GCC" = yes; then 12132 if test "$GCC" = yes; then
12169 wlarc='${wl}' 12133 wlarc='${wl}'
@@ -12175,7 +12139,7 @@ Index: git/binutils/configure
12175 else 12139 else
12176 case `$CC -V 2>&1` in 12140 case `$CC -V 2>&1` in
12177 *"Compilers 5.0"*) 12141 *"Compilers 5.0"*)
12178@@ -10276,8 +10872,9 @@ 12142@@ -10290,8 +10886,9 @@
12179 need_version=no 12143 need_version=no
12180 need_lib_prefix=no 12144 need_lib_prefix=no
12181 12145
@@ -12187,7 +12151,7 @@ Index: git/binutils/configure
12187 library_names_spec='$libname.dll.a' 12151 library_names_spec='$libname.dll.a'
12188 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12152 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12189 postinstall_cmds='base_file=`basename \${file}`~ 12153 postinstall_cmds='base_file=`basename \${file}`~
12190@@ -10310,13 +10907,71 @@ 12154@@ -10324,13 +10921,71 @@
12191 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 12155 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12192 ;; 12156 ;;
12193 esac 12157 esac
@@ -12260,7 +12224,7 @@ Index: git/binutils/configure
12260 # FIXME: first we should search . and the directory the executable is in 12224 # FIXME: first we should search . and the directory the executable is in
12261 shlibpath_var=PATH 12225 shlibpath_var=PATH
12262 ;; 12226 ;;
12263@@ -10408,7 +11063,7 @@ 12227@@ -10422,7 +11077,7 @@
12264 soname_spec='${libname}${release}${shared_ext}$major' 12228 soname_spec='${libname}${release}${shared_ext}$major'
12265 shlibpath_var=LIBRARY_PATH 12229 shlibpath_var=LIBRARY_PATH
12266 shlibpath_overrides_runpath=yes 12230 shlibpath_overrides_runpath=yes
@@ -12269,16 +12233,7 @@ Index: git/binutils/configure
12269 hardcode_into_libs=yes 12233 hardcode_into_libs=yes
12270 ;; 12234 ;;
12271 12235
12272@@ -11204,7 +11859,7 @@ 12236@@ -11262,10 +11917,10 @@
12273 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12274 lt_status=$lt_dlunknown
12275 cat > conftest.$ac_ext <<_LT_EOF
12276-#line 11207 "configure"
12277+#line $LINENO "configure"
12278 #include "confdefs.h"
12279
12280 #if HAVE_DLFCN_H
12281@@ -11248,10 +11903,10 @@
12282 /* When -fvisbility=hidden is used, assume the code has been annotated 12237 /* When -fvisbility=hidden is used, assume the code has been annotated
12283 correspondingly for the symbols needed. */ 12238 correspondingly for the symbols needed. */
12284 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12239 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -12291,16 +12246,7 @@ Index: git/binutils/configure
12291 int main () 12246 int main ()
12292 { 12247 {
12293 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12248 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12294@@ -11310,7 +11965,7 @@ 12249@@ -11368,10 +12023,10 @@
12295 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12296 lt_status=$lt_dlunknown
12297 cat > conftest.$ac_ext <<_LT_EOF
12298-#line 11313 "configure"
12299+#line $LINENO "configure"
12300 #include "confdefs.h"
12301
12302 #if HAVE_DLFCN_H
12303@@ -11354,10 +12009,10 @@
12304 /* When -fvisbility=hidden is used, assume the code has been annotated 12250 /* When -fvisbility=hidden is used, assume the code has been annotated
12305 correspondingly for the symbols needed. */ 12251 correspondingly for the symbols needed. */
12306 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12252 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -12313,7 +12259,7 @@ Index: git/binutils/configure
12313 int main () 12259 int main ()
12314 { 12260 {
12315 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12261 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12316@@ -14898,13 +15553,20 @@ 12262@@ -14948,13 +15603,20 @@
12317 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 12263 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12318 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 12264 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12319 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 12265 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -12334,7 +12280,7 @@ Index: git/binutils/configure
12334 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 12280 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12335 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 12281 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12336 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12282 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12337@@ -14919,14 +15581,17 @@ 12283@@ -14969,14 +15631,17 @@
12338 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 12284 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12339 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 12285 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12340 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 12286 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -12353,7 +12299,7 @@ Index: git/binutils/configure
12353 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 12299 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12354 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 12300 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12355 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 12301 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12356@@ -14959,12 +15624,12 @@ 12302@@ -15009,12 +15674,12 @@
12357 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 12303 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12358 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 12304 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12359 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 12305 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -12367,7 +12313,7 @@ Index: git/binutils/configure
12367 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 12313 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12368 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 12314 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12369 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 12315 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12370@@ -15019,8 +15684,13 @@ 12316@@ -15069,8 +15734,13 @@
12371 OBJDUMP \ 12317 OBJDUMP \
12372 deplibs_check_method \ 12318 deplibs_check_method \
12373 file_magic_cmd \ 12319 file_magic_cmd \
@@ -12381,7 +12327,7 @@ Index: git/binutils/configure
12381 STRIP \ 12327 STRIP \
12382 RANLIB \ 12328 RANLIB \
12383 CC \ 12329 CC \
12384@@ -15030,12 +15700,14 @@ 12330@@ -15080,12 +15750,14 @@
12385 lt_cv_sys_global_symbol_to_cdecl \ 12331 lt_cv_sys_global_symbol_to_cdecl \
12386 lt_cv_sys_global_symbol_to_c_name_address \ 12332 lt_cv_sys_global_symbol_to_c_name_address \
12387 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 12333 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -12397,7 +12343,7 @@ Index: git/binutils/configure
12397 DSYMUTIL \ 12343 DSYMUTIL \
12398 NMEDIT \ 12344 NMEDIT \
12399 LIPO \ 12345 LIPO \
12400@@ -15051,7 +15723,6 @@ 12346@@ -15101,7 +15773,6 @@
12401 hardcode_libdir_flag_spec \ 12347 hardcode_libdir_flag_spec \
12402 hardcode_libdir_flag_spec_ld \ 12348 hardcode_libdir_flag_spec_ld \
12403 hardcode_libdir_separator \ 12349 hardcode_libdir_separator \
@@ -12405,7 +12351,7 @@ Index: git/binutils/configure
12405 exclude_expsyms \ 12351 exclude_expsyms \
12406 include_expsyms \ 12352 include_expsyms \
12407 file_list_spec \ 12353 file_list_spec \
12408@@ -15087,6 +15758,7 @@ 12354@@ -15137,6 +15808,7 @@
12409 module_expsym_cmds \ 12355 module_expsym_cmds \
12410 export_symbols_cmds \ 12356 export_symbols_cmds \
12411 prelink_cmds \ 12357 prelink_cmds \
@@ -12413,7 +12359,7 @@ Index: git/binutils/configure
12413 postinstall_cmds \ 12359 postinstall_cmds \
12414 postuninstall_cmds \ 12360 postuninstall_cmds \
12415 finish_cmds \ 12361 finish_cmds \
12416@@ -15844,7 +16516,8 @@ 12362@@ -15894,7 +16566,8 @@
12417 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 12363 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12418 # 12364 #
12419 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 12365 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -12423,7 +12369,7 @@ Index: git/binutils/configure
12423 # Written by Gordon Matzigkeit, 1996 12369 # Written by Gordon Matzigkeit, 1996
12424 # 12370 #
12425 # This file is part of GNU Libtool. 12371 # This file is part of GNU Libtool.
12426@@ -15947,19 +16620,42 @@ 12372@@ -15997,19 +16670,42 @@
12427 # turn newlines into spaces. 12373 # turn newlines into spaces.
12428 NL2SP=$lt_lt_NL2SP 12374 NL2SP=$lt_lt_NL2SP
12429 12375
@@ -12467,7 +12413,7 @@ Index: git/binutils/configure
12467 # A symbol stripping program. 12413 # A symbol stripping program.
12468 STRIP=$lt_STRIP 12414 STRIP=$lt_STRIP
12469 12415
12470@@ -15989,6 +16685,12 @@ 12416@@ -16039,6 +16735,12 @@
12471 # Transform the output of nm in a C name address pair when lib prefix is needed. 12417 # Transform the output of nm in a C name address pair when lib prefix is needed.
12472 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 12418 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12473 12419
@@ -12480,7 +12426,7 @@ Index: git/binutils/configure
12480 # The name of the directory that contains temporary libtool files. 12426 # The name of the directory that contains temporary libtool files.
12481 objdir=$objdir 12427 objdir=$objdir
12482 12428
12483@@ -15998,6 +16700,9 @@ 12429@@ -16048,6 +16750,9 @@
12484 # Must we lock files when doing compilation? 12430 # Must we lock files when doing compilation?
12485 need_locks=$lt_need_locks 12431 need_locks=$lt_need_locks
12486 12432
@@ -12490,7 +12436,7 @@ Index: git/binutils/configure
12490 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 12436 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12491 DSYMUTIL=$lt_DSYMUTIL 12437 DSYMUTIL=$lt_DSYMUTIL
12492 12438
12493@@ -16112,12 +16817,12 @@ 12439@@ -16162,12 +16867,12 @@
12494 # Compiler flag to turn off builtin functions. 12440 # Compiler flag to turn off builtin functions.
12495 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 12441 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12496 12442
@@ -12506,7 +12452,7 @@ Index: git/binutils/configure
12506 # Compiler flag to prevent dynamic linking. 12452 # Compiler flag to prevent dynamic linking.
12507 link_static_flag=$lt_lt_prog_compiler_static 12453 link_static_flag=$lt_lt_prog_compiler_static
12508 12454
12509@@ -16204,9 +16909,6 @@ 12455@@ -16254,9 +16959,6 @@
12510 # Whether libtool must link a program against all its dependency libraries. 12456 # Whether libtool must link a program against all its dependency libraries.
12511 link_all_deplibs=$link_all_deplibs 12457 link_all_deplibs=$link_all_deplibs
12512 12458
@@ -12516,7 +12462,7 @@ Index: git/binutils/configure
12516 # Set to "yes" if exported symbols are required. 12462 # Set to "yes" if exported symbols are required.
12517 always_export_symbols=$always_export_symbols 12463 always_export_symbols=$always_export_symbols
12518 12464
12519@@ -16222,6 +16924,9 @@ 12465@@ -16272,6 +16974,9 @@
12520 # Commands necessary for linking programs (against libraries) with templates. 12466 # Commands necessary for linking programs (against libraries) with templates.
12521 prelink_cmds=$lt_prelink_cmds 12467 prelink_cmds=$lt_prelink_cmds
12522 12468
@@ -12526,7 +12472,7 @@ Index: git/binutils/configure
12526 # Specify filename containing input files. 12472 # Specify filename containing input files.
12527 file_list_spec=$lt_file_list_spec 12473 file_list_spec=$lt_file_list_spec
12528 12474
12529@@ -16254,210 +16959,169 @@ 12475@@ -16304,210 +17009,169 @@
12530 # if finds mixed CR/LF and LF-only lines. Since sed operates in 12476 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12531 # text mode, it properly converts lines to CR/LF. This bash problem 12477 # text mode, it properly converts lines to CR/LF. This bash problem
12532 # is reportedly fixed, but why not run on old versions too? 12478 # is reportedly fixed, but why not run on old versions too?
@@ -12897,10 +12843,10 @@ Index: git/binutils/configure
12897 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 12843 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12898 chmod +x "$ofile" 12844 chmod +x "$ofile"
12899 12845
12900Index: git/gas/configure 12846Index: binutils-2.24/gas/configure
12901=================================================================== 12847===================================================================
12902--- git.orig/gas/configure 2012-09-07 01:13:43.721341336 -0700 12848--- binutils-2.24.orig/gas/configure 2013-11-04 07:33:37.000000000 -0800
12903+++ git/gas/configure 2012-09-07 12:21:49.678865715 -0700 12849+++ binutils-2.24/gas/configure 2013-12-15 11:10:23.880452030 -0800
12904@@ -645,8 +645,11 @@ 12850@@ -645,8 +645,11 @@
12905 LIPO 12851 LIPO
12906 NMEDIT 12852 NMEDIT
@@ -13508,7 +13454,7 @@ Index: git/gas/configure
13508 13454
13509 # Check whether --enable-libtool-lock was given. 13455 # Check whether --enable-libtool-lock was given.
13510 if test "${enable_libtool_lock+set}" = set; then : 13456 if test "${enable_libtool_lock+set}" = set; then :
13511@@ -7082,6 +7462,123 @@ 13457@@ -7095,6 +7475,123 @@
13512 13458
13513 need_locks="$enable_libtool_lock" 13459 need_locks="$enable_libtool_lock"
13514 13460
@@ -13632,7 +13578,7 @@ Index: git/gas/configure
13632 13578
13633 case $host_os in 13579 case $host_os in
13634 rhapsody* | darwin*) 13580 rhapsody* | darwin*)
13635@@ -7645,6 +8142,8 @@ 13581@@ -7658,6 +8155,8 @@
13636 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 13582 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
13637 echo "$AR cru libconftest.a conftest.o" >&5 13583 echo "$AR cru libconftest.a conftest.o" >&5
13638 $AR cru libconftest.a conftest.o 2>&5 13584 $AR cru libconftest.a conftest.o 2>&5
@@ -13641,7 +13587,7 @@ Index: git/gas/configure
13641 cat > conftest.c << _LT_EOF 13587 cat > conftest.c << _LT_EOF
13642 int main() { return 0;} 13588 int main() { return 0;}
13643 _LT_EOF 13589 _LT_EOF
13644@@ -7840,7 +8339,8 @@ 13590@@ -7853,7 +8352,8 @@
13645 LIBTOOL_DEPS="$ltmain" 13591 LIBTOOL_DEPS="$ltmain"
13646 13592
13647 # Always use our own libtool. 13593 # Always use our own libtool.
@@ -13651,7 +13597,7 @@ Index: git/gas/configure
13651 13597
13652 13598
13653 13599
13654@@ -7929,7 +8429,7 @@ 13600@@ -7942,7 +8442,7 @@
13655 esac 13601 esac
13656 13602
13657 # Global variables: 13603 # Global variables:
@@ -13660,7 +13606,7 @@ Index: git/gas/configure
13660 can_build_shared=yes 13606 can_build_shared=yes
13661 13607
13662 # All known linkers require a `.a' archive for static linking (except MSVC, 13608 # All known linkers require a `.a' archive for static linking (except MSVC,
13663@@ -8227,8 +8727,6 @@ 13609@@ -8240,8 +8740,6 @@
13664 lt_prog_compiler_pic= 13610 lt_prog_compiler_pic=
13665 lt_prog_compiler_static= 13611 lt_prog_compiler_static=
13666 13612
@@ -13669,7 +13615,7 @@ Index: git/gas/configure
13669 13615
13670 if test "$GCC" = yes; then 13616 if test "$GCC" = yes; then
13671 lt_prog_compiler_wl='-Wl,' 13617 lt_prog_compiler_wl='-Wl,'
13672@@ -8393,6 +8891,12 @@ 13618@@ -8407,6 +8905,12 @@
13673 lt_prog_compiler_pic='--shared' 13619 lt_prog_compiler_pic='--shared'
13674 lt_prog_compiler_static='--static' 13620 lt_prog_compiler_static='--static'
13675 ;; 13621 ;;
@@ -13682,7 +13628,7 @@ Index: git/gas/configure
13682 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 13628 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13683 # Portland Group compilers (*not* the Pentium gcc compiler, 13629 # Portland Group compilers (*not* the Pentium gcc compiler,
13684 # which looks to be a dead project) 13630 # which looks to be a dead project)
13685@@ -8455,7 +8959,7 @@ 13631@@ -8469,7 +8973,7 @@
13686 lt_prog_compiler_pic='-KPIC' 13632 lt_prog_compiler_pic='-KPIC'
13687 lt_prog_compiler_static='-Bstatic' 13633 lt_prog_compiler_static='-Bstatic'
13688 case $cc_basename in 13634 case $cc_basename in
@@ -13691,7 +13637,7 @@ Index: git/gas/configure
13691 lt_prog_compiler_wl='-Qoption ld ';; 13637 lt_prog_compiler_wl='-Qoption ld ';;
13692 *) 13638 *)
13693 lt_prog_compiler_wl='-Wl,';; 13639 lt_prog_compiler_wl='-Wl,';;
13694@@ -8512,13 +9016,17 @@ 13640@@ -8526,13 +9030,17 @@
13695 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 13641 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13696 ;; 13642 ;;
13697 esac 13643 esac
@@ -13715,7 +13661,7 @@ Index: git/gas/configure
13715 13661
13716 # 13662 #
13717 # Check to make sure the PIC flag actually works. 13663 # Check to make sure the PIC flag actually works.
13718@@ -8579,6 +9087,11 @@ 13664@@ -8593,6 +9101,11 @@
13719 13665
13720 13666
13721 13667
@@ -13727,7 +13673,7 @@ Index: git/gas/configure
13727 # 13673 #
13728 # Check to make sure the static flag actually works. 13674 # Check to make sure the static flag actually works.
13729 # 13675 #
13730@@ -8929,7 +9442,8 @@ 13676@@ -8943,7 +9456,8 @@
13731 allow_undefined_flag=unsupported 13677 allow_undefined_flag=unsupported
13732 always_export_symbols=no 13678 always_export_symbols=no
13733 enable_shared_with_static_runtimes=yes 13679 enable_shared_with_static_runtimes=yes
@@ -13737,7 +13683,7 @@ Index: git/gas/configure
13737 13683
13738 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 13684 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13739 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13685 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13740@@ -8977,7 +9491,7 @@ 13686@@ -8991,7 +9505,7 @@
13741 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 13687 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13742 && test "$tmp_diet" = no 13688 && test "$tmp_diet" = no
13743 then 13689 then
@@ -13746,7 +13692,7 @@ Index: git/gas/configure
13746 tmp_sharedflag='-shared' 13692 tmp_sharedflag='-shared'
13747 case $cc_basename,$host_cpu in 13693 case $cc_basename,$host_cpu in
13748 pgcc*) # Portland Group C compiler 13694 pgcc*) # Portland Group C compiler
13749@@ -9028,12 +9542,12 @@ 13695@@ -9042,12 +9556,12 @@
13750 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 13696 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
13751 hardcode_libdir_flag_spec= 13697 hardcode_libdir_flag_spec=
13752 hardcode_libdir_flag_spec_ld='-rpath $libdir' 13698 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -13761,7 +13707,7 @@ Index: git/gas/configure
13761 fi 13707 fi
13762 ;; 13708 ;;
13763 esac 13709 esac
13764@@ -9047,8 +9561,8 @@ 13710@@ -9061,8 +9575,8 @@
13765 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 13711 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13766 wlarc= 13712 wlarc=
13767 else 13713 else
@@ -13772,7 +13718,7 @@ Index: git/gas/configure
13772 fi 13718 fi
13773 ;; 13719 ;;
13774 13720
13775@@ -9066,8 +9580,8 @@ 13721@@ -9080,8 +9594,8 @@
13776 13722
13777 _LT_EOF 13723 _LT_EOF
13778 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 13724 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -13783,7 +13729,7 @@ Index: git/gas/configure
13783 else 13729 else
13784 ld_shlibs=no 13730 ld_shlibs=no
13785 fi 13731 fi
13786@@ -9113,8 +9627,8 @@ 13732@@ -9127,8 +9641,8 @@
13787 13733
13788 *) 13734 *)
13789 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 13735 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -13794,7 +13740,7 @@ Index: git/gas/configure
13794 else 13740 else
13795 ld_shlibs=no 13741 ld_shlibs=no
13796 fi 13742 fi
13797@@ -9244,7 +9758,13 @@ 13743@@ -9258,7 +9772,13 @@
13798 allow_undefined_flag='-berok' 13744 allow_undefined_flag='-berok'
13799 # Determine the default libpath from the value encoded in an 13745 # Determine the default libpath from the value encoded in an
13800 # empty executable. 13746 # empty executable.
@@ -13809,7 +13755,7 @@ Index: git/gas/configure
13809 /* end confdefs.h. */ 13755 /* end confdefs.h. */
13810 13756
13811 int 13757 int
13812@@ -9257,22 +9777,29 @@ 13758@@ -9271,22 +9791,29 @@
13813 _ACEOF 13759 _ACEOF
13814 if ac_fn_c_try_link "$LINENO"; then : 13760 if ac_fn_c_try_link "$LINENO"; then :
13815 13761
@@ -13852,7 +13798,7 @@ Index: git/gas/configure
13852 13798
13853 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 13799 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13854 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 13800 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13855@@ -9284,7 +9811,13 @@ 13801@@ -9298,7 +9825,13 @@
13856 else 13802 else
13857 # Determine the default libpath from the value encoded in an 13803 # Determine the default libpath from the value encoded in an
13858 # empty executable. 13804 # empty executable.
@@ -13867,7 +13813,7 @@ Index: git/gas/configure
13867 /* end confdefs.h. */ 13813 /* end confdefs.h. */
13868 13814
13869 int 13815 int
13870@@ -9297,22 +9830,29 @@ 13816@@ -9311,22 +9844,29 @@
13871 _ACEOF 13817 _ACEOF
13872 if ac_fn_c_try_link "$LINENO"; then : 13818 if ac_fn_c_try_link "$LINENO"; then :
13873 13819
@@ -13910,7 +13856,7 @@ Index: git/gas/configure
13910 13856
13911 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 13857 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13912 # Warning - without using the other run time loading flags, 13858 # Warning - without using the other run time loading flags,
13913@@ -9357,20 +9897,63 @@ 13859@@ -9371,20 +9911,63 @@
13914 # Microsoft Visual C++. 13860 # Microsoft Visual C++.
13915 # hardcode_libdir_flag_spec is actually meaningless, as there is 13861 # hardcode_libdir_flag_spec is actually meaningless, as there is
13916 # no search path for DLLs. 13862 # no search path for DLLs.
@@ -13988,7 +13934,7 @@ Index: git/gas/configure
13988 ;; 13934 ;;
13989 13935
13990 darwin* | rhapsody*) 13936 darwin* | rhapsody*)
13991@@ -9431,7 +10014,7 @@ 13937@@ -9445,7 +10028,7 @@
13992 13938
13993 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 13939 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13994 freebsd* | dragonfly*) 13940 freebsd* | dragonfly*)
@@ -13997,7 +13943,7 @@ Index: git/gas/configure
13997 hardcode_libdir_flag_spec='-R$libdir' 13943 hardcode_libdir_flag_spec='-R$libdir'
13998 hardcode_direct=yes 13944 hardcode_direct=yes
13999 hardcode_shlibpath_var=no 13945 hardcode_shlibpath_var=no
14000@@ -9439,7 +10022,7 @@ 13946@@ -9453,7 +10036,7 @@
14001 13947
14002 hpux9*) 13948 hpux9*)
14003 if test "$GCC" = yes; then 13949 if test "$GCC" = yes; then
@@ -14006,7 +13952,7 @@ Index: git/gas/configure
14006 else 13952 else
14007 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 13953 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14008 fi 13954 fi
14009@@ -9455,7 +10038,7 @@ 13955@@ -9469,7 +10052,7 @@
14010 13956
14011 hpux10*) 13957 hpux10*)
14012 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 13958 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -14015,7 +13961,7 @@ Index: git/gas/configure
14015 else 13961 else
14016 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 13962 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14017 fi 13963 fi
14018@@ -9479,10 +10062,10 @@ 13964@@ -9493,10 +10076,10 @@
14019 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 13965 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14020 ;; 13966 ;;
14021 ia64*) 13967 ia64*)
@@ -14028,7 +13974,7 @@ Index: git/gas/configure
14028 ;; 13974 ;;
14029 esac 13975 esac
14030 else 13976 else
14031@@ -9561,23 +10144,36 @@ 13977@@ -9575,23 +10158,36 @@
14032 13978
14033 irix5* | irix6* | nonstopux*) 13979 irix5* | irix6* | nonstopux*)
14034 if test "$GCC" = yes; then 13980 if test "$GCC" = yes; then
@@ -14073,7 +14019,7 @@ Index: git/gas/configure
14073 else 14019 else
14074 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 14020 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14075 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 14021 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
14076@@ -9662,7 +10258,7 @@ 14022@@ -9676,7 +10272,7 @@
14077 osf4* | osf5*) # as osf3* with the addition of -msym flag 14023 osf4* | osf5*) # as osf3* with the addition of -msym flag
14078 if test "$GCC" = yes; then 14024 if test "$GCC" = yes; then
14079 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 14025 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -14082,7 +14028,7 @@ Index: git/gas/configure
14082 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 14028 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14083 else 14029 else
14084 allow_undefined_flag=' -expect_unresolved \*' 14030 allow_undefined_flag=' -expect_unresolved \*'
14085@@ -9681,9 +10277,9 @@ 14031@@ -9695,9 +10291,9 @@
14086 no_undefined_flag=' -z defs' 14032 no_undefined_flag=' -z defs'
14087 if test "$GCC" = yes; then 14033 if test "$GCC" = yes; then
14088 wlarc='${wl}' 14034 wlarc='${wl}'
@@ -14094,7 +14040,7 @@ Index: git/gas/configure
14094 else 14040 else
14095 case `$CC -V 2>&1` in 14041 case `$CC -V 2>&1` in
14096 *"Compilers 5.0"*) 14042 *"Compilers 5.0"*)
14097@@ -10259,8 +10855,9 @@ 14043@@ -10273,8 +10869,9 @@
14098 need_version=no 14044 need_version=no
14099 need_lib_prefix=no 14045 need_lib_prefix=no
14100 14046
@@ -14106,7 +14052,7 @@ Index: git/gas/configure
14106 library_names_spec='$libname.dll.a' 14052 library_names_spec='$libname.dll.a'
14107 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14053 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14108 postinstall_cmds='base_file=`basename \${file}`~ 14054 postinstall_cmds='base_file=`basename \${file}`~
14109@@ -10293,13 +10890,71 @@ 14055@@ -10307,13 +10904,71 @@
14110 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14056 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14111 ;; 14057 ;;
14112 esac 14058 esac
@@ -14179,7 +14125,7 @@ Index: git/gas/configure
14179 # FIXME: first we should search . and the directory the executable is in 14125 # FIXME: first we should search . and the directory the executable is in
14180 shlibpath_var=PATH 14126 shlibpath_var=PATH
14181 ;; 14127 ;;
14182@@ -10391,7 +11046,7 @@ 14128@@ -10405,7 +11060,7 @@
14183 soname_spec='${libname}${release}${shared_ext}$major' 14129 soname_spec='${libname}${release}${shared_ext}$major'
14184 shlibpath_var=LIBRARY_PATH 14130 shlibpath_var=LIBRARY_PATH
14185 shlibpath_overrides_runpath=yes 14131 shlibpath_overrides_runpath=yes
@@ -14188,16 +14134,7 @@ Index: git/gas/configure
14188 hardcode_into_libs=yes 14134 hardcode_into_libs=yes
14189 ;; 14135 ;;
14190 14136
14191@@ -11187,7 +11842,7 @@ 14137@@ -11245,10 +11900,10 @@
14192 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14193 lt_status=$lt_dlunknown
14194 cat > conftest.$ac_ext <<_LT_EOF
14195-#line 11190 "configure"
14196+#line $LINENO "configure"
14197 #include "confdefs.h"
14198
14199 #if HAVE_DLFCN_H
14200@@ -11231,10 +11886,10 @@
14201 /* When -fvisbility=hidden is used, assume the code has been annotated 14138 /* When -fvisbility=hidden is used, assume the code has been annotated
14202 correspondingly for the symbols needed. */ 14139 correspondingly for the symbols needed. */
14203 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 14140 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -14210,16 +14147,7 @@ Index: git/gas/configure
14210 int main () 14147 int main ()
14211 { 14148 {
14212 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 14149 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14213@@ -11293,7 +11948,7 @@ 14150@@ -11351,10 +12006,10 @@
14214 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14215 lt_status=$lt_dlunknown
14216 cat > conftest.$ac_ext <<_LT_EOF
14217-#line 11296 "configure"
14218+#line $LINENO "configure"
14219 #include "confdefs.h"
14220
14221 #if HAVE_DLFCN_H
14222@@ -11337,10 +11992,10 @@
14223 /* When -fvisbility=hidden is used, assume the code has been annotated 14151 /* When -fvisbility=hidden is used, assume the code has been annotated
14224 correspondingly for the symbols needed. */ 14152 correspondingly for the symbols needed. */
14225 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 14153 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -14232,7 +14160,7 @@ Index: git/gas/configure
14232 int main () 14160 int main ()
14233 { 14161 {
14234 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 14162 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14235@@ -15074,13 +15729,20 @@ 14163@@ -15064,13 +15719,20 @@
14236 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14164 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14237 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14165 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14238 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14166 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -14253,7 +14181,7 @@ Index: git/gas/configure
14253 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14181 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14254 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14182 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14255 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14183 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14256@@ -15095,14 +15757,17 @@ 14184@@ -15085,14 +15747,17 @@
14257 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 14185 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14258 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 14186 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14259 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 14187 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -14272,7 +14200,7 @@ Index: git/gas/configure
14272 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14200 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14273 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14201 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14274 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14202 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14275@@ -15135,12 +15800,12 @@ 14203@@ -15125,12 +15790,12 @@
14276 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14204 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14277 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14205 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14278 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14206 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -14286,7 +14214,7 @@ Index: git/gas/configure
14286 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14214 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14287 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14215 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14288 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14216 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14289@@ -15195,8 +15860,13 @@ 14217@@ -15185,8 +15850,13 @@
14290 OBJDUMP \ 14218 OBJDUMP \
14291 deplibs_check_method \ 14219 deplibs_check_method \
14292 file_magic_cmd \ 14220 file_magic_cmd \
@@ -14300,7 +14228,7 @@ Index: git/gas/configure
14300 STRIP \ 14228 STRIP \
14301 RANLIB \ 14229 RANLIB \
14302 CC \ 14230 CC \
14303@@ -15206,12 +15876,14 @@ 14231@@ -15196,12 +15866,14 @@
14304 lt_cv_sys_global_symbol_to_cdecl \ 14232 lt_cv_sys_global_symbol_to_cdecl \
14305 lt_cv_sys_global_symbol_to_c_name_address \ 14233 lt_cv_sys_global_symbol_to_c_name_address \
14306 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14234 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -14316,7 +14244,7 @@ Index: git/gas/configure
14316 DSYMUTIL \ 14244 DSYMUTIL \
14317 NMEDIT \ 14245 NMEDIT \
14318 LIPO \ 14246 LIPO \
14319@@ -15227,7 +15899,6 @@ 14247@@ -15217,7 +15889,6 @@
14320 hardcode_libdir_flag_spec \ 14248 hardcode_libdir_flag_spec \
14321 hardcode_libdir_flag_spec_ld \ 14249 hardcode_libdir_flag_spec_ld \
14322 hardcode_libdir_separator \ 14250 hardcode_libdir_separator \
@@ -14324,7 +14252,7 @@ Index: git/gas/configure
14324 exclude_expsyms \ 14252 exclude_expsyms \
14325 include_expsyms \ 14253 include_expsyms \
14326 file_list_spec \ 14254 file_list_spec \
14327@@ -15263,6 +15934,7 @@ 14255@@ -15253,6 +15924,7 @@
14328 module_expsym_cmds \ 14256 module_expsym_cmds \
14329 export_symbols_cmds \ 14257 export_symbols_cmds \
14330 prelink_cmds \ 14258 prelink_cmds \
@@ -14332,7 +14260,7 @@ Index: git/gas/configure
14332 postinstall_cmds \ 14260 postinstall_cmds \
14333 postuninstall_cmds \ 14261 postuninstall_cmds \
14334 finish_cmds \ 14262 finish_cmds \
14335@@ -16027,7 +16699,8 @@ 14263@@ -16017,7 +16689,8 @@
14336 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 14264 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14337 # 14265 #
14338 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 14266 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -14342,7 +14270,7 @@ Index: git/gas/configure
14342 # Written by Gordon Matzigkeit, 1996 14270 # Written by Gordon Matzigkeit, 1996
14343 # 14271 #
14344 # This file is part of GNU Libtool. 14272 # This file is part of GNU Libtool.
14345@@ -16130,19 +16803,42 @@ 14273@@ -16120,19 +16793,42 @@
14346 # turn newlines into spaces. 14274 # turn newlines into spaces.
14347 NL2SP=$lt_lt_NL2SP 14275 NL2SP=$lt_lt_NL2SP
14348 14276
@@ -14386,7 +14314,7 @@ Index: git/gas/configure
14386 # A symbol stripping program. 14314 # A symbol stripping program.
14387 STRIP=$lt_STRIP 14315 STRIP=$lt_STRIP
14388 14316
14389@@ -16172,6 +16868,12 @@ 14317@@ -16162,6 +16858,12 @@
14390 # Transform the output of nm in a C name address pair when lib prefix is needed. 14318 # Transform the output of nm in a C name address pair when lib prefix is needed.
14391 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14319 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14392 14320
@@ -14399,7 +14327,7 @@ Index: git/gas/configure
14399 # The name of the directory that contains temporary libtool files. 14327 # The name of the directory that contains temporary libtool files.
14400 objdir=$objdir 14328 objdir=$objdir
14401 14329
14402@@ -16181,6 +16883,9 @@ 14330@@ -16171,6 +16873,9 @@
14403 # Must we lock files when doing compilation? 14331 # Must we lock files when doing compilation?
14404 need_locks=$lt_need_locks 14332 need_locks=$lt_need_locks
14405 14333
@@ -14409,7 +14337,7 @@ Index: git/gas/configure
14409 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14337 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14410 DSYMUTIL=$lt_DSYMUTIL 14338 DSYMUTIL=$lt_DSYMUTIL
14411 14339
14412@@ -16295,12 +17000,12 @@ 14340@@ -16285,12 +16990,12 @@
14413 # Compiler flag to turn off builtin functions. 14341 # Compiler flag to turn off builtin functions.
14414 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14342 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14415 14343
@@ -14425,7 +14353,7 @@ Index: git/gas/configure
14425 # Compiler flag to prevent dynamic linking. 14353 # Compiler flag to prevent dynamic linking.
14426 link_static_flag=$lt_lt_prog_compiler_static 14354 link_static_flag=$lt_lt_prog_compiler_static
14427 14355
14428@@ -16387,9 +17092,6 @@ 14356@@ -16377,9 +17082,6 @@
14429 # Whether libtool must link a program against all its dependency libraries. 14357 # Whether libtool must link a program against all its dependency libraries.
14430 link_all_deplibs=$link_all_deplibs 14358 link_all_deplibs=$link_all_deplibs
14431 14359
@@ -14435,7 +14363,7 @@ Index: git/gas/configure
14435 # Set to "yes" if exported symbols are required. 14363 # Set to "yes" if exported symbols are required.
14436 always_export_symbols=$always_export_symbols 14364 always_export_symbols=$always_export_symbols
14437 14365
14438@@ -16405,6 +17107,9 @@ 14366@@ -16395,6 +17097,9 @@
14439 # Commands necessary for linking programs (against libraries) with templates. 14367 # Commands necessary for linking programs (against libraries) with templates.
14440 prelink_cmds=$lt_prelink_cmds 14368 prelink_cmds=$lt_prelink_cmds
14441 14369
@@ -14445,7 +14373,7 @@ Index: git/gas/configure
14445 # Specify filename containing input files. 14373 # Specify filename containing input files.
14446 file_list_spec=$lt_file_list_spec 14374 file_list_spec=$lt_file_list_spec
14447 14375
14448@@ -16437,210 +17142,169 @@ 14376@@ -16427,210 +17132,169 @@
14449 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14377 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14450 # text mode, it properly converts lines to CR/LF. This bash problem 14378 # text mode, it properly converts lines to CR/LF. This bash problem
14451 # is reportedly fixed, but why not run on old versions too? 14379 # is reportedly fixed, but why not run on old versions too?
@@ -14816,10 +14744,10 @@ Index: git/gas/configure
14816 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14744 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14817 chmod +x "$ofile" 14745 chmod +x "$ofile"
14818 14746
14819Index: git/gprof/configure 14747Index: binutils-2.24/gprof/configure
14820=================================================================== 14748===================================================================
14821--- git.orig/gprof/configure 2012-09-07 09:24:43.382461620 -0700 14749--- binutils-2.24.orig/gprof/configure 2013-12-15 11:09:51.443785606 -0800
14822+++ git/gprof/configure 2012-09-07 12:21:49.682865716 -0700 14750+++ binutils-2.24/gprof/configure 2013-12-15 11:10:23.880452030 -0800
14823@@ -629,8 +629,11 @@ 14751@@ -629,8 +629,11 @@
14824 LIPO 14752 LIPO
14825 NMEDIT 14753 NMEDIT
@@ -15439,7 +15367,7 @@ Index: git/gprof/configure
15439 # Check whether --enable-libtool-lock was given. 15367 # Check whether --enable-libtool-lock was given.
15440 if test "${enable_libtool_lock+set}" = set; then : 15368 if test "${enable_libtool_lock+set}" = set; then :
15441 enableval=$enable_libtool_lock; 15369 enableval=$enable_libtool_lock;
15442@@ -7017,6 +7392,123 @@ 15370@@ -7030,6 +7405,123 @@
15443 15371
15444 need_locks="$enable_libtool_lock" 15372 need_locks="$enable_libtool_lock"
15445 15373
@@ -15563,7 +15491,7 @@ Index: git/gprof/configure
15563 15491
15564 case $host_os in 15492 case $host_os in
15565 rhapsody* | darwin*) 15493 rhapsody* | darwin*)
15566@@ -7580,6 +8072,8 @@ 15494@@ -7593,6 +8085,8 @@
15567 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 15495 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
15568 echo "$AR cru libconftest.a conftest.o" >&5 15496 echo "$AR cru libconftest.a conftest.o" >&5
15569 $AR cru libconftest.a conftest.o 2>&5 15497 $AR cru libconftest.a conftest.o 2>&5
@@ -15572,7 +15500,7 @@ Index: git/gprof/configure
15572 cat > conftest.c << _LT_EOF 15500 cat > conftest.c << _LT_EOF
15573 int main() { return 0;} 15501 int main() { return 0;}
15574 _LT_EOF 15502 _LT_EOF
15575@@ -7775,7 +8269,8 @@ 15503@@ -7788,7 +8282,8 @@
15576 LIBTOOL_DEPS="$ltmain" 15504 LIBTOOL_DEPS="$ltmain"
15577 15505
15578 # Always use our own libtool. 15506 # Always use our own libtool.
@@ -15582,7 +15510,7 @@ Index: git/gprof/configure
15582 15510
15583 15511
15584 15512
15585@@ -7864,7 +8359,7 @@ 15513@@ -7877,7 +8372,7 @@
15586 esac 15514 esac
15587 15515
15588 # Global variables: 15516 # Global variables:
@@ -15591,7 +15519,7 @@ Index: git/gprof/configure
15591 can_build_shared=yes 15519 can_build_shared=yes
15592 15520
15593 # All known linkers require a `.a' archive for static linking (except MSVC, 15521 # All known linkers require a `.a' archive for static linking (except MSVC,
15594@@ -8162,8 +8657,6 @@ 15522@@ -8175,8 +8670,6 @@
15595 lt_prog_compiler_pic= 15523 lt_prog_compiler_pic=
15596 lt_prog_compiler_static= 15524 lt_prog_compiler_static=
15597 15525
@@ -15600,7 +15528,7 @@ Index: git/gprof/configure
15600 15528
15601 if test "$GCC" = yes; then 15529 if test "$GCC" = yes; then
15602 lt_prog_compiler_wl='-Wl,' 15530 lt_prog_compiler_wl='-Wl,'
15603@@ -8328,6 +8821,12 @@ 15531@@ -8342,6 +8835,12 @@
15604 lt_prog_compiler_pic='--shared' 15532 lt_prog_compiler_pic='--shared'
15605 lt_prog_compiler_static='--static' 15533 lt_prog_compiler_static='--static'
15606 ;; 15534 ;;
@@ -15613,7 +15541,7 @@ Index: git/gprof/configure
15613 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 15541 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
15614 # Portland Group compilers (*not* the Pentium gcc compiler, 15542 # Portland Group compilers (*not* the Pentium gcc compiler,
15615 # which looks to be a dead project) 15543 # which looks to be a dead project)
15616@@ -8390,7 +8889,7 @@ 15544@@ -8404,7 +8903,7 @@
15617 lt_prog_compiler_pic='-KPIC' 15545 lt_prog_compiler_pic='-KPIC'
15618 lt_prog_compiler_static='-Bstatic' 15546 lt_prog_compiler_static='-Bstatic'
15619 case $cc_basename in 15547 case $cc_basename in
@@ -15622,7 +15550,7 @@ Index: git/gprof/configure
15622 lt_prog_compiler_wl='-Qoption ld ';; 15550 lt_prog_compiler_wl='-Qoption ld ';;
15623 *) 15551 *)
15624 lt_prog_compiler_wl='-Wl,';; 15552 lt_prog_compiler_wl='-Wl,';;
15625@@ -8447,13 +8946,17 @@ 15553@@ -8461,13 +8960,17 @@
15626 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 15554 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15627 ;; 15555 ;;
15628 esac 15556 esac
@@ -15646,7 +15574,7 @@ Index: git/gprof/configure
15646 15574
15647 # 15575 #
15648 # Check to make sure the PIC flag actually works. 15576 # Check to make sure the PIC flag actually works.
15649@@ -8514,6 +9017,11 @@ 15577@@ -8528,6 +9031,11 @@
15650 15578
15651 15579
15652 15580
@@ -15658,7 +15586,7 @@ Index: git/gprof/configure
15658 # 15586 #
15659 # Check to make sure the static flag actually works. 15587 # Check to make sure the static flag actually works.
15660 # 15588 #
15661@@ -8864,7 +9372,8 @@ 15589@@ -8878,7 +9386,8 @@
15662 allow_undefined_flag=unsupported 15590 allow_undefined_flag=unsupported
15663 always_export_symbols=no 15591 always_export_symbols=no
15664 enable_shared_with_static_runtimes=yes 15592 enable_shared_with_static_runtimes=yes
@@ -15668,7 +15596,7 @@ Index: git/gprof/configure
15668 15596
15669 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 15597 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15670 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 15598 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15671@@ -8912,7 +9421,7 @@ 15599@@ -8926,7 +9435,7 @@
15672 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 15600 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
15673 && test "$tmp_diet" = no 15601 && test "$tmp_diet" = no
15674 then 15602 then
@@ -15677,7 +15605,7 @@ Index: git/gprof/configure
15677 tmp_sharedflag='-shared' 15605 tmp_sharedflag='-shared'
15678 case $cc_basename,$host_cpu in 15606 case $cc_basename,$host_cpu in
15679 pgcc*) # Portland Group C compiler 15607 pgcc*) # Portland Group C compiler
15680@@ -8963,12 +9472,12 @@ 15608@@ -8977,12 +9486,12 @@
15681 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 15609 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
15682 hardcode_libdir_flag_spec= 15610 hardcode_libdir_flag_spec=
15683 hardcode_libdir_flag_spec_ld='-rpath $libdir' 15611 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -15692,7 +15620,7 @@ Index: git/gprof/configure
15692 fi 15620 fi
15693 ;; 15621 ;;
15694 esac 15622 esac
15695@@ -8982,8 +9491,8 @@ 15623@@ -8996,8 +9505,8 @@
15696 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 15624 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15697 wlarc= 15625 wlarc=
15698 else 15626 else
@@ -15703,7 +15631,7 @@ Index: git/gprof/configure
15703 fi 15631 fi
15704 ;; 15632 ;;
15705 15633
15706@@ -9001,8 +9510,8 @@ 15634@@ -9015,8 +9524,8 @@
15707 15635
15708 _LT_EOF 15636 _LT_EOF
15709 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 15637 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -15714,7 +15642,7 @@ Index: git/gprof/configure
15714 else 15642 else
15715 ld_shlibs=no 15643 ld_shlibs=no
15716 fi 15644 fi
15717@@ -9048,8 +9557,8 @@ 15645@@ -9062,8 +9571,8 @@
15718 15646
15719 *) 15647 *)
15720 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 15648 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -15725,7 +15653,7 @@ Index: git/gprof/configure
15725 else 15653 else
15726 ld_shlibs=no 15654 ld_shlibs=no
15727 fi 15655 fi
15728@@ -9179,7 +9688,13 @@ 15656@@ -9193,7 +9702,13 @@
15729 allow_undefined_flag='-berok' 15657 allow_undefined_flag='-berok'
15730 # Determine the default libpath from the value encoded in an 15658 # Determine the default libpath from the value encoded in an
15731 # empty executable. 15659 # empty executable.
@@ -15740,7 +15668,7 @@ Index: git/gprof/configure
15740 /* end confdefs.h. */ 15668 /* end confdefs.h. */
15741 15669
15742 int 15670 int
15743@@ -9192,22 +9707,29 @@ 15671@@ -9206,22 +9721,29 @@
15744 _ACEOF 15672 _ACEOF
15745 if ac_fn_c_try_link "$LINENO"; then : 15673 if ac_fn_c_try_link "$LINENO"; then :
15746 15674
@@ -15783,7 +15711,7 @@ Index: git/gprof/configure
15783 15711
15784 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 15712 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15785 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 15713 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15786@@ -9219,7 +9741,13 @@ 15714@@ -9233,7 +9755,13 @@
15787 else 15715 else
15788 # Determine the default libpath from the value encoded in an 15716 # Determine the default libpath from the value encoded in an
15789 # empty executable. 15717 # empty executable.
@@ -15798,7 +15726,7 @@ Index: git/gprof/configure
15798 /* end confdefs.h. */ 15726 /* end confdefs.h. */
15799 15727
15800 int 15728 int
15801@@ -9232,22 +9760,29 @@ 15729@@ -9246,22 +9774,29 @@
15802 _ACEOF 15730 _ACEOF
15803 if ac_fn_c_try_link "$LINENO"; then : 15731 if ac_fn_c_try_link "$LINENO"; then :
15804 15732
@@ -15841,7 +15769,7 @@ Index: git/gprof/configure
15841 15769
15842 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 15770 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15843 # Warning - without using the other run time loading flags, 15771 # Warning - without using the other run time loading flags,
15844@@ -9292,20 +9827,63 @@ 15772@@ -9306,20 +9841,63 @@
15845 # Microsoft Visual C++. 15773 # Microsoft Visual C++.
15846 # hardcode_libdir_flag_spec is actually meaningless, as there is 15774 # hardcode_libdir_flag_spec is actually meaningless, as there is
15847 # no search path for DLLs. 15775 # no search path for DLLs.
@@ -15919,7 +15847,7 @@ Index: git/gprof/configure
15919 ;; 15847 ;;
15920 15848
15921 darwin* | rhapsody*) 15849 darwin* | rhapsody*)
15922@@ -9366,7 +9944,7 @@ 15850@@ -9380,7 +9958,7 @@
15923 15851
15924 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 15852 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15925 freebsd* | dragonfly*) 15853 freebsd* | dragonfly*)
@@ -15928,7 +15856,7 @@ Index: git/gprof/configure
15928 hardcode_libdir_flag_spec='-R$libdir' 15856 hardcode_libdir_flag_spec='-R$libdir'
15929 hardcode_direct=yes 15857 hardcode_direct=yes
15930 hardcode_shlibpath_var=no 15858 hardcode_shlibpath_var=no
15931@@ -9374,7 +9952,7 @@ 15859@@ -9388,7 +9966,7 @@
15932 15860
15933 hpux9*) 15861 hpux9*)
15934 if test "$GCC" = yes; then 15862 if test "$GCC" = yes; then
@@ -15937,7 +15865,7 @@ Index: git/gprof/configure
15937 else 15865 else
15938 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 15866 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15939 fi 15867 fi
15940@@ -9390,7 +9968,7 @@ 15868@@ -9404,7 +9982,7 @@
15941 15869
15942 hpux10*) 15870 hpux10*)
15943 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 15871 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -15946,7 +15874,7 @@ Index: git/gprof/configure
15946 else 15874 else
15947 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 15875 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15948 fi 15876 fi
15949@@ -9414,10 +9992,10 @@ 15877@@ -9428,10 +10006,10 @@
15950 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15878 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15951 ;; 15879 ;;
15952 ia64*) 15880 ia64*)
@@ -15959,7 +15887,7 @@ Index: git/gprof/configure
15959 ;; 15887 ;;
15960 esac 15888 esac
15961 else 15889 else
15962@@ -9496,23 +10074,36 @@ 15890@@ -9510,23 +10088,36 @@
15963 15891
15964 irix5* | irix6* | nonstopux*) 15892 irix5* | irix6* | nonstopux*)
15965 if test "$GCC" = yes; then 15893 if test "$GCC" = yes; then
@@ -16004,7 +15932,7 @@ Index: git/gprof/configure
16004 else 15932 else
16005 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 15933 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
16006 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 15934 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
16007@@ -9597,7 +10188,7 @@ 15935@@ -9611,7 +10202,7 @@
16008 osf4* | osf5*) # as osf3* with the addition of -msym flag 15936 osf4* | osf5*) # as osf3* with the addition of -msym flag
16009 if test "$GCC" = yes; then 15937 if test "$GCC" = yes; then
16010 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 15938 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -16013,7 +15941,7 @@ Index: git/gprof/configure
16013 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 15941 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16014 else 15942 else
16015 allow_undefined_flag=' -expect_unresolved \*' 15943 allow_undefined_flag=' -expect_unresolved \*'
16016@@ -9616,9 +10207,9 @@ 15944@@ -9630,9 +10221,9 @@
16017 no_undefined_flag=' -z defs' 15945 no_undefined_flag=' -z defs'
16018 if test "$GCC" = yes; then 15946 if test "$GCC" = yes; then
16019 wlarc='${wl}' 15947 wlarc='${wl}'
@@ -16025,7 +15953,7 @@ Index: git/gprof/configure
16025 else 15953 else
16026 case `$CC -V 2>&1` in 15954 case `$CC -V 2>&1` in
16027 *"Compilers 5.0"*) 15955 *"Compilers 5.0"*)
16028@@ -10194,8 +10785,9 @@ 15956@@ -10208,8 +10799,9 @@
16029 need_version=no 15957 need_version=no
16030 need_lib_prefix=no 15958 need_lib_prefix=no
16031 15959
@@ -16037,7 +15965,7 @@ Index: git/gprof/configure
16037 library_names_spec='$libname.dll.a' 15965 library_names_spec='$libname.dll.a'
16038 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15966 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16039 postinstall_cmds='base_file=`basename \${file}`~ 15967 postinstall_cmds='base_file=`basename \${file}`~
16040@@ -10228,13 +10820,71 @@ 15968@@ -10242,13 +10834,71 @@
16041 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15969 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16042 ;; 15970 ;;
16043 esac 15971 esac
@@ -16110,7 +16038,7 @@ Index: git/gprof/configure
16110 # FIXME: first we should search . and the directory the executable is in 16038 # FIXME: first we should search . and the directory the executable is in
16111 shlibpath_var=PATH 16039 shlibpath_var=PATH
16112 ;; 16040 ;;
16113@@ -10326,7 +10976,7 @@ 16041@@ -10340,7 +10990,7 @@
16114 soname_spec='${libname}${release}${shared_ext}$major' 16042 soname_spec='${libname}${release}${shared_ext}$major'
16115 shlibpath_var=LIBRARY_PATH 16043 shlibpath_var=LIBRARY_PATH
16116 shlibpath_overrides_runpath=yes 16044 shlibpath_overrides_runpath=yes
@@ -16119,16 +16047,7 @@ Index: git/gprof/configure
16119 hardcode_into_libs=yes 16047 hardcode_into_libs=yes
16120 ;; 16048 ;;
16121 16049
16122@@ -11122,7 +11772,7 @@ 16050@@ -11180,10 +11830,10 @@
16123 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16124 lt_status=$lt_dlunknown
16125 cat > conftest.$ac_ext <<_LT_EOF
16126-#line 11120 "configure"
16127+#line $LINENO "configure"
16128 #include "confdefs.h"
16129
16130 #if HAVE_DLFCN_H
16131@@ -11166,10 +11816,10 @@
16132 /* When -fvisbility=hidden is used, assume the code has been annotated 16051 /* When -fvisbility=hidden is used, assume the code has been annotated
16133 correspondingly for the symbols needed. */ 16052 correspondingly for the symbols needed. */
16134 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 16053 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -16141,16 +16060,7 @@ Index: git/gprof/configure
16141 int main () 16060 int main ()
16142 { 16061 {
16143 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 16062 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16144@@ -11228,7 +11878,7 @@ 16063@@ -11286,10 +11936,10 @@
16145 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16146 lt_status=$lt_dlunknown
16147 cat > conftest.$ac_ext <<_LT_EOF
16148-#line 11226 "configure"
16149+#line $LINENO "configure"
16150 #include "confdefs.h"
16151
16152 #if HAVE_DLFCN_H
16153@@ -11272,10 +11922,10 @@
16154 /* When -fvisbility=hidden is used, assume the code has been annotated 16064 /* When -fvisbility=hidden is used, assume the code has been annotated
16155 correspondingly for the symbols needed. */ 16065 correspondingly for the symbols needed. */
16156 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 16066 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -16163,7 +16073,7 @@ Index: git/gprof/configure
16163 int main () 16073 int main ()
16164 { 16074 {
16165 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 16075 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16166@@ -12817,13 +13467,20 @@ 16076@@ -12831,13 +13481,20 @@
16167 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 16077 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16168 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 16078 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16169 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 16079 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -16184,7 +16094,7 @@ Index: git/gprof/configure
16184 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 16094 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16185 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 16095 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16186 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16096 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16187@@ -12838,14 +13495,17 @@ 16097@@ -12852,14 +13509,17 @@
16188 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 16098 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16189 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 16099 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16190 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 16100 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -16203,7 +16113,7 @@ Index: git/gprof/configure
16203 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 16113 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16204 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 16114 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16205 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 16115 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16206@@ -12878,12 +13538,12 @@ 16116@@ -12892,12 +13552,12 @@
16207 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 16117 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16208 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 16118 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16209 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 16119 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -16217,7 +16127,7 @@ Index: git/gprof/configure
16217 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 16127 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16218 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 16128 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16219 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 16129 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16220@@ -12938,8 +13598,13 @@ 16130@@ -12952,8 +13612,13 @@
16221 OBJDUMP \ 16131 OBJDUMP \
16222 deplibs_check_method \ 16132 deplibs_check_method \
16223 file_magic_cmd \ 16133 file_magic_cmd \
@@ -16231,7 +16141,7 @@ Index: git/gprof/configure
16231 STRIP \ 16141 STRIP \
16232 RANLIB \ 16142 RANLIB \
16233 CC \ 16143 CC \
16234@@ -12949,12 +13614,14 @@ 16144@@ -12963,12 +13628,14 @@
16235 lt_cv_sys_global_symbol_to_cdecl \ 16145 lt_cv_sys_global_symbol_to_cdecl \
16236 lt_cv_sys_global_symbol_to_c_name_address \ 16146 lt_cv_sys_global_symbol_to_c_name_address \
16237 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 16147 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -16247,7 +16157,7 @@ Index: git/gprof/configure
16247 DSYMUTIL \ 16157 DSYMUTIL \
16248 NMEDIT \ 16158 NMEDIT \
16249 LIPO \ 16159 LIPO \
16250@@ -12970,7 +13637,6 @@ 16160@@ -12984,7 +13651,6 @@
16251 hardcode_libdir_flag_spec \ 16161 hardcode_libdir_flag_spec \
16252 hardcode_libdir_flag_spec_ld \ 16162 hardcode_libdir_flag_spec_ld \
16253 hardcode_libdir_separator \ 16163 hardcode_libdir_separator \
@@ -16255,7 +16165,7 @@ Index: git/gprof/configure
16255 exclude_expsyms \ 16165 exclude_expsyms \
16256 include_expsyms \ 16166 include_expsyms \
16257 file_list_spec \ 16167 file_list_spec \
16258@@ -13006,6 +13672,7 @@ 16168@@ -13020,6 +13686,7 @@
16259 module_expsym_cmds \ 16169 module_expsym_cmds \
16260 export_symbols_cmds \ 16170 export_symbols_cmds \
16261 prelink_cmds \ 16171 prelink_cmds \
@@ -16263,7 +16173,7 @@ Index: git/gprof/configure
16263 postinstall_cmds \ 16173 postinstall_cmds \
16264 postuninstall_cmds \ 16174 postuninstall_cmds \
16265 finish_cmds \ 16175 finish_cmds \
16266@@ -13762,7 +14429,8 @@ 16176@@ -13776,7 +14443,8 @@
16267 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 16177 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16268 # 16178 #
16269 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 16179 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -16273,7 +16183,7 @@ Index: git/gprof/configure
16273 # Written by Gordon Matzigkeit, 1996 16183 # Written by Gordon Matzigkeit, 1996
16274 # 16184 #
16275 # This file is part of GNU Libtool. 16185 # This file is part of GNU Libtool.
16276@@ -13865,19 +14533,42 @@ 16186@@ -13879,19 +14547,42 @@
16277 # turn newlines into spaces. 16187 # turn newlines into spaces.
16278 NL2SP=$lt_lt_NL2SP 16188 NL2SP=$lt_lt_NL2SP
16279 16189
@@ -16317,7 +16227,7 @@ Index: git/gprof/configure
16317 # A symbol stripping program. 16227 # A symbol stripping program.
16318 STRIP=$lt_STRIP 16228 STRIP=$lt_STRIP
16319 16229
16320@@ -13907,6 +14598,12 @@ 16230@@ -13921,6 +14612,12 @@
16321 # Transform the output of nm in a C name address pair when lib prefix is needed. 16231 # Transform the output of nm in a C name address pair when lib prefix is needed.
16322 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 16232 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16323 16233
@@ -16330,7 +16240,7 @@ Index: git/gprof/configure
16330 # The name of the directory that contains temporary libtool files. 16240 # The name of the directory that contains temporary libtool files.
16331 objdir=$objdir 16241 objdir=$objdir
16332 16242
16333@@ -13916,6 +14613,9 @@ 16243@@ -13930,6 +14627,9 @@
16334 # Must we lock files when doing compilation? 16244 # Must we lock files when doing compilation?
16335 need_locks=$lt_need_locks 16245 need_locks=$lt_need_locks
16336 16246
@@ -16340,7 +16250,7 @@ Index: git/gprof/configure
16340 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 16250 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16341 DSYMUTIL=$lt_DSYMUTIL 16251 DSYMUTIL=$lt_DSYMUTIL
16342 16252
16343@@ -14030,12 +14730,12 @@ 16253@@ -14044,12 +14744,12 @@
16344 # Compiler flag to turn off builtin functions. 16254 # Compiler flag to turn off builtin functions.
16345 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 16255 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16346 16256
@@ -16356,7 +16266,7 @@ Index: git/gprof/configure
16356 # Compiler flag to prevent dynamic linking. 16266 # Compiler flag to prevent dynamic linking.
16357 link_static_flag=$lt_lt_prog_compiler_static 16267 link_static_flag=$lt_lt_prog_compiler_static
16358 16268
16359@@ -14122,9 +14822,6 @@ 16269@@ -14136,9 +14836,6 @@
16360 # Whether libtool must link a program against all its dependency libraries. 16270 # Whether libtool must link a program against all its dependency libraries.
16361 link_all_deplibs=$link_all_deplibs 16271 link_all_deplibs=$link_all_deplibs
16362 16272
@@ -16366,7 +16276,7 @@ Index: git/gprof/configure
16366 # Set to "yes" if exported symbols are required. 16276 # Set to "yes" if exported symbols are required.
16367 always_export_symbols=$always_export_symbols 16277 always_export_symbols=$always_export_symbols
16368 16278
16369@@ -14140,6 +14837,9 @@ 16279@@ -14154,6 +14851,9 @@
16370 # Commands necessary for linking programs (against libraries) with templates. 16280 # Commands necessary for linking programs (against libraries) with templates.
16371 prelink_cmds=$lt_prelink_cmds 16281 prelink_cmds=$lt_prelink_cmds
16372 16282
@@ -16376,7 +16286,7 @@ Index: git/gprof/configure
16376 # Specify filename containing input files. 16286 # Specify filename containing input files.
16377 file_list_spec=$lt_file_list_spec 16287 file_list_spec=$lt_file_list_spec
16378 16288
16379@@ -14172,210 +14872,169 @@ 16289@@ -14186,210 +14886,169 @@
16380 # if finds mixed CR/LF and LF-only lines. Since sed operates in 16290 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16381 # text mode, it properly converts lines to CR/LF. This bash problem 16291 # text mode, it properly converts lines to CR/LF. This bash problem
16382 # is reportedly fixed, but why not run on old versions too? 16292 # is reportedly fixed, but why not run on old versions too?
@@ -16747,11 +16657,11 @@ Index: git/gprof/configure
16747 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 16657 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16748 chmod +x "$ofile" 16658 chmod +x "$ofile"
16749 16659
16750Index: git/ld/configure 16660Index: binutils-2.24/ld/configure
16751=================================================================== 16661===================================================================
16752--- git.orig/ld/configure 2012-09-07 01:13:46.789341452 -0700 16662--- binutils-2.24.orig/ld/configure 2013-11-04 07:33:39.000000000 -0800
16753+++ git/ld/configure 2012-09-07 12:21:49.686865716 -0700 16663+++ binutils-2.24/ld/configure 2013-12-15 11:12:06.120451266 -0800
16754@@ -645,8 +645,11 @@ 16664@@ -646,8 +646,11 @@
16755 LIPO 16665 LIPO
16756 NMEDIT 16666 NMEDIT
16757 DSYMUTIL 16667 DSYMUTIL
@@ -16763,7 +16673,7 @@ Index: git/ld/configure
16763 OBJDUMP 16673 OBJDUMP
16764 LN_S 16674 LN_S
16765 NM 16675 NM
16766@@ -784,6 +787,7 @@ 16676@@ -785,6 +788,7 @@
16767 with_pic 16677 with_pic
16768 enable_fast_install 16678 enable_fast_install
16769 with_gnu_ld 16679 with_gnu_ld
@@ -16771,7 +16681,7 @@ Index: git/ld/configure
16771 enable_libtool_lock 16681 enable_libtool_lock
16772 enable_nls 16682 enable_nls
16773 enable_initfini_array 16683 enable_initfini_array
16774@@ -1451,6 +1455,8 @@ 16684@@ -1452,6 +1456,8 @@
16775 --with-pic try to use only PIC/non-PIC objects [default=use 16685 --with-pic try to use only PIC/non-PIC objects [default=use
16776 both] 16686 both]
16777 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 16687 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -16780,7 +16690,7 @@ Index: git/ld/configure
16780 --with-zlib include zlib support (auto/yes/no) default=auto 16690 --with-zlib include zlib support (auto/yes/no) default=auto
16781 16691
16782 Some influential environment variables: 16692 Some influential environment variables:
16783@@ -6124,8 +6130,8 @@ 16693@@ -6125,8 +6131,8 @@
16784 16694
16785 16695
16786 16696
@@ -16791,7 +16701,7 @@ Index: git/ld/configure
16791 16701
16792 16702
16793 16703
16794@@ -6165,7 +6171,7 @@ 16704@@ -6166,7 +6172,7 @@
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 16705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
16796 $as_echo_n "checking how to print strings... " >&6; } 16706 $as_echo_n "checking how to print strings... " >&6; }
16797 # Test print first, because it will be a builtin if present. 16707 # Test print first, because it will be a builtin if present.
@@ -16800,7 +16710,7 @@ Index: git/ld/configure
16800 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 16710 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
16801 ECHO='print -r --' 16711 ECHO='print -r --'
16802 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 16712 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
16803@@ -6851,8 +6857,8 @@ 16713@@ -6852,8 +6858,8 @@
16804 # Try some XSI features 16714 # Try some XSI features
16805 xsi_shell=no 16715 xsi_shell=no
16806 ( _lt_dummy="a/b/c" 16716 ( _lt_dummy="a/b/c"
@@ -16811,7 +16721,7 @@ Index: git/ld/configure
16811 && eval 'test $(( 1 + 1 )) -eq 2 \ 16721 && eval 'test $(( 1 + 1 )) -eq 2 \
16812 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 16722 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
16813 && xsi_shell=yes 16723 && xsi_shell=yes
16814@@ -6901,6 +6907,80 @@ 16724@@ -6902,6 +6908,80 @@
16815 16725
16816 16726
16817 16727
@@ -16892,7 +16802,7 @@ Index: git/ld/configure
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 16802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
16893 $as_echo_n "checking for $LD option to reload object files... " >&6; } 16803 $as_echo_n "checking for $LD option to reload object files... " >&6; }
16894 if test "${lt_cv_ld_reload_flag+set}" = set; then : 16804 if test "${lt_cv_ld_reload_flag+set}" = set; then :
16895@@ -6917,6 +6997,11 @@ 16805@@ -6918,6 +6998,11 @@
16896 esac 16806 esac
16897 reload_cmds='$LD$reload_flag -o $output$reload_objs' 16807 reload_cmds='$LD$reload_flag -o $output$reload_objs'
16898 case $host_os in 16808 case $host_os in
@@ -16904,7 +16814,7 @@ Index: git/ld/configure
16904 darwin*) 16814 darwin*)
16905 if test "$GCC" = yes; then 16815 if test "$GCC" = yes; then
16906 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 16816 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
16907@@ -7085,7 +7170,8 @@ 16817@@ -7086,7 +7171,8 @@
16908 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 16818 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
16909 lt_cv_file_magic_cmd='func_win32_libid' 16819 lt_cv_file_magic_cmd='func_win32_libid'
16910 else 16820 else
@@ -16914,7 +16824,7 @@ Index: git/ld/configure
16914 lt_cv_file_magic_cmd='$OBJDUMP -f' 16824 lt_cv_file_magic_cmd='$OBJDUMP -f'
16915 fi 16825 fi
16916 ;; 16826 ;;
16917@@ -7239,6 +7325,21 @@ 16827@@ -7240,6 +7326,21 @@
16918 fi 16828 fi
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
16920 $as_echo "$lt_cv_deplibs_check_method" >&6; } 16830 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -16936,7 +16846,7 @@ Index: git/ld/configure
16936 file_magic_cmd=$lt_cv_file_magic_cmd 16846 file_magic_cmd=$lt_cv_file_magic_cmd
16937 deplibs_check_method=$lt_cv_deplibs_check_method 16847 deplibs_check_method=$lt_cv_deplibs_check_method
16938 test -z "$deplibs_check_method" && deplibs_check_method=unknown 16848 test -z "$deplibs_check_method" && deplibs_check_method=unknown
16939@@ -7254,9 +7355,162 @@ 16849@@ -7255,9 +7356,162 @@
16940 16850
16941 16851
16942 16852
@@ -17101,7 +17011,7 @@ Index: git/ld/configure
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17102 $as_echo_n "checking for $ac_word... " >&6; } 17012 $as_echo_n "checking for $ac_word... " >&6; }
17103 if test "${ac_cv_prog_AR+set}" = set; then : 17013 if test "${ac_cv_prog_AR+set}" = set; then :
17104@@ -7272,7 +7526,7 @@ 17014@@ -7273,7 +7527,7 @@
17105 test -z "$as_dir" && as_dir=. 17015 test -z "$as_dir" && as_dir=.
17106 for ac_exec_ext in '' $ac_executable_extensions; do 17016 for ac_exec_ext in '' $ac_executable_extensions; do
17107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 17017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -17110,7 +17020,7 @@ Index: git/ld/configure
17110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17111 break 2 17021 break 2
17112 fi 17022 fi
17113@@ -7292,11 +7546,15 @@ 17023@@ -7293,11 +7547,15 @@
17114 fi 17024 fi
17115 17025
17116 17026
@@ -17129,7 +17039,7 @@ Index: git/ld/configure
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17130 $as_echo_n "checking for $ac_word... " >&6; } 17040 $as_echo_n "checking for $ac_word... " >&6; }
17131 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 17041 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
17132@@ -7312,7 +7570,7 @@ 17042@@ -7313,7 +7571,7 @@
17133 test -z "$as_dir" && as_dir=. 17043 test -z "$as_dir" && as_dir=.
17134 for ac_exec_ext in '' $ac_executable_extensions; do 17044 for ac_exec_ext in '' $ac_executable_extensions; do
17135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 17045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -17138,7 +17048,7 @@ Index: git/ld/configure
17138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17139 break 2 17049 break 2
17140 fi 17050 fi
17141@@ -7331,6 +7589,10 @@ 17051@@ -7332,6 +7590,10 @@
17142 $as_echo "no" >&6; } 17052 $as_echo "no" >&6; }
17143 fi 17053 fi
17144 17054
@@ -17149,7 +17059,7 @@ Index: git/ld/configure
17149 if test "x$ac_ct_AR" = x; then 17059 if test "x$ac_ct_AR" = x; then
17150 AR="false" 17060 AR="false"
17151 else 17061 else
17152@@ -7342,12 +7604,10 @@ 17062@@ -7343,12 +7605,10 @@
17153 esac 17063 esac
17154 AR=$ac_ct_AR 17064 AR=$ac_ct_AR
17155 fi 17065 fi
@@ -17164,7 +17074,7 @@ Index: git/ld/configure
17164 17074
17165 17075
17166 17076
17167@@ -7359,6 +7619,64 @@ 17077@@ -7360,6 +7620,64 @@
17168 17078
17169 17079
17170 17080
@@ -17229,7 +17139,7 @@ Index: git/ld/configure
17229 if test -n "$ac_tool_prefix"; then 17139 if test -n "$ac_tool_prefix"; then
17230 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 17140 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
17231 set dummy ${ac_tool_prefix}strip; ac_word=$2 17141 set dummy ${ac_tool_prefix}strip; ac_word=$2
17232@@ -7693,8 +8011,8 @@ 17142@@ -7694,8 +8012,8 @@
17233 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 17143 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
17234 17144
17235 # Transform an extracted symbol line into symbol name and symbol address 17145 # Transform an extracted symbol line into symbol name and symbol address
@@ -17240,7 +17150,7 @@ Index: git/ld/configure
17240 17150
17241 # Handle CRLF in mingw tool chain 17151 # Handle CRLF in mingw tool chain
17242 opt_cr= 17152 opt_cr=
17243@@ -7730,6 +8048,7 @@ 17153@@ -7731,6 +8049,7 @@
17244 else 17154 else
17245 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 17155 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
17246 fi 17156 fi
@@ -17248,7 +17158,7 @@ Index: git/ld/configure
17248 17158
17249 # Check to see that the pipe works correctly. 17159 # Check to see that the pipe works correctly.
17250 pipe_works=no 17160 pipe_works=no
17251@@ -7771,6 +8090,18 @@ 17161@@ -7772,6 +8091,18 @@
17252 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 17162 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
17253 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 17163 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
17254 cat <<_LT_EOF > conftest.$ac_ext 17164 cat <<_LT_EOF > conftest.$ac_ext
@@ -17267,7 +17177,7 @@ Index: git/ld/configure
17267 #ifdef __cplusplus 17177 #ifdef __cplusplus
17268 extern "C" { 17178 extern "C" {
17269 #endif 17179 #endif
17270@@ -7782,7 +8113,7 @@ 17180@@ -7783,7 +8114,7 @@
17271 cat <<_LT_EOF >> conftest.$ac_ext 17181 cat <<_LT_EOF >> conftest.$ac_ext
17272 17182
17273 /* The mapping between symbol names and symbols. */ 17183 /* The mapping between symbol names and symbols. */
@@ -17276,7 +17186,7 @@ Index: git/ld/configure
17276 const char *name; 17186 const char *name;
17277 void *address; 17187 void *address;
17278 } 17188 }
17279@@ -7808,8 +8139,8 @@ 17189@@ -7809,8 +8140,8 @@
17280 _LT_EOF 17190 _LT_EOF
17281 # Now try linking the two files. 17191 # Now try linking the two files.
17282 mv conftest.$ac_objext conftstm.$ac_objext 17192 mv conftest.$ac_objext conftstm.$ac_objext
@@ -17287,7 +17197,7 @@ Index: git/ld/configure
17287 LIBS="conftstm.$ac_objext" 17197 LIBS="conftstm.$ac_objext"
17288 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 17198 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
17289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 17199 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
17290@@ -7819,8 +8150,8 @@ 17200@@ -7820,8 +8151,8 @@
17291 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 17201 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
17292 pipe_works=yes 17202 pipe_works=yes
17293 fi 17203 fi
@@ -17298,7 +17208,7 @@ Index: git/ld/configure
17298 else 17208 else
17299 echo "cannot find nm_test_func in $nlist" >&5 17209 echo "cannot find nm_test_func in $nlist" >&5
17300 fi 17210 fi
17301@@ -7857,6 +8188,23 @@ 17211@@ -7858,6 +8189,23 @@
17302 $as_echo "ok" >&6; } 17212 $as_echo "ok" >&6; }
17303 fi 17213 fi
17304 17214
@@ -17322,7 +17232,7 @@ Index: git/ld/configure
17322 17232
17323 17233
17324 17234
17325@@ -7873,6 +8221,38 @@ 17235@@ -7874,6 +8222,38 @@
17326 17236
17327 17237
17328 17238
@@ -17361,7 +17271,7 @@ Index: git/ld/configure
17361 17271
17362 17272
17363 17273
17364@@ -8071,6 +8451,123 @@ 17274@@ -8085,6 +8465,123 @@
17365 17275
17366 need_locks="$enable_libtool_lock" 17276 need_locks="$enable_libtool_lock"
17367 17277
@@ -17485,7 +17395,7 @@ Index: git/ld/configure
17485 17395
17486 case $host_os in 17396 case $host_os in
17487 rhapsody* | darwin*) 17397 rhapsody* | darwin*)
17488@@ -8634,6 +9131,8 @@ 17398@@ -8648,6 +9145,8 @@
17489 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 17399 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
17490 echo "$AR cru libconftest.a conftest.o" >&5 17400 echo "$AR cru libconftest.a conftest.o" >&5
17491 $AR cru libconftest.a conftest.o 2>&5 17401 $AR cru libconftest.a conftest.o 2>&5
@@ -17494,7 +17404,7 @@ Index: git/ld/configure
17494 cat > conftest.c << _LT_EOF 17404 cat > conftest.c << _LT_EOF
17495 int main() { return 0;} 17405 int main() { return 0;}
17496 _LT_EOF 17406 _LT_EOF
17497@@ -8702,6 +9201,16 @@ 17407@@ -8716,6 +9215,16 @@
17498 17408
17499 17409
17500 17410
@@ -17511,7 +17421,7 @@ Index: git/ld/configure
17511 17421
17512 17422
17513 # Set options 17423 # Set options
17514@@ -8830,7 +9339,8 @@ 17424@@ -8844,7 +9353,8 @@
17515 LIBTOOL_DEPS="$ltmain" 17425 LIBTOOL_DEPS="$ltmain"
17516 17426
17517 # Always use our own libtool. 17427 # Always use our own libtool.
@@ -17521,7 +17431,7 @@ Index: git/ld/configure
17521 17431
17522 17432
17523 17433
17524@@ -8919,7 +9429,7 @@ 17434@@ -8933,7 +9443,7 @@
17525 esac 17435 esac
17526 17436
17527 # Global variables: 17437 # Global variables:
@@ -17530,7 +17440,7 @@ Index: git/ld/configure
17530 can_build_shared=yes 17440 can_build_shared=yes
17531 17441
17532 # All known linkers require a `.a' archive for static linking (except MSVC, 17442 # All known linkers require a `.a' archive for static linking (except MSVC,
17533@@ -9217,8 +9727,6 @@ 17443@@ -9231,8 +9741,6 @@
17534 lt_prog_compiler_pic= 17444 lt_prog_compiler_pic=
17535 lt_prog_compiler_static= 17445 lt_prog_compiler_static=
17536 17446
@@ -17539,7 +17449,7 @@ Index: git/ld/configure
17539 17449
17540 if test "$GCC" = yes; then 17450 if test "$GCC" = yes; then
17541 lt_prog_compiler_wl='-Wl,' 17451 lt_prog_compiler_wl='-Wl,'
17542@@ -9383,6 +9891,12 @@ 17452@@ -9398,6 +9906,12 @@
17543 lt_prog_compiler_pic='--shared' 17453 lt_prog_compiler_pic='--shared'
17544 lt_prog_compiler_static='--static' 17454 lt_prog_compiler_static='--static'
17545 ;; 17455 ;;
@@ -17552,7 +17462,7 @@ Index: git/ld/configure
17552 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 17462 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
17553 # Portland Group compilers (*not* the Pentium gcc compiler, 17463 # Portland Group compilers (*not* the Pentium gcc compiler,
17554 # which looks to be a dead project) 17464 # which looks to be a dead project)
17555@@ -9445,7 +9959,7 @@ 17465@@ -9460,7 +9974,7 @@
17556 lt_prog_compiler_pic='-KPIC' 17466 lt_prog_compiler_pic='-KPIC'
17557 lt_prog_compiler_static='-Bstatic' 17467 lt_prog_compiler_static='-Bstatic'
17558 case $cc_basename in 17468 case $cc_basename in
@@ -17561,7 +17471,7 @@ Index: git/ld/configure
17561 lt_prog_compiler_wl='-Qoption ld ';; 17471 lt_prog_compiler_wl='-Qoption ld ';;
17562 *) 17472 *)
17563 lt_prog_compiler_wl='-Wl,';; 17473 lt_prog_compiler_wl='-Wl,';;
17564@@ -9502,13 +10016,17 @@ 17474@@ -9517,13 +10031,17 @@
17565 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 17475 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
17566 ;; 17476 ;;
17567 esac 17477 esac
@@ -17585,7 +17495,7 @@ Index: git/ld/configure
17585 17495
17586 # 17496 #
17587 # Check to make sure the PIC flag actually works. 17497 # Check to make sure the PIC flag actually works.
17588@@ -9569,6 +10087,11 @@ 17498@@ -9584,6 +10102,11 @@
17589 17499
17590 17500
17591 17501
@@ -17597,7 +17507,7 @@ Index: git/ld/configure
17597 # 17507 #
17598 # Check to make sure the static flag actually works. 17508 # Check to make sure the static flag actually works.
17599 # 17509 #
17600@@ -9919,7 +10442,8 @@ 17510@@ -9934,7 +10457,8 @@
17601 allow_undefined_flag=unsupported 17511 allow_undefined_flag=unsupported
17602 always_export_symbols=no 17512 always_export_symbols=no
17603 enable_shared_with_static_runtimes=yes 17513 enable_shared_with_static_runtimes=yes
@@ -17607,7 +17517,7 @@ Index: git/ld/configure
17607 17517
17608 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 17518 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
17609 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 17519 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17610@@ -9967,7 +10491,7 @@ 17520@@ -9982,7 +10506,7 @@
17611 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 17521 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
17612 && test "$tmp_diet" = no 17522 && test "$tmp_diet" = no
17613 then 17523 then
@@ -17616,7 +17526,7 @@ Index: git/ld/configure
17616 tmp_sharedflag='-shared' 17526 tmp_sharedflag='-shared'
17617 case $cc_basename,$host_cpu in 17527 case $cc_basename,$host_cpu in
17618 pgcc*) # Portland Group C compiler 17528 pgcc*) # Portland Group C compiler
17619@@ -10018,12 +10542,12 @@ 17529@@ -10033,12 +10557,12 @@
17620 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 17530 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
17621 hardcode_libdir_flag_spec= 17531 hardcode_libdir_flag_spec=
17622 hardcode_libdir_flag_spec_ld='-rpath $libdir' 17532 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -17631,7 +17541,7 @@ Index: git/ld/configure
17631 fi 17541 fi
17632 ;; 17542 ;;
17633 esac 17543 esac
17634@@ -10037,8 +10561,8 @@ 17544@@ -10052,8 +10576,8 @@
17635 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 17545 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17636 wlarc= 17546 wlarc=
17637 else 17547 else
@@ -17642,7 +17552,7 @@ Index: git/ld/configure
17642 fi 17552 fi
17643 ;; 17553 ;;
17644 17554
17645@@ -10056,8 +10580,8 @@ 17555@@ -10071,8 +10595,8 @@
17646 17556
17647 _LT_EOF 17557 _LT_EOF
17648 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 17558 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -17653,7 +17563,7 @@ Index: git/ld/configure
17653 else 17563 else
17654 ld_shlibs=no 17564 ld_shlibs=no
17655 fi 17565 fi
17656@@ -10103,8 +10627,8 @@ 17566@@ -10118,8 +10642,8 @@
17657 17567
17658 *) 17568 *)
17659 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 17569 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -17664,7 +17574,7 @@ Index: git/ld/configure
17664 else 17574 else
17665 ld_shlibs=no 17575 ld_shlibs=no
17666 fi 17576 fi
17667@@ -10234,7 +10758,13 @@ 17577@@ -10249,7 +10773,13 @@
17668 allow_undefined_flag='-berok' 17578 allow_undefined_flag='-berok'
17669 # Determine the default libpath from the value encoded in an 17579 # Determine the default libpath from the value encoded in an
17670 # empty executable. 17580 # empty executable.
@@ -17679,7 +17589,7 @@ Index: git/ld/configure
17679 /* end confdefs.h. */ 17589 /* end confdefs.h. */
17680 17590
17681 int 17591 int
17682@@ -10247,22 +10777,29 @@ 17592@@ -10262,22 +10792,29 @@
17683 _ACEOF 17593 _ACEOF
17684 if ac_fn_c_try_link "$LINENO"; then : 17594 if ac_fn_c_try_link "$LINENO"; then :
17685 17595
@@ -17722,7 +17632,7 @@ Index: git/ld/configure
17722 17632
17723 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 17633 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
17724 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 17634 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17725@@ -10274,7 +10811,13 @@ 17635@@ -10289,7 +10826,13 @@
17726 else 17636 else
17727 # Determine the default libpath from the value encoded in an 17637 # Determine the default libpath from the value encoded in an
17728 # empty executable. 17638 # empty executable.
@@ -17737,7 +17647,7 @@ Index: git/ld/configure
17737 /* end confdefs.h. */ 17647 /* end confdefs.h. */
17738 17648
17739 int 17649 int
17740@@ -10287,22 +10830,29 @@ 17650@@ -10302,22 +10845,29 @@
17741 _ACEOF 17651 _ACEOF
17742 if ac_fn_c_try_link "$LINENO"; then : 17652 if ac_fn_c_try_link "$LINENO"; then :
17743 17653
@@ -17780,7 +17690,7 @@ Index: git/ld/configure
17780 17690
17781 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 17691 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
17782 # Warning - without using the other run time loading flags, 17692 # Warning - without using the other run time loading flags,
17783@@ -10347,20 +10897,63 @@ 17693@@ -10362,20 +10912,63 @@
17784 # Microsoft Visual C++. 17694 # Microsoft Visual C++.
17785 # hardcode_libdir_flag_spec is actually meaningless, as there is 17695 # hardcode_libdir_flag_spec is actually meaningless, as there is
17786 # no search path for DLLs. 17696 # no search path for DLLs.
@@ -17858,7 +17768,7 @@ Index: git/ld/configure
17858 ;; 17768 ;;
17859 17769
17860 darwin* | rhapsody*) 17770 darwin* | rhapsody*)
17861@@ -10421,7 +11014,7 @@ 17771@@ -10436,7 +11029,7 @@
17862 17772
17863 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 17773 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17864 freebsd* | dragonfly*) 17774 freebsd* | dragonfly*)
@@ -17867,7 +17777,7 @@ Index: git/ld/configure
17867 hardcode_libdir_flag_spec='-R$libdir' 17777 hardcode_libdir_flag_spec='-R$libdir'
17868 hardcode_direct=yes 17778 hardcode_direct=yes
17869 hardcode_shlibpath_var=no 17779 hardcode_shlibpath_var=no
17870@@ -10429,7 +11022,7 @@ 17780@@ -10444,7 +11037,7 @@
17871 17781
17872 hpux9*) 17782 hpux9*)
17873 if test "$GCC" = yes; then 17783 if test "$GCC" = yes; then
@@ -17876,7 +17786,7 @@ Index: git/ld/configure
17876 else 17786 else
17877 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 17787 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17878 fi 17788 fi
17879@@ -10445,7 +11038,7 @@ 17789@@ -10460,7 +11053,7 @@
17880 17790
17881 hpux10*) 17791 hpux10*)
17882 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 17792 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -17885,7 +17795,7 @@ Index: git/ld/configure
17885 else 17795 else
17886 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 17796 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17887 fi 17797 fi
17888@@ -10469,10 +11062,10 @@ 17798@@ -10484,10 +11077,10 @@
17889 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 17799 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17890 ;; 17800 ;;
17891 ia64*) 17801 ia64*)
@@ -17898,7 +17808,7 @@ Index: git/ld/configure
17898 ;; 17808 ;;
17899 esac 17809 esac
17900 else 17810 else
17901@@ -10551,23 +11144,36 @@ 17811@@ -10566,23 +11159,36 @@
17902 17812
17903 irix5* | irix6* | nonstopux*) 17813 irix5* | irix6* | nonstopux*)
17904 if test "$GCC" = yes; then 17814 if test "$GCC" = yes; then
@@ -17943,7 +17853,7 @@ Index: git/ld/configure
17943 else 17853 else
17944 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 17854 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
17945 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 17855 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
17946@@ -10652,7 +11258,7 @@ 17856@@ -10667,7 +11273,7 @@
17947 osf4* | osf5*) # as osf3* with the addition of -msym flag 17857 osf4* | osf5*) # as osf3* with the addition of -msym flag
17948 if test "$GCC" = yes; then 17858 if test "$GCC" = yes; then
17949 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 17859 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -17952,7 +17862,7 @@ Index: git/ld/configure
17952 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 17862 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
17953 else 17863 else
17954 allow_undefined_flag=' -expect_unresolved \*' 17864 allow_undefined_flag=' -expect_unresolved \*'
17955@@ -10671,9 +11277,9 @@ 17865@@ -10686,9 +11292,9 @@
17956 no_undefined_flag=' -z defs' 17866 no_undefined_flag=' -z defs'
17957 if test "$GCC" = yes; then 17867 if test "$GCC" = yes; then
17958 wlarc='${wl}' 17868 wlarc='${wl}'
@@ -17964,7 +17874,7 @@ Index: git/ld/configure
17964 else 17874 else
17965 case `$CC -V 2>&1` in 17875 case `$CC -V 2>&1` in
17966 *"Compilers 5.0"*) 17876 *"Compilers 5.0"*)
17967@@ -11249,8 +11855,9 @@ 17877@@ -11264,8 +11870,9 @@
17968 need_version=no 17878 need_version=no
17969 need_lib_prefix=no 17879 need_lib_prefix=no
17970 17880
@@ -17976,7 +17886,7 @@ Index: git/ld/configure
17976 library_names_spec='$libname.dll.a' 17886 library_names_spec='$libname.dll.a'
17977 # DLL is installed to $(libdir)/../bin by postinstall_cmds 17887 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17978 postinstall_cmds='base_file=`basename \${file}`~ 17888 postinstall_cmds='base_file=`basename \${file}`~
17979@@ -11283,13 +11890,71 @@ 17889@@ -11298,13 +11905,71 @@
17980 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 17890 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17981 ;; 17891 ;;
17982 esac 17892 esac
@@ -18049,7 +17959,7 @@ Index: git/ld/configure
18049 # FIXME: first we should search . and the directory the executable is in 17959 # FIXME: first we should search . and the directory the executable is in
18050 shlibpath_var=PATH 17960 shlibpath_var=PATH
18051 ;; 17961 ;;
18052@@ -11381,7 +12046,7 @@ 17962@@ -11396,7 +12061,7 @@
18053 soname_spec='${libname}${release}${shared_ext}$major' 17963 soname_spec='${libname}${release}${shared_ext}$major'
18054 shlibpath_var=LIBRARY_PATH 17964 shlibpath_var=LIBRARY_PATH
18055 shlibpath_overrides_runpath=yes 17965 shlibpath_overrides_runpath=yes
@@ -18058,16 +17968,16 @@ Index: git/ld/configure
18058 hardcode_into_libs=yes 17968 hardcode_into_libs=yes
18059 ;; 17969 ;;
18060 17970
18061@@ -12177,7 +12842,7 @@ 17971@@ -12192,7 +12857,7 @@
18062 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 17972 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18063 lt_status=$lt_dlunknown 17973 lt_status=$lt_dlunknown
18064 cat > conftest.$ac_ext <<_LT_EOF 17974 cat > conftest.$ac_ext <<_LT_EOF
18065-#line 12180 "configure" 17975-#line 12195 "configure"
18066+#line $LINENO "configure" 17976+#line $LINENO "configure"
18067 #include "confdefs.h" 17977 #include "confdefs.h"
18068 17978
18069 #if HAVE_DLFCN_H 17979 #if HAVE_DLFCN_H
18070@@ -12221,10 +12886,10 @@ 17980@@ -12236,10 +12901,10 @@
18071 /* When -fvisbility=hidden is used, assume the code has been annotated 17981 /* When -fvisbility=hidden is used, assume the code has been annotated
18072 correspondingly for the symbols needed. */ 17982 correspondingly for the symbols needed. */
18073 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 17983 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -18080,16 +17990,16 @@ Index: git/ld/configure
18080 int main () 17990 int main ()
18081 { 17991 {
18082 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 17992 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18083@@ -12283,7 +12948,7 @@ 17993@@ -12298,7 +12963,7 @@
18084 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 17994 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18085 lt_status=$lt_dlunknown 17995 lt_status=$lt_dlunknown
18086 cat > conftest.$ac_ext <<_LT_EOF 17996 cat > conftest.$ac_ext <<_LT_EOF
18087-#line 12286 "configure" 17997-#line 12301 "configure"
18088+#line $LINENO "configure" 17998+#line $LINENO "configure"
18089 #include "confdefs.h" 17999 #include "confdefs.h"
18090 18000
18091 #if HAVE_DLFCN_H 18001 #if HAVE_DLFCN_H
18092@@ -12327,10 +12992,10 @@ 18002@@ -12342,10 +13007,10 @@
18093 /* When -fvisbility=hidden is used, assume the code has been annotated 18003 /* When -fvisbility=hidden is used, assume the code has been annotated
18094 correspondingly for the symbols needed. */ 18004 correspondingly for the symbols needed. */
18095 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 18005 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -18102,7 +18012,7 @@ Index: git/ld/configure
18102 int main () 18012 int main ()
18103 { 18013 {
18104 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 18014 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18105@@ -12722,6 +13387,7 @@ 18015@@ -12737,6 +13402,7 @@
18106 18016
18107 # Allow CC to be a program name with arguments. 18017 # Allow CC to be a program name with arguments.
18108 lt_save_CC=$CC 18018 lt_save_CC=$CC
@@ -18110,7 +18020,7 @@ Index: git/ld/configure
18110 lt_save_LD=$LD 18020 lt_save_LD=$LD
18111 lt_save_GCC=$GCC 18021 lt_save_GCC=$GCC
18112 GCC=$GXX 18022 GCC=$GXX
18113@@ -12739,6 +13405,7 @@ 18023@@ -12754,6 +13420,7 @@
18114 fi 18024 fi
18115 test -z "${LDCXX+set}" || LD=$LDCXX 18025 test -z "${LDCXX+set}" || LD=$LDCXX
18116 CC=${CXX-"c++"} 18026 CC=${CXX-"c++"}
@@ -18118,7 +18028,7 @@ Index: git/ld/configure
18118 compiler=$CC 18028 compiler=$CC
18119 compiler_CXX=$CC 18029 compiler_CXX=$CC
18120 for cc_temp in $compiler""; do 18030 for cc_temp in $compiler""; do
18121@@ -12878,8 +13545,8 @@ 18031@@ -12893,8 +13560,8 @@
18122 # Check if GNU C++ uses GNU ld as the underlying linker, since the 18032 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18123 # archiving commands below assume that GNU ld is being used. 18033 # archiving commands below assume that GNU ld is being used.
18124 if test "$with_gnu_ld" = yes; then 18034 if test "$with_gnu_ld" = yes; then
@@ -18129,7 +18039,7 @@ Index: git/ld/configure
18129 18039
18130 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 18040 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18131 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 18041 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18132@@ -13021,7 +13688,13 @@ 18042@@ -13036,7 +13703,13 @@
18133 allow_undefined_flag_CXX='-berok' 18043 allow_undefined_flag_CXX='-berok'
18134 # Determine the default libpath from the value encoded in an empty 18044 # Determine the default libpath from the value encoded in an empty
18135 # executable. 18045 # executable.
@@ -18144,7 +18054,7 @@ Index: git/ld/configure
18144 /* end confdefs.h. */ 18054 /* end confdefs.h. */
18145 18055
18146 int 18056 int
18147@@ -13034,22 +13707,29 @@ 18057@@ -13049,22 +13722,29 @@
18148 _ACEOF 18058 _ACEOF
18149 if ac_fn_cxx_try_link "$LINENO"; then : 18059 if ac_fn_cxx_try_link "$LINENO"; then :
18150 18060
@@ -18187,7 +18097,7 @@ Index: git/ld/configure
18187 18097
18188 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 18098 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18189 18099
18190@@ -13062,7 +13742,13 @@ 18100@@ -13077,7 +13757,13 @@
18191 else 18101 else
18192 # Determine the default libpath from the value encoded in an 18102 # Determine the default libpath from the value encoded in an
18193 # empty executable. 18103 # empty executable.
@@ -18202,7 +18112,7 @@ Index: git/ld/configure
18202 /* end confdefs.h. */ 18112 /* end confdefs.h. */
18203 18113
18204 int 18114 int
18205@@ -13075,22 +13761,29 @@ 18115@@ -13090,22 +13776,29 @@
18206 _ACEOF 18116 _ACEOF
18207 if ac_fn_cxx_try_link "$LINENO"; then : 18117 if ac_fn_cxx_try_link "$LINENO"; then :
18208 18118
@@ -18245,7 +18155,7 @@ Index: git/ld/configure
18245 18155
18246 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 18156 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18247 # Warning - without using the other run time loading flags, 18157 # Warning - without using the other run time loading flags,
18248@@ -13133,29 +13826,75 @@ 18158@@ -13148,29 +13841,75 @@
18249 ;; 18159 ;;
18250 18160
18251 cygwin* | mingw* | pw32* | cegcc*) 18161 cygwin* | mingw* | pw32* | cegcc*)
@@ -18344,7 +18254,7 @@ Index: git/ld/configure
18344 darwin* | rhapsody*) 18254 darwin* | rhapsody*)
18345 18255
18346 18256
18347@@ -13261,7 +14000,7 @@ 18257@@ -13276,7 +14015,7 @@
18348 ;; 18258 ;;
18349 *) 18259 *)
18350 if test "$GXX" = yes; then 18260 if test "$GXX" = yes; then
@@ -18353,7 +18263,7 @@ Index: git/ld/configure
18353 else 18263 else
18354 # FIXME: insert proper C++ library support 18264 # FIXME: insert proper C++ library support
18355 ld_shlibs_CXX=no 18265 ld_shlibs_CXX=no
18356@@ -13332,10 +14071,10 @@ 18266@@ -13347,10 +14086,10 @@
18357 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 18267 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18358 ;; 18268 ;;
18359 ia64*) 18269 ia64*)
@@ -18366,7 +18276,7 @@ Index: git/ld/configure
18366 ;; 18276 ;;
18367 esac 18277 esac
18368 fi 18278 fi
18369@@ -13376,9 +14115,9 @@ 18279@@ -13391,9 +14130,9 @@
18370 *) 18280 *)
18371 if test "$GXX" = yes; then 18281 if test "$GXX" = yes; then
18372 if test "$with_gnu_ld" = no; then 18282 if test "$with_gnu_ld" = no; then
@@ -18378,7 +18288,7 @@ Index: git/ld/configure
18378 fi 18288 fi
18379 fi 18289 fi
18380 link_all_deplibs_CXX=yes 18290 link_all_deplibs_CXX=yes
18381@@ -13448,20 +14187,20 @@ 18291@@ -13463,20 +14202,20 @@
18382 prelink_cmds_CXX='tpldir=Template.dir~ 18292 prelink_cmds_CXX='tpldir=Template.dir~
18383 rm -rf $tpldir~ 18293 rm -rf $tpldir~
18384 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 18294 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
@@ -18403,7 +18313,7 @@ Index: git/ld/configure
18403 ;; 18313 ;;
18404 *) # Version 6 and above use weak symbols 18314 *) # Version 6 and above use weak symbols
18405 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 18315 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18406@@ -13656,7 +14395,7 @@ 18316@@ -13671,7 +14410,7 @@
18407 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 18317 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18408 ;; 18318 ;;
18409 *) 18319 *)
@@ -18412,7 +18322,7 @@ Index: git/ld/configure
18412 ;; 18322 ;;
18413 esac 18323 esac
18414 18324
18415@@ -13702,7 +14441,7 @@ 18325@@ -13717,7 +14456,7 @@
18416 18326
18417 solaris*) 18327 solaris*)
18418 case $cc_basename in 18328 case $cc_basename in
@@ -18421,7 +18331,7 @@ Index: git/ld/configure
18421 # Sun C++ 4.2, 5.x and Centerline C++ 18331 # Sun C++ 4.2, 5.x and Centerline C++
18422 archive_cmds_need_lc_CXX=yes 18332 archive_cmds_need_lc_CXX=yes
18423 no_undefined_flag_CXX=' -zdefs' 18333 no_undefined_flag_CXX=' -zdefs'
18424@@ -13743,9 +14482,9 @@ 18334@@ -13758,9 +14497,9 @@
18425 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 18335 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18426 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 18336 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
18427 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 18337 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
@@ -18433,7 +18343,7 @@ Index: git/ld/configure
18433 18343
18434 # Commands to make compiler produce verbose output that lists 18344 # Commands to make compiler produce verbose output that lists
18435 # what "hidden" libraries, object files and flags are used when 18345 # what "hidden" libraries, object files and flags are used when
18436@@ -13880,6 +14619,13 @@ 18346@@ -13895,6 +14634,13 @@
18437 }; 18347 };
18438 _LT_EOF 18348 _LT_EOF
18439 18349
@@ -18447,7 +18357,7 @@ Index: git/ld/configure
18447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 18357 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18448 (eval $ac_compile) 2>&5 18358 (eval $ac_compile) 2>&5
18449 ac_status=$? 18359 ac_status=$?
18450@@ -13893,7 +14639,7 @@ 18360@@ -13908,7 +14654,7 @@
18451 pre_test_object_deps_done=no 18361 pre_test_object_deps_done=no
18452 18362
18453 for p in `eval "$output_verbose_link_cmd"`; do 18363 for p in `eval "$output_verbose_link_cmd"`; do
@@ -18456,7 +18366,7 @@ Index: git/ld/configure
18456 18366
18457 -L* | -R* | -l*) 18367 -L* | -R* | -l*)
18458 # Some compilers place space between "-{L,R}" and the path. 18368 # Some compilers place space between "-{L,R}" and the path.
18459@@ -13902,13 +14648,22 @@ 18369@@ -13917,13 +14663,22 @@
18460 test $p = "-R"; then 18370 test $p = "-R"; then
18461 prev=$p 18371 prev=$p
18462 continue 18372 continue
@@ -18483,7 +18393,7 @@ Index: git/ld/configure
18483 # Internal compiler library paths should come after those 18393 # Internal compiler library paths should come after those
18484 # provided the user. The postdeps already come after the 18394 # provided the user. The postdeps already come after the
18485 # user supplied libs so there is no need to process them. 18395 # user supplied libs so there is no need to process them.
18486@@ -13928,8 +14683,10 @@ 18396@@ -13943,8 +14698,10 @@
18487 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 18397 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
18488 fi 18398 fi
18489 fi 18399 fi
@@ -18494,7 +18404,7 @@ Index: git/ld/configure
18494 *.$objext) 18404 *.$objext)
18495 # This assumes that the test object file only shows up 18405 # This assumes that the test object file only shows up
18496 # once in the compiler output. 18406 # once in the compiler output.
18497@@ -13965,6 +14722,7 @@ 18407@@ -13980,6 +14737,7 @@
18498 fi 18408 fi
18499 18409
18500 $RM -f confest.$objext 18410 $RM -f confest.$objext
@@ -18502,7 +18412,7 @@ Index: git/ld/configure
18502 18412
18503 # PORTME: override above test on systems where it is broken 18413 # PORTME: override above test on systems where it is broken
18504 case $host_os in 18414 case $host_os in
18505@@ -14000,7 +14758,7 @@ 18415@@ -14015,7 +14773,7 @@
18506 18416
18507 solaris*) 18417 solaris*)
18508 case $cc_basename in 18418 case $cc_basename in
@@ -18511,7 +18421,7 @@ Index: git/ld/configure
18511 # The more standards-conforming stlport4 library is 18421 # The more standards-conforming stlport4 library is
18512 # incompatible with the Cstd library. Avoid specifying 18422 # incompatible with the Cstd library. Avoid specifying
18513 # it if it's in CXXFLAGS. Ignore libCrun as 18423 # it if it's in CXXFLAGS. Ignore libCrun as
18514@@ -14065,8 +14823,6 @@ 18424@@ -14080,8 +14838,6 @@
18515 lt_prog_compiler_pic_CXX= 18425 lt_prog_compiler_pic_CXX=
18516 lt_prog_compiler_static_CXX= 18426 lt_prog_compiler_static_CXX=
18517 18427
@@ -18520,7 +18430,7 @@ Index: git/ld/configure
18520 18430
18521 # C++ specific cases for pic, static, wl, etc. 18431 # C++ specific cases for pic, static, wl, etc.
18522 if test "$GXX" = yes; then 18432 if test "$GXX" = yes; then
18523@@ -14170,6 +14926,11 @@ 18433@@ -14186,6 +14942,11 @@
18524 ;; 18434 ;;
18525 esac 18435 esac
18526 ;; 18436 ;;
@@ -18532,7 +18442,7 @@ Index: git/ld/configure
18532 dgux*) 18442 dgux*)
18533 case $cc_basename in 18443 case $cc_basename in
18534 ec++*) 18444 ec++*)
18535@@ -14322,7 +15083,7 @@ 18445@@ -14338,7 +15099,7 @@
18536 ;; 18446 ;;
18537 solaris*) 18447 solaris*)
18538 case $cc_basename in 18448 case $cc_basename in
@@ -18541,7 +18451,7 @@ Index: git/ld/configure
18541 # Sun C++ 4.2, 5.x and Centerline C++ 18451 # Sun C++ 4.2, 5.x and Centerline C++
18542 lt_prog_compiler_pic_CXX='-KPIC' 18452 lt_prog_compiler_pic_CXX='-KPIC'
18543 lt_prog_compiler_static_CXX='-Bstatic' 18453 lt_prog_compiler_static_CXX='-Bstatic'
18544@@ -14387,10 +15148,17 @@ 18454@@ -14403,10 +15164,17 @@
18545 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 18455 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
18546 ;; 18456 ;;
18547 esac 18457 esac
@@ -18562,7 +18472,7 @@ Index: git/ld/configure
18562 18472
18563 # 18473 #
18564 # Check to make sure the PIC flag actually works. 18474 # Check to make sure the PIC flag actually works.
18565@@ -14448,6 +15216,8 @@ 18475@@ -14464,6 +15232,8 @@
18566 18476
18567 18477
18568 18478
@@ -18571,7 +18481,7 @@ Index: git/ld/configure
18571 # 18481 #
18572 # Check to make sure the static flag actually works. 18482 # Check to make sure the static flag actually works.
18573 # 18483 #
18574@@ -14625,6 +15395,7 @@ 18484@@ -14641,6 +15411,7 @@
18575 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 18485 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18576 18486
18577 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 18487 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
@@ -18579,7 +18489,7 @@ Index: git/ld/configure
18579 case $host_os in 18489 case $host_os in
18580 aix[4-9]*) 18490 aix[4-9]*)
18581 # If we're using GNU nm, then we don't want the "-C" option. 18491 # If we're using GNU nm, then we don't want the "-C" option.
18582@@ -14639,15 +15410,20 @@ 18492@@ -14655,15 +15426,20 @@
18583 ;; 18493 ;;
18584 pw32*) 18494 pw32*)
18585 export_symbols_cmds_CXX="$ltdll_cmds" 18495 export_symbols_cmds_CXX="$ltdll_cmds"
@@ -18605,7 +18515,7 @@ Index: git/ld/configure
18605 18515
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 18516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18607 $as_echo "$ld_shlibs_CXX" >&6; } 18517 $as_echo "$ld_shlibs_CXX" >&6; }
18608@@ -14910,8 +15686,9 @@ 18518@@ -14926,8 +15702,9 @@
18609 need_version=no 18519 need_version=no
18610 need_lib_prefix=no 18520 need_lib_prefix=no
18611 18521
@@ -18617,7 +18527,7 @@ Index: git/ld/configure
18617 library_names_spec='$libname.dll.a' 18527 library_names_spec='$libname.dll.a'
18618 # DLL is installed to $(libdir)/../bin by postinstall_cmds 18528 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18619 postinstall_cmds='base_file=`basename \${file}`~ 18529 postinstall_cmds='base_file=`basename \${file}`~
18620@@ -14943,13 +15720,71 @@ 18530@@ -14959,13 +15736,71 @@
18621 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 18531 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18622 ;; 18532 ;;
18623 esac 18533 esac
@@ -18690,7 +18600,7 @@ Index: git/ld/configure
18690 # FIXME: first we should search . and the directory the executable is in 18600 # FIXME: first we should search . and the directory the executable is in
18691 shlibpath_var=PATH 18601 shlibpath_var=PATH
18692 ;; 18602 ;;
18693@@ -15040,7 +15875,7 @@ 18603@@ -15056,7 +15891,7 @@
18694 soname_spec='${libname}${release}${shared_ext}$major' 18604 soname_spec='${libname}${release}${shared_ext}$major'
18695 shlibpath_var=LIBRARY_PATH 18605 shlibpath_var=LIBRARY_PATH
18696 shlibpath_overrides_runpath=yes 18606 shlibpath_overrides_runpath=yes
@@ -18699,7 +18609,7 @@ Index: git/ld/configure
18699 hardcode_into_libs=yes 18609 hardcode_into_libs=yes
18700 ;; 18610 ;;
18701 18611
18702@@ -15499,6 +16334,7 @@ 18612@@ -15515,6 +16350,7 @@
18703 fi # test -n "$compiler" 18613 fi # test -n "$compiler"
18704 18614
18705 CC=$lt_save_CC 18615 CC=$lt_save_CC
@@ -18707,7 +18617,7 @@ Index: git/ld/configure
18707 LDCXX=$LD 18617 LDCXX=$LD
18708 LD=$lt_save_LD 18618 LD=$lt_save_LD
18709 GCC=$lt_save_GCC 18619 GCC=$lt_save_GCC
18710@@ -17737,13 +18573,20 @@ 18620@@ -17754,13 +18590,20 @@
18711 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 18621 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18712 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 18622 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18713 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 18623 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -18728,7 +18638,7 @@ Index: git/ld/configure
18728 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 18638 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18729 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 18639 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18730 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18640 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18731@@ -17758,14 +18601,17 @@ 18641@@ -17775,14 +18618,17 @@
18732 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 18642 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18733 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 18643 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18734 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 18644 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -18747,7 +18657,7 @@ Index: git/ld/configure
18747 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 18657 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18748 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 18658 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18749 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 18659 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18750@@ -17798,12 +18644,12 @@ 18660@@ -17815,12 +18661,12 @@
18751 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 18661 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18752 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 18662 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18753 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 18663 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -18761,7 +18671,7 @@ Index: git/ld/configure
18761 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 18671 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18762 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 18672 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18763 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 18673 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18764@@ -17842,8 +18688,8 @@ 18674@@ -17859,8 +18705,8 @@
18765 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 18675 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18766 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 18676 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18767 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 18677 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
@@ -18771,7 +18681,7 @@ Index: git/ld/configure
18771 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 18681 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18772 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 18682 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18773 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 18683 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18774@@ -17870,12 +18716,12 @@ 18684@@ -17887,12 +18733,12 @@
18775 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 18685 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18776 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 18686 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18777 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 18687 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
@@ -18785,7 +18695,7 @@ Index: git/ld/configure
18785 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 18695 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18786 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 18696 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18787 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 18697 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18788@@ -17913,8 +18759,13 @@ 18698@@ -17930,8 +18776,13 @@
18789 OBJDUMP \ 18699 OBJDUMP \
18790 deplibs_check_method \ 18700 deplibs_check_method \
18791 file_magic_cmd \ 18701 file_magic_cmd \
@@ -18799,7 +18709,7 @@ Index: git/ld/configure
18799 STRIP \ 18709 STRIP \
18800 RANLIB \ 18710 RANLIB \
18801 CC \ 18711 CC \
18802@@ -17924,12 +18775,14 @@ 18712@@ -17941,12 +18792,14 @@
18803 lt_cv_sys_global_symbol_to_cdecl \ 18713 lt_cv_sys_global_symbol_to_cdecl \
18804 lt_cv_sys_global_symbol_to_c_name_address \ 18714 lt_cv_sys_global_symbol_to_c_name_address \
18805 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 18715 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -18815,7 +18725,7 @@ Index: git/ld/configure
18815 DSYMUTIL \ 18725 DSYMUTIL \
18816 NMEDIT \ 18726 NMEDIT \
18817 LIPO \ 18727 LIPO \
18818@@ -17945,7 +18798,6 @@ 18728@@ -17962,7 +18815,6 @@
18819 hardcode_libdir_flag_spec \ 18729 hardcode_libdir_flag_spec \
18820 hardcode_libdir_flag_spec_ld \ 18730 hardcode_libdir_flag_spec_ld \
18821 hardcode_libdir_separator \ 18731 hardcode_libdir_separator \
@@ -18823,7 +18733,7 @@ Index: git/ld/configure
18823 exclude_expsyms \ 18733 exclude_expsyms \
18824 include_expsyms \ 18734 include_expsyms \
18825 file_list_spec \ 18735 file_list_spec \
18826@@ -17967,8 +18819,8 @@ 18736@@ -17984,8 +18836,8 @@
18827 reload_flag_CXX \ 18737 reload_flag_CXX \
18828 compiler_CXX \ 18738 compiler_CXX \
18829 lt_prog_compiler_no_builtin_flag_CXX \ 18739 lt_prog_compiler_no_builtin_flag_CXX \
@@ -18833,7 +18743,7 @@ Index: git/ld/configure
18833 lt_prog_compiler_static_CXX \ 18743 lt_prog_compiler_static_CXX \
18834 lt_cv_prog_compiler_c_o_CXX \ 18744 lt_cv_prog_compiler_c_o_CXX \
18835 export_dynamic_flag_spec_CXX \ 18745 export_dynamic_flag_spec_CXX \
18836@@ -17980,7 +18832,6 @@ 18746@@ -17997,7 +18849,6 @@
18837 hardcode_libdir_flag_spec_CXX \ 18747 hardcode_libdir_flag_spec_CXX \
18838 hardcode_libdir_flag_spec_ld_CXX \ 18748 hardcode_libdir_flag_spec_ld_CXX \
18839 hardcode_libdir_separator_CXX \ 18749 hardcode_libdir_separator_CXX \
@@ -18841,7 +18751,7 @@ Index: git/ld/configure
18841 exclude_expsyms_CXX \ 18751 exclude_expsyms_CXX \
18842 include_expsyms_CXX \ 18752 include_expsyms_CXX \
18843 file_list_spec_CXX \ 18753 file_list_spec_CXX \
18844@@ -18014,6 +18865,7 @@ 18754@@ -18031,6 +18882,7 @@
18845 module_expsym_cmds \ 18755 module_expsym_cmds \
18846 export_symbols_cmds \ 18756 export_symbols_cmds \
18847 prelink_cmds \ 18757 prelink_cmds \
@@ -18849,7 +18759,7 @@ Index: git/ld/configure
18849 postinstall_cmds \ 18759 postinstall_cmds \
18850 postuninstall_cmds \ 18760 postuninstall_cmds \
18851 finish_cmds \ 18761 finish_cmds \
18852@@ -18028,7 +18880,8 @@ 18762@@ -18045,7 +18897,8 @@
18853 module_cmds_CXX \ 18763 module_cmds_CXX \
18854 module_expsym_cmds_CXX \ 18764 module_expsym_cmds_CXX \
18855 export_symbols_cmds_CXX \ 18765 export_symbols_cmds_CXX \
@@ -18859,7 +18769,7 @@ Index: git/ld/configure
18859 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18769 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18860 *[\\\\\\\`\\"\\\$]*) 18770 *[\\\\\\\`\\"\\\$]*)
18861 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 18771 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18862@@ -18821,7 +19674,8 @@ 18772@@ -18838,7 +19691,8 @@
18863 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 18773 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18864 # 18774 #
18865 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 18775 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -18869,7 +18779,7 @@ Index: git/ld/configure
18869 # Written by Gordon Matzigkeit, 1996 18779 # Written by Gordon Matzigkeit, 1996
18870 # 18780 #
18871 # This file is part of GNU Libtool. 18781 # This file is part of GNU Libtool.
18872@@ -18924,19 +19778,42 @@ 18782@@ -18941,19 +19795,42 @@
18873 # turn newlines into spaces. 18783 # turn newlines into spaces.
18874 NL2SP=$lt_lt_NL2SP 18784 NL2SP=$lt_lt_NL2SP
18875 18785
@@ -18913,7 +18823,7 @@ Index: git/ld/configure
18913 # A symbol stripping program. 18823 # A symbol stripping program.
18914 STRIP=$lt_STRIP 18824 STRIP=$lt_STRIP
18915 18825
18916@@ -18966,6 +19843,12 @@ 18826@@ -18983,6 +19860,12 @@
18917 # Transform the output of nm in a C name address pair when lib prefix is needed. 18827 # Transform the output of nm in a C name address pair when lib prefix is needed.
18918 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 18828 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18919 18829
@@ -18926,7 +18836,7 @@ Index: git/ld/configure
18926 # The name of the directory that contains temporary libtool files. 18836 # The name of the directory that contains temporary libtool files.
18927 objdir=$objdir 18837 objdir=$objdir
18928 18838
18929@@ -18975,6 +19858,9 @@ 18839@@ -18992,6 +19875,9 @@
18930 # Must we lock files when doing compilation? 18840 # Must we lock files when doing compilation?
18931 need_locks=$lt_need_locks 18841 need_locks=$lt_need_locks
18932 18842
@@ -18936,7 +18846,7 @@ Index: git/ld/configure
18936 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 18846 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18937 DSYMUTIL=$lt_DSYMUTIL 18847 DSYMUTIL=$lt_DSYMUTIL
18938 18848
18939@@ -19089,12 +19975,12 @@ 18849@@ -19106,12 +19992,12 @@
18940 # Compiler flag to turn off builtin functions. 18850 # Compiler flag to turn off builtin functions.
18941 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 18851 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18942 18852
@@ -18952,7 +18862,7 @@ Index: git/ld/configure
18952 # Compiler flag to prevent dynamic linking. 18862 # Compiler flag to prevent dynamic linking.
18953 link_static_flag=$lt_lt_prog_compiler_static 18863 link_static_flag=$lt_lt_prog_compiler_static
18954 18864
18955@@ -19181,9 +20067,6 @@ 18865@@ -19198,9 +20084,6 @@
18956 # Whether libtool must link a program against all its dependency libraries. 18866 # Whether libtool must link a program against all its dependency libraries.
18957 link_all_deplibs=$link_all_deplibs 18867 link_all_deplibs=$link_all_deplibs
18958 18868
@@ -18962,7 +18872,7 @@ Index: git/ld/configure
18962 # Set to "yes" if exported symbols are required. 18872 # Set to "yes" if exported symbols are required.
18963 always_export_symbols=$always_export_symbols 18873 always_export_symbols=$always_export_symbols
18964 18874
18965@@ -19199,6 +20082,9 @@ 18875@@ -19216,6 +20099,9 @@
18966 # Commands necessary for linking programs (against libraries) with templates. 18876 # Commands necessary for linking programs (against libraries) with templates.
18967 prelink_cmds=$lt_prelink_cmds 18877 prelink_cmds=$lt_prelink_cmds
18968 18878
@@ -18972,7 +18882,7 @@ Index: git/ld/configure
18972 # Specify filename containing input files. 18882 # Specify filename containing input files.
18973 file_list_spec=$lt_file_list_spec 18883 file_list_spec=$lt_file_list_spec
18974 18884
18975@@ -19245,210 +20131,169 @@ 18885@@ -19262,210 +20148,169 @@
18976 # if finds mixed CR/LF and LF-only lines. Since sed operates in 18886 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18977 # text mode, it properly converts lines to CR/LF. This bash problem 18887 # text mode, it properly converts lines to CR/LF. This bash problem
18978 # is reportedly fixed, but why not run on old versions too? 18888 # is reportedly fixed, but why not run on old versions too?
@@ -19343,7 +19253,7 @@ Index: git/ld/configure
19343 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 19253 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19344 chmod +x "$ofile" 19254 chmod +x "$ofile"
19345 19255
19346@@ -19476,12 +20321,12 @@ 19256@@ -19493,12 +20338,12 @@
19347 # Compiler flag to turn off builtin functions. 19257 # Compiler flag to turn off builtin functions.
19348 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 19258 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19349 19259
@@ -19359,7 +19269,7 @@ Index: git/ld/configure
19359 # Compiler flag to prevent dynamic linking. 19269 # Compiler flag to prevent dynamic linking.
19360 link_static_flag=$lt_lt_prog_compiler_static_CXX 19270 link_static_flag=$lt_lt_prog_compiler_static_CXX
19361 19271
19362@@ -19568,9 +20413,6 @@ 19272@@ -19585,9 +20430,6 @@
19363 # Whether libtool must link a program against all its dependency libraries. 19273 # Whether libtool must link a program against all its dependency libraries.
19364 link_all_deplibs=$link_all_deplibs_CXX 19274 link_all_deplibs=$link_all_deplibs_CXX
19365 19275
@@ -19369,7 +19279,7 @@ Index: git/ld/configure
19369 # Set to "yes" if exported symbols are required. 19279 # Set to "yes" if exported symbols are required.
19370 always_export_symbols=$always_export_symbols_CXX 19280 always_export_symbols=$always_export_symbols_CXX
19371 19281
19372@@ -19586,6 +20428,9 @@ 19282@@ -19603,6 +20445,9 @@
19373 # Commands necessary for linking programs (against libraries) with templates. 19283 # Commands necessary for linking programs (against libraries) with templates.
19374 prelink_cmds=$lt_prelink_cmds_CXX 19284 prelink_cmds=$lt_prelink_cmds_CXX
19375 19285
@@ -19379,11 +19289,11 @@ Index: git/ld/configure
19379 # Specify filename containing input files. 19289 # Specify filename containing input files.
19380 file_list_spec=$lt_file_list_spec_CXX 19290 file_list_spec=$lt_file_list_spec_CXX
19381 19291
19382Index: git/bfd/configure.in 19292Index: binutils-2.24/bfd/configure.in
19383=================================================================== 19293===================================================================
19384--- git.orig/bfd/configure.in 2012-09-07 01:13:43.000000000 -0700 19294--- binutils-2.24.orig/bfd/configure.in 2013-12-02 01:30:28.000000000 -0800
19385+++ git/bfd/configure.in 2012-09-07 12:21:49.690865715 -0700 19295+++ binutils-2.24/bfd/configure.in 2013-12-15 11:10:23.887118697 -0800
19386@@ -548,7 +548,7 @@ 19296@@ -568,7 +568,7 @@
19387 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` 19297 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
19388 changequote([,])dnl 19298 changequote([,])dnl
19389 if test -n "$x"; then 19299 if test -n "$x"; then
@@ -19392,11 +19302,11 @@ Index: git/bfd/configure.in
19392 fi 19302 fi
19393 19303
19394 # More hacks to build DLLs on Windows. 19304 # More hacks to build DLLs on Windows.
19395Index: git/opcodes/configure.in 19305Index: binutils-2.24/opcodes/configure.in
19396=================================================================== 19306===================================================================
19397--- git.orig/opcodes/configure.in 2012-09-07 01:13:47.000000000 -0700 19307--- binutils-2.24.orig/opcodes/configure.in 2013-11-04 07:33:40.000000000 -0800
19398+++ git/opcodes/configure.in 2012-09-07 12:21:49.690865715 -0700 19308+++ binutils-2.24/opcodes/configure.in 2013-12-15 11:10:23.887118697 -0800
19399@@ -146,7 +146,7 @@ 19309@@ -162,7 +162,7 @@
19400 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` 19310 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
19401 changequote([,])dnl 19311 changequote([,])dnl
19402 if test -n "$x"; then 19312 if test -n "$x"; then
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/libtool-rpath-fix.patch b/meta/recipes-devtools/binutils/binutils/libtool-rpath-fix.patch
index 4fcffa471e..4fcffa471e 100644
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/libtool-rpath-fix.patch
+++ b/meta/recipes-devtools/binutils/binutils/libtool-rpath-fix.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/mips64-default-ld-emulation.patch b/meta/recipes-devtools/binutils/binutils/mips64-default-ld-emulation.patch
index ab01859fa6..51eaf0bd31 100644
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/mips64-default-ld-emulation.patch
+++ b/meta/recipes-devtools/binutils/binutils/mips64-default-ld-emulation.patch
@@ -5,33 +5,38 @@ Upstream-Status: Inappropriate [ OE configuration Specific]
5 5
6Signed-off-by: Khem Raj <raj.khem@gmail.com> 6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 7
8Index: binutils-2.22/bfd/config.bfd 8Index: binutils-2.24/bfd/config.bfd
9=================================================================== 9===================================================================
10--- binutils-2.22.orig/bfd/config.bfd 2011-07-28 15:35:13.000000000 -0700 10--- binutils-2.24.orig/bfd/config.bfd 2013-11-04 07:33:37.000000000 -0800
11+++ binutils-2.22/bfd/config.bfd 2012-04-23 21:07:44.151578222 -0700 11+++ binutils-2.24/bfd/config.bfd 2013-12-15 11:54:57.113765374 -0800
12@@ -970,13 +970,13 @@ 12@@ -1052,14 +1052,14 @@
13 targ_defvec=bfd_elf32_bigmips_vec
14 targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_big_vec ecoff_little_vec"
13 ;; 15 ;;
14 #ifdef BFD64 16- mips64*el-*-linux*)
15 mips64*el-*-linux*)
16- targ_defvec=bfd_elf32_ntradlittlemips_vec 17- targ_defvec=bfd_elf32_ntradlittlemips_vec
17- targ_selvecs="bfd_elf32_ntradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf64_tradlittlemips_vec bfd_elf64_tradbigmips_vec" 18- targ_selvecs="bfd_elf32_ntradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf64_tradlittlemips_vec bfd_elf64_tradbigmips_vec"
18+ targ_defvec=bfd_elf64_tradlittlemips_vec 19- ;;
19+ targ_selvecs="bfd_elf32_ntradbigmips_vec bfd_elf32_ntradlittlemips_vec bfd_elf32_tradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf64_tradbigmips_vec" 20- mips64*-*-linux*)
20 want64=true
21 ;;
22 mips64*-*-linux*)
23- targ_defvec=bfd_elf32_ntradbigmips_vec 21- targ_defvec=bfd_elf32_ntradbigmips_vec
24- targ_selvecs="bfd_elf32_ntradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec" 22- targ_selvecs="bfd_elf32_ntradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec"
23- ;;
24+ mips64*el-*-linux*)
25+ targ_defvec=bfd_elf64_tradlittlemips_vec
26+ targ_selvecs="bfd_elf32_ntradbigmips_vec bfd_elf32_ntradlittlemips_vec bfd_elf32_tradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf64_tradbigmips_vec"
27+ ;;
28+ mips64*-*-linux*)
25+ targ_defvec=bfd_elf64_tradbigmips_vec 29+ targ_defvec=bfd_elf64_tradbigmips_vec
26+ targ_selvecs="bfd_elf32_ntradbigmips_vec bfd_elf32_ntradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf64_tradlittlemips_vec" 30+ targ_selvecs="bfd_elf32_ntradbigmips_vec bfd_elf32_ntradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf64_tradlittlemips_vec"
27 want64=true 31+ ;;
28 ;; 32 mips*el-*-linux*)
29 #endif 33 targ_defvec=bfd_elf32_tradlittlemips_vec
30Index: binutils-2.22/ld/configure.tgt 34 targ_selvecs="bfd_elf32_tradbigmips_vec ecoff_little_vec ecoff_big_vec bfd_elf32_ntradlittlemips_vec bfd_elf64_tradlittlemips_vec bfd_elf32_ntradbigmips_vec bfd_elf64_tradbigmips_vec"
35Index: binutils-2.24/ld/configure.tgt
31=================================================================== 36===================================================================
32--- binutils-2.22.orig/ld/configure.tgt 2011-11-21 01:29:37.000000000 -0800 37--- binutils-2.24.orig/ld/configure.tgt 2013-11-26 03:37:33.000000000 -0800
33+++ binutils-2.22/ld/configure.tgt 2012-04-23 21:05:34.183571931 -0700 38+++ binutils-2.24/ld/configure.tgt 2013-12-15 11:50:52.273766155 -0800
34@@ -395,11 +395,11 @@ 39@@ -471,11 +471,11 @@
35 mips*-*-vxworks*) targ_emul=elf32ebmipvxworks 40 mips*-*-vxworks*) targ_emul=elf32ebmipvxworks
36 targ_extra_emuls="elf32elmipvxworks" ;; 41 targ_extra_emuls="elf32elmipvxworks" ;;
37 mips*-*-windiss) targ_emul=elf32mipswindiss ;; 42 mips*-*-windiss) targ_emul=elf32mipswindiss ;;
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/relocatable_sdk.patch b/meta/recipes-devtools/binutils/binutils/relocatable_sdk.patch
index 7408c31aad..7408c31aad 100644
--- a/meta/recipes-devtools/binutils/binutils-2.23.2/relocatable_sdk.patch
+++ b/meta/recipes-devtools/binutils/binutils/relocatable_sdk.patch
diff --git a/meta/recipes-devtools/binutils/binutils_2.23.2.bb b/meta/recipes-devtools/binutils/binutils_2.24.bb
index 1523e87273..738aaee590 100644
--- a/meta/recipes-devtools/binutils/binutils_2.23.2.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.24.bb
@@ -5,10 +5,14 @@ DEPENDS += "flex bison zlib"
5 5
6EXTRA_OECONF += "--with-sysroot=/ \ 6EXTRA_OECONF += "--with-sysroot=/ \
7 --enable-install-libbfd \ 7 --enable-install-libbfd \
8 --enable-install-libiberty \
8 --enable-shared \ 9 --enable-shared \
9 " 10 "
10 11
11EXTRA_OECONF_class-native = "--enable-targets=all --enable-64-bit-bfd --enable-install-libbfd" 12EXTRA_OECONF_class-native = "--enable-targets=all \
13 --enable-64-bit-bfd \
14 --enable-install-libiberty \
15 --enable-install-libbfd"
12 16
13do_install_class-native () { 17do_install_class-native () {
14 autotools_do_install 18 autotools_do_install