aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils
AgeCommit message (Collapse)Author
2014-12-27binutils: several security fixesArmin Kuster
CVE-2014-8484 CVE-2014-8485 CVE-2014-8501 CVE-2014-8502 CVE-2014-8503 CVE-2014-8504 CVE-2014-8737 and one supporting patch. [Yocto # 7084] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25binutils: Add fix for recent patch on older gccRichard Purdie
The recent bintuils patch update breaks on older gccs such as CentOS 6. Backport a patch to address this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25binutils: Apply the proper fix for PR 16428H.J. Lu
It is fixed by commit 4199e3b8669d0a36448687850374fdc2ad7240b6 Author: Alan Modra <amodra@gmail.com> Date: Wed Jan 15 21:50:55 2014 +1030 non-PIC references to __ehdr_start in pie and shared Rather than hacking every backend to not discard dynamic relocations against an undefined hidden __ehdr_start, make it appear to be defined early. We want __ehdr_start hidden before size_dynamic_sections so that it isn't put in .dynsym, but we do need the dynamic relocations for a PIE or shared library with a non-PIC reference. Defining it early is wrong if we don't actually define the symbol later to its proper value. (In some cases we want to leave the symbol undefined, for example, when the ELF header isn't loaded, and we don't have this infomation available in before_allocation.) So replace the existing patches with this one. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-05binutils: Fix building nativesdk binutils with gcc 4.9Khem Raj
Patches explain the issue in detail but this is exposed with gcc 4.9 in binutils 2.24 (From OE-Core rev: fc5c467b680fc5aef4b0f689e6988e17a9322ae0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-25binutils: Add fixes for binutils issue 16428Richard Purdie
"ld:i386 crashes with -static -fPIE -pie" https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1266492 This adds in two upstream binutils fixes to avoid the internal error triggered by the combination of -static with -pie on x86 builds. This triggers a backtrace which then triggers a bug in glibc where the process ends up hanging on some systems with broken libcs. We can't fix the libc but we can stop the internal error and hence avoid the hanging builds. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-08binutils: Add backports to resolve systemd (from git) breakageRichard Purdie
Backport the patches for PR2404 and PR16476 from binutils to resolve failures when compiling systemd from git. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02binutils: Upgrade to 2.24Khem Raj
This builds and runs images for all qemu machines Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-28binutils: Delete recipes for 2.22Khem Raj
We have 2.23.1 as default now. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-11-24binutils-crosssdk: do not set .interp size to 0x1000 for partial linked objectsLaurentiu Palcu
When building the SDK, the final .interp section size should be set to a bigger value (0x1000) in order to be able to change the dynamic loader's path later. However, we shouldn't do that for partial linked objects (when -r or -rU is used). That's because those objects will then have an .interp section of 0x1000 even if it contains no data and when the final linking is done we will end up with a "cannot move location counter backwards" error. That's because the linker will try to squeeze all the data in the .interp sections found in various partial linked objects into one 0x1000 bytes final .interp section. [YOCTO #3264] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-24binutils-2.22: Disable recent gold backports from 2.22 branchKhem Raj
This patch has been causing some regressions on gold. e.g. systemd based images segfault and uclibc based images dont boot. There has been few other reports on the mailing list. Considering this lets withdraw this patch. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-14binutils-2.22: Backport PR fixes from 2.22 branchKhem Raj
These are fixes mainly cherrypicks for mips/ppc/x86 mainly fixing PRs in ld and gold Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-24ld: -rpath must search under sysrootAndy Ross
The -rpath argument would search the host filesystem for libraries, even when a sysroot was defined. For cross toolchains with targets compatible with the host architecture this can find incorrect libraries. Leave -rpath-link unmodified, as build systems in the wild are already using this to point to host directories. [YOCTO #2965] Signed-off-by: Andy Ross <andy.ross@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-02binutils: relocatable SDK: change PT_INTERP section sizeLaurentiu Palcu
This patch is needed so that all SDK binaries have the PT_INTERP section size set to 4096 (max path size in Linux) in order to be able to parse the binaries later and change the interpreter to the path we want. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26Add missing Upstream-Status to various patches.Mark Hatle
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-07-17binutils: Backport the e5500/e6500 patches from mainlineKhem Raj
This updates the E5500 and E6500 support patches as they have been applied upstream binutils. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-11binutils_2.22: Backport to fix bogus textrelsKhem Raj
This is reported by prelinker which does not go well with textrels. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-20binutils: Default to n64 when configured for mips64Khem Raj
Default ABI for mips64 is n64 so make it default in binutils Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-04-04binutils: Inform binutils that armv5e really is valid!Mark Hatle
A comment in the binutils sources indicate that it should support all of the -march= parameters that gcc supports. The tune validations noted that gas failed on -march=armv5e. It is not yet clear to me if this patch belongs upstream or not. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-11-29binutils: upgrade from 2.21.1a to 2.22Nitin A Kamble
And rebase the patches to the newer source code This patch is upstream hence deleting it from the recipe. binutils/110-arm-eabi-conf.patch Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-08-04binutils: Add support for powerpc e5500 coreKumar Gala
Add powerpc e5500 core support to binutils so its recognized by assember, etc. The e5500 is a 64-bit core from Freescale utilized in the P5020 SoC. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-07-20binutils: Fix build when compiling target binutils recipe with gcc 4.6Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-08binutils: upgrade from 2.21 to 2.21.1Nitin A Kamble
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>