diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-02-04 13:18:08 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-05 13:53:48 +0000 |
commit | db9bca2b3b126ad915decc1c803e136a3cdb5d66 (patch) | |
tree | 3fab2b7ec10ee8397268827ed03a9396715188ed /meta/recipes-devtools/binutils/binutils/0015-binutils-enable-x86_64-pep-for-producing-EFI-binarie.patch | |
parent | 3c6764b09888e2025536b8bc73ce548cf53a1579 (diff) | |
download | poky-db9bca2b3b126ad915decc1c803e136a3cdb5d66.tar.gz |
binutils: Upgrade to binutils 2.32
Changes
https://sourceware.org/ml/binutils/2019-02/msg00010.html
0007-Add-the-armv5e-architecture-to-binutils.patch is dropped since we
armv5 is not a used option anymore in OE armv5te is default, and gcc9
will drop it completely anyway
CVE patches were backports from master which is already past of 2.32
release
Other dropped patches were partial or full backports as well
(From OE-Core rev: b71294c4decf35d544a2c8adb4e67d141841fc68)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/0015-binutils-enable-x86_64-pep-for-producing-EFI-binarie.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/0015-binutils-enable-x86_64-pep-for-producing-EFI-binarie.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0015-binutils-enable-x86_64-pep-for-producing-EFI-binarie.patch b/meta/recipes-devtools/binutils/binutils/0015-binutils-enable-x86_64-pep-for-producing-EFI-binarie.patch new file mode 100644 index 0000000000..bfde561dee --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils/0015-binutils-enable-x86_64-pep-for-producing-EFI-binarie.patch | |||
@@ -0,0 +1,53 @@ | |||
1 | From d5d783903e335302e562bac8da1a083338d75b25 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 29 Nov 2018 17:46:40 -0800 | ||
4 | Subject: [PATCH 15/15] binutils : enable x86_64-pep for producing EFI binaries | ||
5 | on x86-64 | ||
6 | |||
7 | Add x86_64-pep emulation support to the set enabled for x86_64 targets | ||
8 | to enable the linker to produce Portable Executables for EFI binaries. | ||
9 | |||
10 | Enables building the x86-64 EFI variant of the Xen hypervisor for | ||
11 | the OpenXT Project. | ||
12 | |||
13 | Upstream-Status: Inappropriate [OE configuration specific] | ||
14 | |||
15 | Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> | ||
16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
17 | --- | ||
18 | bfd/config.bfd | 2 +- | ||
19 | ld/configure.tgt | 5 +++-- | ||
20 | 2 files changed, 4 insertions(+), 3 deletions(-) | ||
21 | |||
22 | diff --git a/bfd/config.bfd b/bfd/config.bfd | ||
23 | index 3614ff79d4..aef144803a 100644 | ||
24 | --- a/bfd/config.bfd | ||
25 | +++ b/bfd/config.bfd | ||
26 | @@ -694,7 +694,7 @@ case "${targ}" in | ||
27 | ;; | ||
28 | x86_64-*-linux-*) | ||
29 | targ_defvec=x86_64_elf64_vec | ||
30 | - targ_selvecs="i386_elf32_vec iamcu_elf32_vec x86_64_elf32_vec i386_pei_vec x86_64_pei_vec l1om_elf64_vec k1om_elf64_vec" | ||
31 | + targ_selvecs="i386_elf32_vec iamcu_elf32_vec x86_64_elf32_vec i386_pei_vec x86_64_pei_vec l1om_elf64_vec k1om_elf64_vec x86_64_pe_vec x86_64_pe_be_vec i386_pe_vec" | ||
32 | want64=true | ||
33 | ;; | ||
34 | x86_64-*-nacl*) | ||
35 | diff --git a/ld/configure.tgt b/ld/configure.tgt | ||
36 | index 347df6c3f6..1e37d747a9 100644 | ||
37 | --- a/ld/configure.tgt | ||
38 | +++ b/ld/configure.tgt | ||
39 | @@ -257,8 +257,9 @@ x86_64-*-linux-gnux32) targ_emul=elf32_x86_64 | ||
40 | tdir_elf_iamcu=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` | ||
41 | tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` ;; | ||
42 | x86_64-*-linux-*) targ_emul=elf_x86_64 | ||
43 | - targ_extra_emuls="elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om" | ||
44 | - targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om elf_k1om" | ||
45 | + targ_extra_emuls="elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om i386pe i386pep" | ||
46 | + targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om elf_k1om i386pep" | ||
47 | + targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" | ||
48 | tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; | ||
49 | i[3-7]86-*-redox*) targ_emul=elf_i386 | ||
50 | targ_extra_emuls=elf_x86_64 ;; | ||
51 | -- | ||
52 | 2.20.1 | ||
53 | |||