From 015eca84f1b0f25868b47d2480bb60cea698f70e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 1 Feb 2014 01:00:15 -0800 Subject: binutils: Upgrade to 2.24 This builds and runs images for all qemu machines Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-devtools/binutils/binutils-2.23.2.inc | 52 - ...pc.c-PPC_VLE_SPLIT16A-Delete-unused-macro.patch | 122 - ...pc.c-md_assemble-Do-not-generate-APUinfo-.patch | 46 - ...ls.texi-elfedit-Fix-use-of-itemx-in-table.patch | 68 - ...lf32.em-gld-EMULATION_NAME-_before_alloca.patch | 31 - ...-Replace-with-when-it-is-part-of-the-text.patch | 196 - ...pc.c-md_apply_fix-Sign-extend-fieldval-un.patch | 85 - ...lf32.em-gld-EMULATION_NAME-_before_alloca.patch | 43 - .../binutils-2.23.2/backport/0003-gold.patch | 203 - .../binutils-2.23.2/backport/aarch64-crn.patch | 117 - .../binutils-2.23.2/backport/aarch64-movi.patch | 144 - .../binutils-fix-ineffectual-zero-of-cache.patch | 60 - .../binutils-fix-skip-whitespace-pr14887.patch | 50 - .../binutils-replace-strncat-with-strcat.patch | 26 - .../binutils/binutils-2.23.2/binutils-armv5e.patch | 25 - .../binutils-fix-over-array-bounds-issue.patch | 20 - .../binutils/binutils-2.23.2/binutils-poison.patch | 259 - .../binutils-uclibc-100-uclibc-conf.patch | 40 - ...binutils-uclibc-300-001_ld_makefile_patch.patch | 55 - ...binutils-uclibc-300-006_better_file_error.patch | 45 - ...ils-uclibc-300-012_check_ldrunpath_length.patch | 49 - .../binutils-uclibc-gas-needs-libm.patch | 38 - .../binutils-x86_64_i386_biarch.patch | 29 - .../binutils-2.23.2/binutils-xlp-support.patch | 398 - .../binutils-2.23.2/libiberty_path_fix.patch | 22 - .../binutils-2.23.2/libtool-2.4-update.patch | 19407 ------------------- .../binutils-2.23.2/libtool-rpath-fix.patch | 39 - .../mips64-default-ld-emulation.patch | 49 - .../binutils/binutils-2.23.2/relocatable_sdk.patch | 49 - meta/recipes-devtools/binutils/binutils-2.24.inc | 32 + .../binutils/binutils-cross-canadian_2.23.2.bb | 3 - .../binutils/binutils-cross-canadian_2.24.bb | 3 + .../binutils/binutils-cross_2.23.2.bb | 3 - .../binutils/binutils-cross_2.24.bb | 3 + .../binutils/binutils-crosssdk_2.23.2.bb | 11 - .../binutils/binutils-crosssdk_2.24.bb | 11 + .../binutils/binutils/binutils-armv5e.patch | 25 + .../binutils/binutils/binutils-poison.patch | 259 + .../binutils/binutils-uclibc-100-uclibc-conf.patch | 40 + ...binutils-uclibc-300-001_ld_makefile_patch.patch | 55 + ...binutils-uclibc-300-006_better_file_error.patch | 45 + ...ils-uclibc-300-012_check_ldrunpath_length.patch | 49 + .../binutils/binutils-uclibc-gas-needs-libm.patch | 38 + .../binutils/binutils/binutils-xlp-support.patch | 402 + .../binutils/binutils/fix-pr15815.patch | 36 + .../binutils/binutils/libiberty_path_fix.patch | 22 + .../binutils/binutils/libtool-2.4-update.patch | 19317 ++++++++++++++++++ .../binutils/binutils/libtool-rpath-fix.patch | 39 + .../binutils/mips64-default-ld-emulation.patch | 54 + .../binutils/binutils/relocatable_sdk.patch | 49 + meta/recipes-devtools/binutils/binutils_2.23.2.bb | 35 - meta/recipes-devtools/binutils/binutils_2.24.bb | 39 + 52 files changed, 20518 insertions(+), 21819 deletions(-) delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2.inc delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-config-tc-ppc.c-PPC_VLE_SPLIT16A-Delete-unused-macro.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-config-tc-ppc.c-md_assemble-Do-not-generate-APUinfo-.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-doc-binutils.texi-elfedit-Fix-use-of-itemx-in-table.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-emultempl-elf32.em-gld-EMULATION_NAME-_before_alloca.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/backport/0001-ld.texinfo-Replace-with-when-it-is-part-of-the-text.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/backport/0002-config-tc-ppc.c-md_apply_fix-Sign-extend-fieldval-un.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/backport/0002-emultempl-elf32.em-gld-EMULATION_NAME-_before_alloca.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/backport/0003-gold.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/backport/aarch64-crn.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/backport/aarch64-movi.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/backport/binutils-fix-ineffectual-zero-of-cache.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/backport/binutils-fix-skip-whitespace-pr14887.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/backport/binutils-replace-strncat-with-strcat.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/binutils-armv5e.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/binutils-fix-over-array-bounds-issue.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/binutils-poison.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-100-uclibc-conf.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-300-001_ld_makefile_patch.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-300-006_better_file_error.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-300-012_check_ldrunpath_length.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/binutils-uclibc-gas-needs-libm.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/binutils-x86_64_i386_biarch.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/binutils-xlp-support.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/libiberty_path_fix.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/libtool-2.4-update.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/libtool-rpath-fix.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/mips64-default-ld-emulation.patch delete mode 100644 meta/recipes-devtools/binutils/binutils-2.23.2/relocatable_sdk.patch create mode 100644 meta/recipes-devtools/binutils/binutils-2.24.inc delete mode 100644 meta/recipes-devtools/binutils/binutils-cross-canadian_2.23.2.bb create mode 100644 meta/recipes-devtools/binutils/binutils-cross-canadian_2.24.bb delete mode 100644 meta/recipes-devtools/binutils/binutils-cross_2.23.2.bb create mode 100644 meta/recipes-devtools/binutils/binutils-cross_2.24.bb delete mode 100644 meta/recipes-devtools/binutils/binutils-crosssdk_2.23.2.bb create mode 100644 meta/recipes-devtools/binutils/binutils-crosssdk_2.24.bb create mode 100644 meta/recipes-devtools/binutils/binutils/binutils-armv5e.patch create mode 100644 meta/recipes-devtools/binutils/binutils/binutils-poison.patch create mode 100644 meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch create mode 100644 meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch create mode 100644 meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch create mode 100644 meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch create mode 100644 meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch create mode 100644 meta/recipes-devtools/binutils/binutils/binutils-xlp-support.patch create mode 100644 meta/recipes-devtools/binutils/binutils/fix-pr15815.patch create mode 100644 meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch create mode 100644 meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch create mode 100644 meta/recipes-devtools/binutils/binutils/libtool-rpath-fix.patch create mode 100644 meta/recipes-devtools/binutils/binutils/mips64-default-ld-emulation.patch create mode 100644 meta/recipes-devtools/binutils/binutils/relocatable_sdk.patch delete mode 100644 meta/recipes-devtools/binutils/binutils_2.23.2.bb create mode 100644 meta/recipes-devtools/binutils/binutils_2.24.bb (limited to 'meta/recipes-devtools/binutils') diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2.inc b/meta/recipes-devtools/binutils/binutils-2.23.2.inc deleted file mode 100644 index 99fe2e558f..0000000000 --- a/meta/recipes-devtools/binutils/binutils-2.23.2.inc +++ /dev/null @@ -1,52 +0,0 @@ -PR = "r4" - -LIC_FILES_CHKSUM="\ - file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\ - file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\ - file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674\ - file://COPYING3;md5=d32239bcb673463ab874e80d47fae504\ - file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6\ - file://gas/COPYING;md5=d32239bcb673463ab874e80d47fae504\ - file://include/COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\ - file://include/COPYING3;md5=d32239bcb673463ab874e80d47fae504\ - file://libiberty/COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7\ - file://bfd/COPYING;md5=d32239bcb673463ab874e80d47fae504\ - " - -SRC_URI = "\ - ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \ - file://binutils-uclibc-100-uclibc-conf.patch \ - file://binutils-uclibc-300-001_ld_makefile_patch.patch \ - file://binutils-uclibc-300-006_better_file_error.patch \ - file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ - file://binutils-uclibc-gas-needs-libm.patch \ - file://binutils-x86_64_i386_biarch.patch \ - file://libtool-2.4-update.patch \ - file://libiberty_path_fix.patch \ - file://binutils-poison.patch \ - file://libtool-rpath-fix.patch \ - file://binutils-armv5e.patch \ - file://mips64-default-ld-emulation.patch \ - ${BACKPORT} \ - file://binutils-fix-over-array-bounds-issue.patch \ - file://binutils-xlp-support.patch \ - " - -BACKPORT = "\ - file://backport/0001-doc-binutils.texi-elfedit-Fix-use-of-itemx-in-table.patch \ - file://backport/0001-ld.texinfo-Replace-with-when-it-is-part-of-the-text.patch \ - file://backport/binutils-fix-ineffectual-zero-of-cache.patch \ - file://backport/binutils-replace-strncat-with-strcat.patch \ - file://backport/0001-config-tc-ppc.c-md_assemble-Do-not-generate-APUinfo-.patch \ - file://backport/binutils-fix-skip-whitespace-pr14887.patch \ - file://backport/aarch64-crn.patch \ - file://backport/aarch64-movi.patch \ - file://backport/0001-config-tc-ppc.c-PPC_VLE_SPLIT16A-Delete-unused-macro.patch \ - file://backport/0002-config-tc-ppc.c-md_apply_fix-Sign-extend-fieldval-un.patch \ - file://backport/0001-emultempl-elf32.em-gld-EMULATION_NAME-_before_alloca.patch \ - file://backport/0002-emultempl-elf32.em-gld-EMULATION_NAME-_before_alloca.patch \ - file://backport/0003-gold.patch \ -" -SRC_URI[md5sum] = "4f8fa651e35ef262edc01d60fb45702e" -SRC_URI[sha256sum] = "fe914e56fed7a9ec2eb45274b1f2e14b0d8b4f41906a5194eac6883cfe5c1097" - 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 @@ -config/tc-ppc.c (PPC_VLE_SPLIT16A): Delete unused macro. - (PPC_VLE_SPLIT16D, PPC_VLE_LO16A, PPC_VLE_LO16D): - Likewise. (PPC_VLE_HI16A, PPC_VLE_HI16D): - Likewise. (PPC_VLE_HA16A, PPC_VLE_HA16D): - Likewise. (md_apply_fix): - Set fx_no_overflow for assorted relocations. - Shift and sign-extend fieldval for use by some VLE reloc - operand->insert functions. - -Upstream-Status: Backport - -Signed-off-by: Zhenhua Luo - -commit ee75ce72fd7a4b2dc47db46acc36905da8904be4 -Author: Alan Modra -Date: Mon May 6 23:36:48 2013 +0000 - ---- binutils-2.23.2/gas/config/tc-ppc.c.orig 2013-06-02 21:44:34.000000000 -0500 -+++ binutils-2.23.2/gas/config/tc-ppc.c 2013-06-02 21:51:37.000000000 -0500 -@@ -64,40 +64,14 @@ - /* #lo(value) denotes the least significant 16 bits of the indicated. */ - #define PPC_LO(v) ((v) & 0xffff) - --/* Split the indicated value with the msbs in bits 11-15 -- and the lsbs in bits 21-31. */ --#define PPC_VLE_SPLIT16A(v) ((v & 0xf800) << 11) | (v & 0x7ff) -- --/* Split the indicated value with the msbs in bits 6-10 -- and the lsbs in bits 21-31. */ --#define PPC_VLE_SPLIT16D(v) ((v & 0xf800) << 5) | (v & 0x7ff) -- --/* #lo(value) denotes the lsb 16 bits in split16a format. */ --#define PPC_VLE_LO16A(v) PPC_VLE_SPLIT16A(PPC_LO(v)) -- --/* #lo(value) denotes the lsb 16 bits in split16d format. */ --#define PPC_VLE_LO16D(v) PPC_VLE_SPLIT16D(PPC_LO(v)) -- - /* #hi(value) denotes bits 16 through 31 of the indicated value. */ - #define PPC_HI(v) (((v) >> 16) & 0xffff) - --/* #lo(value) denotes the msb 16 bits in split16a format. */ --#define PPC_VLE_HI16A(v) PPC_VLE_SPLIT16A(PPC_HI(v)) -- --/* #lo(value) denotes the msb 16 bits in split16d format. */ --#define PPC_VLE_HI16D(v) PPC_VLE_SPLIT16D(PPC_HI(v)) -- - /* #ha(value) denotes the high adjusted value: bits 16 through 31 of - the indicated value, compensating for #lo() being treated as a - signed number. */ - #define PPC_HA(v) PPC_HI ((v) + 0x8000) - --/* #ha(value) denotes the high adjusted value in split16a format. */ --#define PPC_VLE_HA16A(v) PPC_VLE_SPLIT16A(PPC_HA(v)) -- --/* #ha(value) denotes the high adjusted value in split16d format. */ --#define PPC_VLE_HA16D(v) PPC_VLE_SPLIT16D(PPC_HA(v)) -- - /* #higher(value) denotes bits 32 through 47 of the indicated value. */ - #define PPC_HIGHER(v) (((v) >> 16 >> 16) & 0xffff) - -@@ -6379,7 +6353,10 @@ - fixP->fx_r_type = BFD_RELOC_LO16_PCREL; - /* fall through */ - case BFD_RELOC_LO16_PCREL: -+ case BFD_RELOC_PPC_VLE_LO16A: -+ case BFD_RELOC_PPC_VLE_LO16D: - fieldval = SEX16 (value); -+ fixP->fx_no_overflow = 1; - break; - - case BFD_RELOC_HI16: -@@ -6387,7 +6364,10 @@ - fixP->fx_r_type = BFD_RELOC_HI16_PCREL; - /* fall through */ - case BFD_RELOC_HI16_PCREL: -+ case BFD_RELOC_PPC_VLE_HI16A: -+ case BFD_RELOC_PPC_VLE_HI16D: - fieldval = SEX16 (PPC_HI (value)); -+ fixP->fx_no_overflow = 1; - break; - - case BFD_RELOC_HI16_S: -@@ -6395,7 +6375,10 @@ - fixP->fx_r_type = BFD_RELOC_HI16_S_PCREL; - /* fall through */ - case BFD_RELOC_HI16_S_PCREL: -+ case BFD_RELOC_PPC_VLE_HA16A: -+ case BFD_RELOC_PPC_VLE_HA16D: - fieldval = SEX16 (PPC_HA (value)); -+ fixP->fx_no_overflow = 1; - break; - - #ifdef OBJ_ELF -@@ -6403,24 +6386,28 @@ - if (fixP->fx_pcrel) - goto bad_pcrel; - fieldval = SEX16 (PPC_HIGHER (value)); -+ fixP->fx_no_overflow = 1; - break; - - case BFD_RELOC_PPC64_HIGHER_S: - if (fixP->fx_pcrel) - goto bad_pcrel; - fieldval = SEX16 (PPC_HIGHERA (value)); -+ fixP->fx_no_overflow = 1; - break; - - case BFD_RELOC_PPC64_HIGHEST: - if (fixP->fx_pcrel) - goto bad_pcrel; - fieldval = SEX16 (PPC_HIGHEST (value)); -+ fixP->fx_no_overflow = 1; - break; - - case BFD_RELOC_PPC64_HIGHEST_S: - if (fixP->fx_pcrel) - goto bad_pcrel; - fieldval = SEX16 (PPC_HIGHESTA (value)); -+ fixP->fx_no_overflow = 1; - break; - - /* 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 @@ -The powerpc assembler can generate .PPC.EMB.apuinfo sections in some -circumstances. These originate, I think, from the old e500 ABI; in -any case, they are only defined for 32-bit ABIs, and there is a -significant amount of code in bfd/elf32-ppc.c to handle them -appropriately, none of which is in elf64-ppc.c. However, the -assembler can generate them when building 64-bit code for processors -such as e5500 (which uses PPC_OPCODE_E500MC). In such circumstances, -they get generated as PROGBITS rather than NOTE sections, which -reportedly can cause problems in a Linux kernel build. - -Since these sections are only defined in 32-bit ABIs, I think it's -most appropriate to avoid generating them for 64-bit output, which -this patch does. - -Upstream-Status: Backport - --Khem 2013/03/25 - -From d77411f56a85225e3f7b674e7172c712f6cd61cb Mon Sep 17 00:00:00 2001 -From: Joseph Myers -Date: Fri, 25 Jan 2013 02:02:20 +0000 -Subject: [PATCH] * config/tc-ppc.c (md_assemble): Do not generate - APUinfo sections for 64-bit output. - ---- - gas/ChangeLog | 5 +++++ - gas/config/tc-ppc.c | 3 ++- - 2 files changed, 7 insertions(+), 1 deletion(-) - -diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c -index fd15bea..0929e52 100644 ---- a/gas/config/tc-ppc.c -+++ b/gas/config/tc-ppc.c -@@ -3249,7 +3249,8 @@ md_assemble (char *str) - - #ifdef OBJ_ELF - /* Do we need/want an APUinfo section? */ -- if ((ppc_cpu & (PPC_OPCODE_E500 | PPC_OPCODE_E500MC | PPC_OPCODE_VLE)) != 0) -+ if ((ppc_cpu & (PPC_OPCODE_E500 | PPC_OPCODE_E500MC | PPC_OPCODE_VLE)) != 0 -+ && !ppc_obj64) - { - /* These are all version "1". */ - if (opcode->flags & PPC_OPCODE_SPE) --- -1.7.9.5 - 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 @@ -From e02bf9359f6ef7fe4d341aa5ac4f397f541b9ac3 Mon Sep 17 00:00:00 2001 -From: Andreas Schwab -Date: Fri, 4 Jan 2013 22:27:57 +0000 -Subject: [PATCH] * doc/binutils.texi (elfedit): Fix use of @itemx in @table. - ---- - binutils/ChangeLog | 4 ++++ - binutils/doc/binutils.texi | 14 +++++++------- - 2 files changed, 11 insertions(+), 7 deletions(-) - -Upstream-Status: Backport -Index: binutils-2.23.1/binutils/doc/binutils.texi -=================================================================== ---- binutils-2.23.1.orig/binutils/doc/binutils.texi 2012-05-11 11:18:34.000000000 -0700 -+++ binutils-2.23.1/binutils/doc/binutils.texi 2013-02-26 12:41:51.785114224 -0800 -@@ -12,7 +12,7 @@ - @c man begin COPYRIGHT - Copyright @copyright{} 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, --2010, 2011, 2012 -+2010, 2011, 2012, 2013 - Free Software Foundation, Inc. - - Permission is granted to copy, distribute and/or modify this document -@@ -4375,7 +4375,7 @@ - - @table @env - --@itemx --input-mach=@var{machine} -+@item --input-mach=@var{machine} - Set the matching input ELF machine type to @var{machine}. If - @option{--input-mach} isn't specified, it will match any ELF - machine types. -@@ -4383,21 +4383,21 @@ - The supported ELF machine types are, @var{L1OM}, @var{K1OM} and - @var{x86-64}. - --@itemx --output-mach=@var{machine} -+@item --output-mach=@var{machine} - Change the ELF machine type in the ELF header to @var{machine}. The - supported ELF machine types are the same as @option{--input-mach}. - --@itemx --input-type=@var{type} -+@item --input-type=@var{type} - Set the matching input ELF file type to @var{type}. If - @option{--input-type} isn't specified, it will match any ELF file types. - - The supported ELF file types are, @var{rel}, @var{exec} and @var{dyn}. - --@itemx --output-type=@var{type} -+@item --output-type=@var{type} - Change the ELF file type in the ELF header to @var{type}. The - supported ELF types are the same as @option{--input-type}. - --@itemx --input-osabi=@var{osabi} -+@item --input-osabi=@var{osabi} - Set the matching input ELF file OSABI to @var{osabi}. If - @option{--input-osabi} isn't specified, it will match any ELF OSABIs. - -@@ -4407,7 +4407,7 @@ - @var{FreeBSD}, @var{TRU64}, @var{Modesto}, @var{OpenBSD}, @var{OpenVMS}, - @var{NSK}, @var{AROS} and @var{FenixOS}. - --@itemx --output-osabi=@var{osabi} -+@item --output-osabi=@var{osabi} - Change the ELF OSABI in the ELF header to @var{osabi}. The - supported ELF OSABI are the same as @option{--input-osabi}. - 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 @@ -From 4c147afe1796611c431aa86ea12342c1d80c2c4b Mon Sep 17 00:00:00 2001 -From: "Maciej W. Rozycki" -Date: Wed, 1 May 2013 17:18:43 +0000 -Subject: [PATCH] * emultempl/elf32.em - (gld${EMULATION_NAME}_before_allocation): Use - is_elf_hash_table rather than a handcoded condition. - ---- - ld/ChangeLog | 5 +++++ - ld/emultempl/elf32.em | 2 +- - 2 files changed, 6 insertions(+), 1 deletion(-) - -2013-05-01 Maciej W. Rozycki - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Use is_elf_hash_table rather than a handcoded condition. - -Upstream-Status: Backport -Index: binutils-2.23.2/ld/emultempl/elf32.em -=================================================================== ---- binutils-2.23.2.orig/ld/emultempl/elf32.em 2013-06-26 23:29:32.000000000 -0700 -+++ binutils-2.23.2/ld/emultempl/elf32.em 2013-06-26 23:35:45.798428256 -0700 -@@ -1494,7 +1494,7 @@ - asection *sinterp; - bfd *abfd; - -- if (link_info.hash->type == bfd_link_elf_hash_table) -+ if (is_elf_hash_table (link_info.hash)) - _bfd_elf_tls_setup (link_info.output_bfd, &link_info); - - /* 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 @@ -From 935f85422863b42b6fbca30885885e3fa28eea36 Mon Sep 17 00:00:00 2001 -From: Nick Clifton -Date: Mon, 7 Jan 2013 12:11:11 +0000 -Subject: [PATCH] * ld.texinfo: Replace @ with @@ when it is part of - the text. Correct ordering of M68HC11 entry. - - * doc/binutils.texi: Fix ordering of top level nodes. - Replace erroneous uses of @itemx with @item. - - * bfd.texinfo: Replace @ with @@ when it is part of the text. ---- - bfd/doc/ChangeLog | 4 ++++ - bfd/doc/bfd.texinfo | 12 +++++++----- - binutils/ChangeLog | 5 +++++ - binutils/doc/binutils.texi | 8 ++++---- - ld/ChangeLog | 5 +++++ - ld/ld.texinfo | 26 ++++++++++++++------------ - 6 files changed, 39 insertions(+), 21 deletions(-) - - -Upstream-Status: Backport -Index: binutils-2.23.1/bfd/doc/bfd.texinfo -=================================================================== ---- binutils-2.23.1.orig/bfd/doc/bfd.texinfo 2010-10-28 04:40:25.000000000 -0700 -+++ binutils-2.23.1/bfd/doc/bfd.texinfo 2013-02-26 12:42:26.909115020 -0800 -@@ -1,7 +1,7 @@ - \input texinfo.tex - @setfilename bfd.info - @c Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1997, 2000, --@c 2001, 2002, 2003, 2006, 2007, 2008, 2009 -+@c 2001, 2002, 2003, 2006, 2007, 2008, 2009, 2013 - @c Free Software Foundation, Inc. - @c - @synindex fn cp -@@ -16,7 +16,8 @@ - @copying - This file documents the BFD library. - --Copyright @copyright{} 1991, 2000, 2001, 2003, 2006, 2007, 2008 Free Software Foundation, Inc. -+Copyright @copyright{} 1991, 2000, 2001, 2003, 2006, 2007, 2008, 2013 -+Free Software Foundation, Inc. - - Permission is granted to copy, distribute and/or modify this document - under the terms of the GNU Free Documentation License, Version 1.3 or -@@ -64,7 +65,8 @@ - @end tex - - @vskip 0pt plus 1filll --Copyright @copyright{} 1991, 2001, 2003, 2006, 2008 Free Software Foundation, Inc. -+Copyright @copyright{} 1991, 2001, 2003, 2006, 2008, 2013 -+Free Software Foundation, Inc. - - Permission is granted to copy, distribute and/or modify this document - under the terms of the GNU Free Documentation License, Version 1.3 -@@ -322,7 +324,7 @@ - @printindex cp - - @tex --% I think something like @colophon should be in texinfo. In the -+% I think something like @@colophon should be in texinfo. In the - % meantime: - \long\def\colophon{\hbox to0pt{}\vfill - \centerline{The body of this manual is set in} -@@ -333,7 +335,7 @@ - \centerline{{\sl\fontname\tensl\/}} - \centerline{are used for emphasis.}\vfill} - \page\colophon --% Blame: doc@cygnus.com, 28mar91. -+% Blame: doc@@cygnus.com, 28mar91. - @end tex - - @bye -Index: binutils-2.23.1/binutils/doc/binutils.texi -=================================================================== ---- binutils-2.23.1.orig/binutils/doc/binutils.texi 2013-02-26 12:41:51.000000000 -0800 -+++ binutils-2.23.1/binutils/doc/binutils.texi 2013-02-26 12:42:26.913115010 -0800 -@@ -148,18 +148,18 @@ - * objcopy:: Copy and translate object files - * objdump:: Display information from object files - * ranlib:: Generate index to archive contents --* readelf:: Display the contents of ELF format files - * size:: List section sizes and total size - * strings:: List printable strings from files - * strip:: Discard symbols --* elfedit:: Update the ELF header of ELF files - * c++filt:: Filter to demangle encoded C++ symbols - * cxxfilt: c++filt. MS-DOS name for c++filt - * addr2line:: Convert addresses to file and line - * nlmconv:: Converts object code into an NLM --* windres:: Manipulate Windows resources - * windmc:: Generator for Windows message resources -+* windres:: Manipulate Windows resources - * dlltool:: Create files needed to build and use DLLs -+* readelf:: Display the contents of ELF format files -+* elfedit:: Update the ELF header of ELF files - * Common Options:: Command-line options for all utilities - * Selecting the Target System:: How these utilities determine the target - * Reporting Bugs:: Reporting Bugs -@@ -2898,7 +2898,7 @@ - @c man end - @end ignore - --@node c++filt, addr2line, elfedit, Top -+@node c++filt, addr2line, strip, Top - @chapter c++filt - - @kindex c++filt -Index: binutils-2.23.1/ld/ld.texinfo -=================================================================== ---- binutils-2.23.1.orig/ld/ld.texinfo 2013-02-19 14:26:56.571782665 -0800 -+++ binutils-2.23.1/ld/ld.texinfo 2013-02-26 12:45:20.677119476 -0800 -@@ -1,7 +1,8 @@ - \input texinfo - @setfilename ld.info - @c Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, --@c 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 -+@c 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, -+@c 2012, 2013 - @c Free Software Foundation, Inc. - @syncodeindex ky cp - @c man begin INCLUDE -@@ -55,7 +56,8 @@ - version @value{VERSION}. - - Copyright @copyright{} 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, --2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. -+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012, 2013 -+Free Software Foundation, Inc. - - Permission is granted to copy, distribute and/or modify this document - under the terms of the GNU Free Documentation License, Version 1.3 -@@ -93,8 +95,8 @@ - @vskip 0pt plus 1filll - @c man begin COPYRIGHT - Copyright @copyright{} 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, --1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free --Software Foundation, Inc. -+1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, -+2012, 2013 Free Software Foundation, Inc. - - Permission is granted to copy, distribute and/or modify this document - under the terms of the GNU Free Documentation License, Version 1.3 -@@ -142,12 +144,12 @@ - @ifset ARM - * ARM:: ld and the ARM family - @end ifset --@ifset HPPA --* HPPA ELF32:: ld and HPPA 32-bit ELF --@end ifset - @ifset M68HC11 - * M68HC11/68HC12:: ld and the Motorola 68HC11 and 68HC12 families - @end ifset -+@ifset HPPA -+* HPPA ELF32:: ld and HPPA 32-bit ELF -+@end ifset - @ifset M68K - * M68K:: ld and Motorola 68K family - @end ifset -@@ -6003,6 +6005,9 @@ - @ifset I960 - * i960:: @command{ld} and the Intel 960 family - @end ifset -+@ifset M68HC11 -+* M68HC11/68HC12:: @code{ld} and the Motorola 68HC11 and 68HC12 families -+@end ifset - @ifset ARM - * ARM:: @command{ld} and the ARM family - @end ifset -@@ -6018,9 +6023,6 @@ - @ifset MSP430 - * MSP430:: @command{ld} and MSP430 - @end ifset --@ifset M68HC11 --* M68HC11/68HC12:: @code{ld} and the Motorola 68HC11 and 68HC12 families --@end ifset - @ifset POWERPC - * PowerPC ELF32:: @command{ld} and PowerPC 32-bit ELF Support - @end ifset -@@ -7868,7 +7870,7 @@ - @printindex cp - - @tex --% I think something like @colophon should be in texinfo. In the -+% I think something like @@colophon should be in texinfo. In the - % meantime: - \long\def\colophon{\hbox to0pt{}\vfill - \centerline{The body of this manual is set in} -@@ -7879,7 +7881,7 @@ - \centerline{{\sl\fontname\tensl\/}} - \centerline{are used for emphasis.}\vfill} - \page\colophon --% Blame: doc@cygnus.com, 28mar91. -+% Blame: doc@@cygnus.com, 28mar91. - @end tex - - @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 @@ -config/tc-ppc.c (md_apply_fix): Sign extend fieldval under control of operand flag bits. - -Upstream-Status: Backport - -Signed-off-by: Zhenhua Luo - -commit cf5434698882f41ddfcc469488e8a68c674aae03 -Author: Alan Modra -Date: Thu May 9 04:01:53 2013 +0000 - ---- binutils-2.23.2/gas/config/tc-ppc.c.orig 2013-06-02 21:53:24.000000000 -0500 -+++ binutils-2.23.2/gas/config/tc-ppc.c 2013-06-02 22:03:00.000000000 -0500 -@@ -6355,7 +6355,10 @@ - case BFD_RELOC_LO16_PCREL: - case BFD_RELOC_PPC_VLE_LO16A: - case BFD_RELOC_PPC_VLE_LO16D: -- fieldval = SEX16 (value); -+ fieldval = value & 0xffff; -+ sign_extend_16: -+ if ((operand->flags & PPC_OPERAND_SIGNED) != 0) -+ fieldval = (fieldval ^ 0x8000) - 0x8000; - fixP->fx_no_overflow = 1; - break; - -@@ -6366,9 +6369,8 @@ - case BFD_RELOC_HI16_PCREL: - case BFD_RELOC_PPC_VLE_HI16A: - case BFD_RELOC_PPC_VLE_HI16D: -- fieldval = SEX16 (PPC_HI (value)); -- fixP->fx_no_overflow = 1; -- break; -+ fieldval = PPC_HI (value); -+ goto sign_extend_16; - - case BFD_RELOC_HI16_S: - if (fixP->fx_pcrel) -@@ -6377,38 +6379,33 @@ - case BFD_RELOC_HI16_S_PCREL: - case BFD_RELOC_PPC_VLE_HA16A: - case BFD_RELOC_PPC_VLE_HA16D: -- fieldval = SEX16 (PPC_HA (value)); -- fixP->fx_no_overflow = 1; -- break; -+ fieldval = PPC_HA (value); -+ goto sign_extend_16; - - #ifdef OBJ_ELF - case BFD_RELOC_PPC64_HIGHER: - if (fixP->fx_pcrel) - goto bad_pcrel; -- fieldval = SEX16 (PPC_HIGHER (value)); -- fixP->fx_no_overflow = 1; -- break; -+ fieldval = PPC_HIGHER (value); -+ goto sign_extend_16; - - case BFD_RELOC_PPC64_HIGHER_S: - if (fixP->fx_pcrel) - goto bad_pcrel; -- fieldval = SEX16 (PPC_HIGHERA (value)); -- fixP->fx_no_overflow = 1; -- break; -+ fieldval = PPC_HIGHERA (value); -+ goto sign_extend_16; - - case BFD_RELOC_PPC64_HIGHEST: - if (fixP->fx_pcrel) - goto bad_pcrel; -- fieldval = SEX16 (PPC_HIGHEST (value)); -- fixP->fx_no_overflow = 1; -- break; -+ fieldval = PPC_HIGHEST (value); -+ goto sign_extend_16; - - case BFD_RELOC_PPC64_HIGHEST_S: - if (fixP->fx_pcrel) - goto bad_pcrel; -- fieldval = SEX16 (PPC_HIGHESTA (value)); -- fixP->fx_no_overflow = 1; -- break; -+ fieldval = PPC_HIGHESTA (value); -+ goto sign_extend_16; - - /* The following relocs can't be calculated by the assembler. - 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 @@ -From b0d2b7b6eae7b7f4fbfd1695d4d2f1b45198d597 Mon Sep 17 00:00:00 2001 -From: "Maciej W. Rozycki" -Date: Fri, 3 May 2013 15:01:19 +0000 -Subject: [PATCH] * emultempl/elf32.em - (gld${EMULATION_NAME}_before_allocation): Only call - lang_for_each_statement if an ELF hash table is used. - ---- - ld/ChangeLog | 5 +++++ - ld/emultempl/elf32.em | 12 +++++++----- - 2 files changed, 12 insertions(+), 5 deletions(-) - -2013-05-03 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Only call lang_for_each_statement if an ELF hash table is used. - -Upstream-Status: Backport - -Index: binutils-2.23.2/ld/emultempl/elf32.em -=================================================================== ---- binutils-2.23.2.orig/ld/emultempl/elf32.em 2013-06-26 23:35:45.000000000 -0700 -+++ binutils-2.23.2/ld/emultempl/elf32.em 2013-06-26 23:37:04.530429733 -0700 -@@ -1495,12 +1495,14 @@ - bfd *abfd; - - if (is_elf_hash_table (link_info.hash)) -- _bfd_elf_tls_setup (link_info.output_bfd, &link_info); -+ { -+ _bfd_elf_tls_setup (link_info.output_bfd, &link_info); - -- /* If we are going to make any variable assignments, we need to let -- the ELF backend know about them in case the variables are -- referred to by dynamic objects. */ -- lang_for_each_statement (gld${EMULATION_NAME}_find_statement_assignment); -+ /* If we are going to make any variable assignments, we need to -+ let the ELF backend know about them in case the variables are -+ referred to by dynamic objects. */ -+ lang_for_each_statement (gld${EMULATION_NAME}_find_statement_assignment); -+ } - - /* Let the ELF backend work out the sizes of any sections required - 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 @@ -From a347c1bd9be53513f60ed0e5f440c1f5cd78dec4 Mon Sep 17 00:00:00 2001 -From: "Maciej W. Rozycki" -Date: Fri, 3 May 2013 15:19:26 +0000 -Subject: [PATCH] gold/ PR ld/15365 * layout.cc - (Layout::finalize): Make __ehdr_start STV_HIDDEN. - - ld/ - PR ld/15365 - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Restrict __ehdr_start's export class to no less than STV_HIDDEN. - - ld/testsuite/ - PR ld/15365 - * ld-elf/ehdr_start.d: Expect __ehdr_start to be STB_LOCAL. - * ld-mips-elf/ehdr_start-1.nd: New test. - * ld-mips-elf/ehdr_start-2.nd: New test. - * ld-mips-elf/ehdr_start-1.ld: New test linker script. - * ld-mips-elf/ehdr_start-2.ld: New test linker script. - * ld-mips-elf/ehdr_start-new.s: New test source. - * ld-mips-elf/ehdr_start-o32.s: New test source. - * ld-mips-elf/mips-elf.exp: Run the new tests. ---- - gold/ChangeLog | 5 +++++ - gold/layout.cc | 2 +- - ld/ChangeLog | 6 ++++++ - ld/emultempl/elf32.em | 7 +++++++ - ld/testsuite/ChangeLog | 12 ++++++++++++ - ld/testsuite/ld-elf/ehdr_start.d | 2 +- - ld/testsuite/ld-mips-elf/ehdr_start-1.ld | 9 +++++++++ - ld/testsuite/ld-mips-elf/ehdr_start-1.nd | 4 ++++ - ld/testsuite/ld-mips-elf/ehdr_start-2.ld | 10 ++++++++++ - ld/testsuite/ld-mips-elf/ehdr_start-2.nd | 4 ++++ - ld/testsuite/ld-mips-elf/ehdr_start-new.s | 13 +++++++++++++ - ld/testsuite/ld-mips-elf/ehdr_start-o32.s | 14 ++++++++++++++ - ld/testsuite/ld-mips-elf/mips-elf.exp | 25 +++++++++++++++++++++++++ - 13 files changed, 111 insertions(+), 2 deletions(-) - create mode 100644 ld/testsuite/ld-mips-elf/ehdr_start-1.ld - create mode 100644 ld/testsuite/ld-mips-elf/ehdr_start-1.nd - create mode 100644 ld/testsuite/ld-mips-elf/ehdr_start-2.ld - create mode 100644 ld/testsuite/ld-mips-elf/ehdr_start-2.nd - create mode 100644 ld/testsuite/ld-mips-elf/ehdr_start-new.s - create mode 100644 ld/testsuite/ld-mips-elf/ehdr_start-o32.s - -Upstream-Status: Backport -Index: binutils-2.23.2/gold/layout.cc -=================================================================== ---- binutils-2.23.2.orig/gold/layout.cc 2013-06-26 23:29:32.000000000 -0700 -+++ binutils-2.23.2/gold/layout.cc 2013-06-26 23:39:22.170432315 -0700 -@@ -2516,7 +2516,7 @@ - symtab->define_in_output_segment("__ehdr_start", NULL, - Symbol_table::PREDEFINED, load_seg, 0, 0, - elfcpp::STT_NOTYPE, elfcpp::STB_GLOBAL, -- elfcpp::STV_DEFAULT, 0, -+ elfcpp::STV_HIDDEN, 0, - Symbol::SEGMENT_START, true); - - // Set the file offsets of all the non-data sections we've seen so -Index: binutils-2.23.2/ld/emultempl/elf32.em -=================================================================== ---- binutils-2.23.2.orig/ld/emultempl/elf32.em 2013-06-26 23:37:04.000000000 -0700 -+++ binutils-2.23.2/ld/emultempl/elf32.em 2013-06-26 23:39:22.174432315 -0700 -@@ -1498,6 +1498,13 @@ - { - _bfd_elf_tls_setup (link_info.output_bfd, &link_info); - -+ /* Make __ehdr_start hidden if it has been referenced, to -+ prevent the symbol from being dynamic. */ -+ if (!bfd_elf_record_link_assignment (link_info.output_bfd, &link_info, -+ "__ehdr_start", TRUE, TRUE)) -+ einfo ("%P%F: failed to record assignment to %s: %E\n", -+ "__ehdr_start"); -+ - /* If we are going to make any variable assignments, we need to - let the ELF backend know about them in case the variables are - referred to by dynamic objects. */ -Index: binutils-2.23.2/ld/testsuite/ld-elf/ehdr_start.d -=================================================================== ---- binutils-2.23.2.orig/ld/testsuite/ld-elf/ehdr_start.d 2013-06-26 23:29:32.000000000 -0700 -+++ binutils-2.23.2/ld/testsuite/ld-elf/ehdr_start.d 2013-06-26 23:39:22.174432315 -0700 -@@ -4,5 +4,5 @@ - #target: *-*-linux* *-*-gnu* *-*-nacl* - - #... --[0-9a-f]*000 [ADRT] __ehdr_start -+[0-9a-f]*000 [Adrt] __ehdr_start - #pass -Index: binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-1.ld -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-1.ld 2013-06-26 23:39:22.174432315 -0700 -@@ -0,0 +1,9 @@ -+ENTRY (__start) -+SECTIONS -+{ -+ . = 0x12300000 + SIZEOF_HEADERS; -+ .text : { *(.text) } -+ . = 0x23400000; -+ HIDDEN (_gp = ALIGN (16) + 0x7ff0); -+ .got : { *(.got) } -+} -Index: binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-1.nd -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-1.nd 2013-06-26 23:39:22.174432315 -0700 -@@ -0,0 +1,4 @@ -+Symbol table '\.symtab' contains [0-9]+ entries: -+#... -+ *[0-9]+: 0*12300000 +0 (?:NOTYPE|OBJECT) +LOCAL +DEFAULT +[0-9]+ __ehdr_start -+#pass -Index: binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-2.ld -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-2.ld 2013-06-26 23:39:22.174432315 -0700 -@@ -0,0 +1,10 @@ -+ENTRY (__start) -+SECTIONS -+{ -+ . = 0x12300000 + SIZEOF_HEADERS; -+ .text : { *(.text) } -+ . = 0x23400000; -+ __ehdr_start = .; -+ HIDDEN (_gp = ALIGN (16) + 0x7ff0); -+ .got : { *(.got) } -+} -Index: binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-2.nd -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-2.nd 2013-06-26 23:39:22.178432315 -0700 -@@ -0,0 +1,4 @@ -+Symbol table '\.symtab' contains [0-9]+ entries: -+#... -+ *[0-9]+: 0*23400000 +0 (?:NOTYPE|OBJECT) +LOCAL +DEFAULT +[0-9]+ __ehdr_start -+#pass -Index: binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-new.s -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-new.s 2013-06-26 23:39:22.178432315 -0700 -@@ -0,0 +1,13 @@ -+ .abicalls -+ .text -+ .weak __ehdr_start -+ .globl __start -+ .ent __start -+ .frame $29, 0, $31 -+ .mask 0x00000000, 0 -+__start: -+ .cplocal $2 -+ .cpsetup $t9, $zero, __start -+ lw $2, __ehdr_start -+ jr $31 -+ .end __start -Index: binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-o32.s -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ binutils-2.23.2/ld/testsuite/ld-mips-elf/ehdr_start-o32.s 2013-06-26 23:39:22.178432315 -0700 -@@ -0,0 +1,14 @@ -+ .abicalls -+ .text -+ .weak __ehdr_start -+ .globl __start -+ .ent __start -+ .frame $29, 0, $31 -+ .mask 0x00000000, 0 -+__start: -+ .set noreorder -+ .cpload $25 -+ .set reorder -+ lw $2, __ehdr_start -+ jr $31 -+ .end __start -Index: binutils-2.23.2/ld/testsuite/ld-mips-elf/mips-elf.exp -=================================================================== ---- binutils-2.23.2.orig/ld/testsuite/ld-mips-elf/mips-elf.exp 2013-06-26 23:29:32.000000000 -0700 -+++ binutils-2.23.2/ld/testsuite/ld-mips-elf/mips-elf.exp 2013-06-26 23:39:22.178432315 -0700 -@@ -669,3 +669,28 @@ - "readelf -A export-class-call16-${abi}.gd"] \ - "export-class-call16-${abi}.so"]] - } -+ -+# Magic __ehdr_start symbol tests. -+set abis [concat o32 [expr {$has_newabi ? "n32 n64" : ""}]] -+foreach { abi } $abis { -+ set suff [string map {o32 o32 n32 new n64 new} $abi] -+ run_ld_link_tests [list \ -+ [list \ -+ "MIPS magic __ehdr_start symbol test 1 ($abi)" \ -+ "$abi_ldflags($abi) -T ehdr_start-1.ld" "" \ -+ "$abi_asflags($abi)" \ -+ [list ehdr_start-${suff}.s] \ -+ [list "readelf -s ehdr_start-1.nd"] \ -+ "ehdr_start-1-${abi}"]] -+ if [regexp "(?:n32|n64)" "$abi"] { -+ setup_kfail "mips*-*-*" "ld/15428" -+ } -+ run_ld_link_tests [list \ -+ [list \ -+ "MIPS magic __ehdr_start symbol test 2 ($abi)" \ -+ "$abi_ldflags($abi) -T ehdr_start-2.ld" "" \ -+ "$abi_asflags($abi)" \ -+ [list ehdr_start-${suff}.s] \ -+ [list "readelf -s ehdr_start-2.nd"] \ -+ "ehdr_start-2-${abi}"]] -+} 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 @@ -From: Yufeng Zhang -Date: Mon, 13 May 2013 22:50:00 +0000 (+0000) -Subject: gas/ -X-Git-Url: http://sourceware.org/git/?p=binutils.git;a=commitdiff_plain;h=1796bf893c4729d5c523502318d72cae78495d6c - -Upstream-Status: backport - -gas/ - - Backport from mainline: - - 2013-02-27 Yufeng Zhang - * config/tc-aarch64.c (parse_sys_reg): Allow the full range of CRn - for system registers. - -gas/testsuite/ - - Backport from mainline: - - 2013-02-27 Yufeng Zhang - * gas/aarch64/illegal.l: Delete the error message for - msr S3_1_C13_C15_1,x7. - * gas/aarch64/sysreg.s: Add new tests. - * gas/aarch64/sysreg.d: Update. ---- - -diff --git a/gas/ChangeLog b/gas/ChangeLog -index 821acc9..3d09792 100644 ---- a/gas/ChangeLog -+++ b/gas/ChangeLog -@@ -1,3 +1,11 @@ -+2013-05-13 Yufeng Zhang -+ -+ Backport from mainline: -+ -+ 2013-02-27 Yufeng Zhang -+ * config/tc-aarch64.c (parse_sys_reg): Allow the full range of CRn -+ for system registers. -+ - 2013-03-05 Yufeng Zhang - - * config/tc-aarch64.c (aarch64_imm_float_p): Rename 'e' to 'pattern'; -diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c -index 162c865..db28c71 100644 ---- a/gas/config/tc-aarch64.c -+++ b/gas/config/tc-aarch64.c -@@ -3243,10 +3243,14 @@ parse_sys_reg (char **str, struct hash_control *sys_regs, int imple_defined_p) - unsigned int op0, op1, cn, cm, op2; - if (sscanf (buf, "s%u_%u_c%u_c%u_%u", &op0, &op1, &cn, &cm, &op2) != 5) - return PARSE_FAIL; -- /* Register access is encoded as follows: -+ /* The architecture specifies the encoding space for implementation -+ defined registers as: - op0 op1 CRn CRm op2 -- 11 xxx 1x11 xxxx xxx. */ -- if (op0 != 3 || op1 > 7 || (cn | 0x4) != 0xf || cm > 15 || op2 > 7) -+ 11 xxx 1x11 xxxx xxx -+ For convenience GAS accepts a wider encoding space, as follows: -+ op0 op1 CRn CRm op2 -+ 11 xxx xxxx xxxx xxx */ -+ if (op0 != 3 || op1 > 7 || cn > 15 || cm > 15 || op2 > 7) - return PARSE_FAIL; - value = (op0 << 14) | (op1 << 11) | (cn << 7) | (cm << 3) | op2; - } -diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog -index d1ebc3b..8ee06c8 100644 ---- a/gas/testsuite/ChangeLog -+++ b/gas/testsuite/ChangeLog -@@ -1,3 +1,13 @@ -+2013-05-13 Yufeng Zhang -+ -+ Backport from mainline: -+ -+ 2013-02-27 Yufeng Zhang -+ * gas/aarch64/illegal.l: Delete the error message for -+ msr S3_1_C13_C15_1,x7. -+ * gas/aarch64/sysreg.s: Add new tests. -+ * gas/aarch64/sysreg.d: Update. -+ - 2013-03-08 Christian Groessler - - Backport from mainline: -diff --git a/gas/testsuite/gas/aarch64/illegal.l b/gas/testsuite/gas/aarch64/illegal.l -index e17a1de..f7e4074 100644 ---- a/gas/testsuite/gas/aarch64/illegal.l -+++ b/gas/testsuite/gas/aarch64/illegal.l -@@ -520,7 +520,6 @@ - [^:]*:496: Error: .*`str x1,page_table_count' - [^:]*:498: Error: .*`prfm PLDL3KEEP,\[x9,x15,sxtx#2\]' - [^:]*:500: Error: .*`mrs x5,S1_0_C13_C8_0' --[^:]*:501: Error: .*`msr S3_1_C13_C15_1,x7' - [^:]*:502: Error: .*`msr S3_1_C11_C15_-1,x7' - [^:]*:503: Error: .*`msr S3_1_11_15_1,x7' - [^:]*:506: Error: .*`movi w1,#15' -diff --git a/gas/testsuite/gas/aarch64/sysreg.d b/gas/testsuite/gas/aarch64/sysreg.d -index b83b270..c7cf00e 100644 ---- a/gas/testsuite/gas/aarch64/sysreg.d -+++ b/gas/testsuite/gas/aarch64/sysreg.d -@@ -23,3 +23,6 @@ Disassembly of section \.text: - 3c: d5380260 mrs x0, id_isar3_el1 - 40: d5380280 mrs x0, id_isar4_el1 - 44: d53802a0 mrs x0, id_isar5_el1 -+ 48: d538cc00 mrs x0, s3_0_c12_c12_0 -+ 4c: d5384600 mrs x0, s3_0_c4_c6_0 -+ 50: d5184600 msr s3_0_c4_c6_0, x0 -diff --git a/gas/testsuite/gas/aarch64/sysreg.s b/gas/testsuite/gas/aarch64/sysreg.s -index e6f770e..3287594 100644 ---- a/gas/testsuite/gas/aarch64/sysreg.s -+++ b/gas/testsuite/gas/aarch64/sysreg.s -@@ -22,3 +22,7 @@ - mrs x0, id_isar3_el1 - mrs x0, id_isar4_el1 - mrs x0, id_isar5_el1 -+ -+ mrs x0, s3_0_c12_c12_0 -+ mrs x0, s3_0_c4_c6_0 -+ 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 @@ -From: Yufeng Zhang -Date: Mon, 13 May 2013 23:09:51 +0000 (+0000) -Subject: gas/testsuite/ -X-Git-Url: http://sourceware.org/git/?p=binutils.git;a=commitdiff_plain;h=f426901e1be0f58fe4e9386cada50ca57d0a4f36 - -Upstream-Status: backport - -gas/testsuite/ - - Backport from mainline: - - 2013-05-13 Yufeng Zhang - * gas/aarch64/diagnostic.s: Update. - * gas/aarch64/diagnostic.l: Ditto. - * gas/aarch64/movi.s: Add new tests. - * gas/aarch64/movi.d: Update. - -opcodes/ - - Backport from mainline: - - 2013-05-13 Yufeng Zhang - * aarch64-asm.c (aarch64_ins_advsimd_imm_modified): Remove assertion. - * aarch64-opc.c (operand_general_constraint_met_p): Relax the range - check from [0, 255] to [-128, 255]. ---- - -diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog -index 8ee06c8..475c93a 100644 ---- a/gas/testsuite/ChangeLog -+++ b/gas/testsuite/ChangeLog -@@ -1,3 +1,13 @@ -+2013-05-13 Yufeng Zhang -+ -+ Backport from mainline: -+ -+ 2013-05-13 Yufeng Zhang -+ * gas/aarch64/diagnostic.s: Update. -+ * gas/aarch64/diagnostic.l: Ditto. -+ * gas/aarch64/movi.s: Add new tests. -+ * gas/aarch64/movi.d: Update. -+ - 2013-05-13 Yufeng Zhang - - Backport from mainline: -diff --git a/gas/testsuite/gas/aarch64/diagnostic.l b/gas/testsuite/gas/aarch64/diagnostic.l -index f37f11c..d7a1347 100644 ---- a/gas/testsuite/gas/aarch64/diagnostic.l -+++ b/gas/testsuite/gas/aarch64/diagnostic.l -@@ -38,8 +38,8 @@ - [^:]*:40: Error: invalid shift amount at operand 3 -- `shll v1.4s,v2.4h,#32' - [^:]*:41: Error: immediate value out of range 0 to 31 at operand 3 -- `shl v1.2s,v2.2s,32' - [^:]*:42: Error: immediate value out of range 1 to 8 at operand 3 -- `sqshrn2 v2.16b,v3.8h,#17' --[^:]*:43: Error: immediate value out of range 0 to 255 at operand 2 -- `movi v1.4h,256' --[^:]*:44: Error: immediate value out of range 0 to 255 at operand 2 -- `movi v1.4h,-1' -+[^:]*:43: Error: immediate value out of range -128 to 255 at operand 2 -- `movi v1.4h,256' -+[^:]*:44: Error: immediate value out of range -128 to 255 at operand 2 -- `movi v1.4h,-129' - [^:]*:45: Error: invalid shift operator at operand 2 -- `movi v1.4h,255,msl#8' - [^:]*:46: Error: invalid value for immediate at operand 2 -- `movi d0,256' - [^:]*:47: Error: immediate value should be a multiple of 8 at operand 2 -- `movi v1.4h,255,lsl#7' -diff --git a/gas/testsuite/gas/aarch64/diagnostic.s b/gas/testsuite/gas/aarch64/diagnostic.s -index 99ebf8f..e5443ab 100644 ---- a/gas/testsuite/gas/aarch64/diagnostic.s -+++ b/gas/testsuite/gas/aarch64/diagnostic.s -@@ -41,7 +41,7 @@ - shl v1.2s, v2.2s, 32 - sqshrn2 v2.16b, v3.8h, #17 - movi v1.4h, 256 -- movi v1.4h, -1 -+ movi v1.4h, -129 - movi v1.4h, 255, msl #8 - movi d0, 256 - movi v1.4h, 255, lsl #7 -diff --git a/gas/testsuite/gas/aarch64/movi.d b/gas/testsuite/gas/aarch64/movi.d -index 2c73cc4..c225b21 100644 ---- a/gas/testsuite/gas/aarch64/movi.d -+++ b/gas/testsuite/gas/aarch64/movi.d -@@ -8201,3 +8201,6 @@ Disassembly of section \.text: - 8004: 6f07e7e0 movi v0.2d, #0xffffffffffffffff - 8008: 6f07e7e0 movi v0.2d, #0xffffffffffffffff - 800c: 2f07e7ff movi d31, #0xffffffffffffffff -+ 8010: 0f04e403 movi v3.8b, #0x80 -+ 8014: 0f04e423 movi v3.8b, #0x81 -+ 8018: 0f07e7e3 movi v3.8b, #0xff -diff --git a/gas/testsuite/gas/aarch64/movi.s b/gas/testsuite/gas/aarch64/movi.s -index 99ca34a..76f2d47 100644 ---- a/gas/testsuite/gas/aarch64/movi.s -+++ b/gas/testsuite/gas/aarch64/movi.s -@@ -102,3 +102,8 @@ - movi v0.2d, bignum - movi d31, 18446744073709551615 - .set bignum, 0xffffffffffffffff -+ -+ // Allow -128 to 255 in # -+ movi v3.8b, -128 -+ movi v3.8b, -127 -+ movi v3.8b, -1 -diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog -index 96dfaeb..4adbc86 100644 ---- a/opcodes/ChangeLog -+++ b/opcodes/ChangeLog -@@ -1,3 +1,12 @@ -+2013-05-13 Yufeng Zhang -+ -+ Backport from mainline: -+ -+ 2013-05-13 Yufeng Zhang -+ * aarch64-asm.c (aarch64_ins_advsimd_imm_modified): Remove assertion. -+ * aarch64-opc.c (operand_general_constraint_met_p): Relax the range -+ check from [0, 255] to [-128, 255]. -+ - 2013-03-25 Tristan Gingold - Backport of: 2013-03-08 Yann Sionneau - -diff --git a/opcodes/aarch64-asm.c b/opcodes/aarch64-asm.c -index 16cdaa9..ba463d9 100644 ---- a/opcodes/aarch64-asm.c -+++ b/opcodes/aarch64-asm.c -@@ -369,7 +369,6 @@ aarch64_ins_advsimd_imm_modified (const aarch64_operand *self ATTRIBUTE_UNUSED, - imm = aarch64_shrink_expanded_imm8 (imm); - assert ((int)imm >= 0); - } -- assert (imm <= 255); - insert_fields (code, imm, 0, 2, FLD_defgh, FLD_abc); - - if (kind == AARCH64_MOD_NONE) -diff --git a/opcodes/aarch64-opc.c b/opcodes/aarch64-opc.c -index 73a760a..32f34c6 100644 ---- a/opcodes/aarch64-opc.c -+++ b/opcodes/aarch64-opc.c -@@ -1724,10 +1724,10 @@ operand_general_constraint_met_p (const aarch64_opnd_info *opnds, int idx, - assert (idx == 1); - if (aarch64_get_qualifier_esize (opnds[0].qualifier) != 8) - { -- /* uimm8 */ -- if (!value_in_range_p (opnd->imm.value, 0, 255)) -+ /* uimm8 or simm8 */ -+ if (!value_in_range_p (opnd->imm.value, -128, 255)) - { -- set_imm_out_of_range_error (mismatch_detail, idx, 0, 255); -+ set_imm_out_of_range_error (mismatch_detail, idx, -128, 255); - return 0; - } - } 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 @@ -Upstream-Status: Backport - -* elf32-xtensa.c - * (free_section_cache): Renamed from clear_section_cache. - * (section_cache_section): Remove ineffectual zero of cache. - Call init_section_cache instead. - -binutils build might fail on recent Linux distros: -binutils-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] - memset (sec_cache, 0, sizeof (sec_cache)); - ^ -binutils-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] - memset (sec_cache, 0, sizeof (sec_cache)); - -The original commit is http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-xtensa.c.diff?r1=1.135&r2=1.136&cvsroot=src - -Signed-off-by: Zhenhua Luo - ---- binutils-2.23.1/bfd/elf32-xtensa.c.org 2013-03-12 03:04:29.000000000 -0500 -+++ binutils-2.23.1/bfd/elf32-xtensa.c 2013-03-12 03:06:37.000000000 -0500 -@@ -6067,7 +6067,7 @@ - - - static void --clear_section_cache (section_cache_t *sec_cache) -+free_section_cache (section_cache_t *sec_cache) - { - if (sec_cache->sec) - { -@@ -6075,7 +6075,6 @@ - release_internal_relocs (sec_cache->sec, sec_cache->relocs); - if (sec_cache->ptbl) - free (sec_cache->ptbl); -- memset (sec_cache, 0, sizeof (sec_cache)); - } - } - -@@ -6116,8 +6115,8 @@ - goto err; - - /* Fill in the new section cache. */ -- clear_section_cache (sec_cache); -- memset (sec_cache, 0, sizeof (sec_cache)); -+ free_section_cache (sec_cache); -+ init_section_cache (sec_cache); - - sec_cache->sec = sec; - sec_cache->contents = contents; -@@ -8272,8 +8271,9 @@ - #endif /* DEBUG */ - - error_return: -- if (prop_table) free (prop_table); -- clear_section_cache (&target_sec_cache); -+ if (prop_table) -+ free (prop_table); -+ free_section_cache (&target_sec_cache); - - release_contents (sec, contents); - 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 @@ - - -PR gas/14887 - * config/tc-arm.c (skip_past_char): Skip whitespace before the anticipated character. - * config/tc-arm.c (parse_address_main): Delete skip of whitespace here as it is no longer needed. - -Upstream-Status: Backport [PR14887] - -Signed-off-by: Saul Wold - -=================================================================== -RCS file: /cvs/src/src/gas/ChangeLog,v -retrieving revision 1.4898 -retrieving revision 1.4899 -Index: binutils-2.23.2/gas/config/tc-arm.c -=================================================================== ---- binutils-2.23.2.orig/gas/config/tc-arm.c -+++ binutils-2.23.2/gas/config/tc-arm.c -@@ -885,6 +885,9 @@ const char FLT_CHARS[] = "rRsSfFdDxXeEpP - static inline int - skip_past_char (char ** str, char c) - { -+ /* PR gas/14987: Allow for whitespace before the expected character. */ -+ skip_whitespace (*str); -+ - if (**str == c) - { - (*str)++; -@@ -5168,6 +5171,9 @@ parse_address_main (char **str, int i, i - return PARSE_OPERAND_SUCCESS; - } - -+ /* PR gas/14987: Allow for whitespace before the expected character. */ -+ skip_whitespace (p); -+ - if ((reg = arm_reg_parse (&p, REG_TYPE_RN)) == FAIL) - { - inst.error = _(reg_expected_msgs[REG_TYPE_RN]); -Index: binutils-2.23.2/gas/testsuite/gas/arm/neon-ldst-es.s -=================================================================== ---- binutils-2.23.2.orig/gas/testsuite/gas/arm/neon-ldst-es.s -+++ binutils-2.23.2/gas/testsuite/gas/arm/neon-ldst-es.s -@@ -57,3 +57,7 @@ - vld2.32 {q1},[r7] - vld4.32 {q1-q2},[r7] - vld4.32 {q14-q15},[r7] -+ -+ @ PR 14987 and 14887: Allow for whitespace in the instruction. -+ vld1.32 { d1 [ ] } , [ r2 ] , r3 -+ 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 @@ -Upstream-Status: Backport - -* arc-dis.c (write_comments_): Don't use strncat due to - the size of state->commentBuffer pointer isn't predictable. - -binutils build will fail on Fedora18+. -binutils-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] - sizeof (state->commentBuffer)); - ^ - -The original commit is http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/arc-dis.c.diff?r1=1.17&r2=1.18&cvsroot=src - -Signed-off-by: Zhenhua Luo - ---- binutils-2.23.1/opcodes/arc-dis.c.orig 2013-03-13 00:10:27.978498158 -0500 -+++ binutils-2.23.1/opcodes/arc-dis.c 2013-03-13 00:11:28.297499381 -0500 -@@ -426,8 +426,7 @@ - strcpy (state->commentBuffer, comment_prefix); - else - strcat (state->commentBuffer, ", "); -- strncat (state->commentBuffer, state->comm[i], -- sizeof (state->commentBuffer)); -+ strcat (state->commentBuffer, state->comm[i]); - } - } - } diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-armv5e.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-armv5e.patch deleted file mode 100644 index 97ad6dffba..0000000000 --- a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-armv5e.patch +++ /dev/null @@ -1,25 +0,0 @@ -Add the armv5e architecture to binutils - -Binutils has a comment that indicates it is supposed to match gcc for all of -the support "-march=" settings, but it was lacking the armv5e setting. This -was a simple way to add it, as thumb instructions shouldn't be generated by -the compiler anyway. - -Upstream-Status: Denied -Upstream maintainer indicated that we should not be using armv5e, even though -it is a legal archicture defined by our gcc. - -Signed-off-by: Mark Hatle - -Index: binutils-2.22.90/gas/config/tc-arm.c -=================================================================== ---- binutils-2.22.90.orig/gas/config/tc-arm.c 2012-07-24 09:38:32.000000000 -0700 -+++ binutils-2.22.90/gas/config/tc-arm.c 2012-08-07 23:41:59.822564075 -0700 -@@ -23162,6 +23162,7 @@ - ARM_ARCH_OPT ("armv4t", ARM_ARCH_V4T, FPU_ARCH_FPA), - ARM_ARCH_OPT ("armv4txm", ARM_ARCH_V4TxM, FPU_ARCH_FPA), - ARM_ARCH_OPT ("armv5", ARM_ARCH_V5, FPU_ARCH_VFP), -+ ARM_ARCH_OPT ("armv5e", ARM_ARCH_V5TE, FPU_ARCH_VFP), - ARM_ARCH_OPT ("armv5t", ARM_ARCH_V5T, FPU_ARCH_VFP), - ARM_ARCH_OPT ("armv5txm", ARM_ARCH_V5TxM, FPU_ARCH_VFP), - ARM_ARCH_OPT ("armv5te", ARM_ARCH_V5TE, FPU_ARCH_VFP), 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 @@ -Upstream-Status: Pending - -binutils build fails on Fedora18+ due to over array bounds issue: -binutils-2.23.1/opcodes/rl78-dis.c:230:13: error: array subscript is above array bounds [-Werror=array-bounds] - if (oper->use_es && indirect_type (oper->type)) - ^ - -Signed-off-by: Zhenhua Luo - ---- binutils-2.23.1/opcodes/rl78-dis.c.orig 2013-03-12 22:17:47.664361066 -0500 -+++ binutils-2.23.1/opcodes/rl78-dis.c 2013-03-12 23:39:51.383460914 -0500 -@@ -221,7 +221,7 @@ - - case '0': - case '1': -- oper = opcode.op + *s - '0'; -+ oper = &opcode.op[*s - '0']; - if (do_bang) - PC ('!'); - diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-poison.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-poison.patch deleted file mode 100644 index 39cae5155d..0000000000 --- a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-poison.patch +++ /dev/null @@ -1,259 +0,0 @@ -Upstream-Status: Inappropriate [distribution: codesourcery] - -Patch originally created by Mark Hatle, forward-ported to -binutils 2.21 by Scott Garman. - -purpose: warn for uses of system directories when cross linking - -Code Merged from Sourcery G++ bin