diff options
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" GCCVERSION ?= "4.8%" SDKGCCVERSION ?= "${GCCVERSION}" -BINUVERSION ?= "2.23.2" +BINUVERSION ?= "2.24" EGLIBCVERSION ?= "2.18" UCLIBCVERSION ?= "0.9.33+git%" LINUXLIBCVERSION ?= "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 @@ -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 <zhenhua.luo@freescale.com> - -commit ee75ce72fd7a4b2dc47db46acc36905da8904be4 -Author: Alan Modra <amodra@bigpond.net.au> -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 <joseph@codesourcery.com> -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 <schwab@linux-m68k.org> -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" <macro@linux-mips.org> -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 <macro@codesourcery.com> - - * 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 <nickc@redhat.com> -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 <zhenhua.luo@freescale.com> - -commit cf5434698882f41ddfcc469488e8a68c674aae03 -Author: Alan Modra <amodra@bigpond.net.au> -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" <macro@linux-mips.org> -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 <amodra@gmail.com> - - * 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; |
