diff options
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 | 15 |
1 files changed, 4 insertions, 11 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 index bfde561dee..d25ce61626 100644 --- 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 | |||
@@ -1,8 +1,8 @@ | |||
1 | From d5d783903e335302e562bac8da1a083338d75b25 Mon Sep 17 00:00:00 2001 | 1 | From a326a8feb445a5713ff3d17c55f43d5681e26585 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 29 Nov 2018 17:46:40 -0800 | 3 | Date: Thu, 29 Nov 2018 17:46:40 -0800 |
4 | Subject: [PATCH 15/15] binutils : enable x86_64-pep for producing EFI binaries | 4 | Subject: [PATCH] binutils : enable x86_64-pep for producing EFI binaries on |
5 | on x86-64 | 5 | x86-64 |
6 | 6 | ||
7 | Add x86_64-pep emulation support to the set enabled for x86_64 targets | 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. | 8 | to enable the linker to produce Portable Executables for EFI binaries. |
@@ -19,8 +19,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
19 | ld/configure.tgt | 5 +++-- | 19 | ld/configure.tgt | 5 +++-- |
20 | 2 files changed, 4 insertions(+), 3 deletions(-) | 20 | 2 files changed, 4 insertions(+), 3 deletions(-) |
21 | 21 | ||
22 | diff --git a/bfd/config.bfd b/bfd/config.bfd | ||
23 | index 3614ff79d4..aef144803a 100644 | ||
24 | --- a/bfd/config.bfd | 22 | --- a/bfd/config.bfd |
25 | +++ b/bfd/config.bfd | 23 | +++ b/bfd/config.bfd |
26 | @@ -694,7 +694,7 @@ case "${targ}" in | 24 | @@ -694,7 +694,7 @@ case "${targ}" in |
@@ -32,11 +30,9 @@ index 3614ff79d4..aef144803a 100644 | |||
32 | want64=true | 30 | want64=true |
33 | ;; | 31 | ;; |
34 | x86_64-*-nacl*) | 32 | x86_64-*-nacl*) |
35 | diff --git a/ld/configure.tgt b/ld/configure.tgt | ||
36 | index 347df6c3f6..1e37d747a9 100644 | ||
37 | --- a/ld/configure.tgt | 33 | --- a/ld/configure.tgt |
38 | +++ b/ld/configure.tgt | 34 | +++ b/ld/configure.tgt |
39 | @@ -257,8 +257,9 @@ x86_64-*-linux-gnux32) targ_emul=elf32_x86_64 | 35 | @@ -258,8 +258,9 @@ x86_64-*-linux-gnux32) targ_emul=elf32_x |
40 | tdir_elf_iamcu=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` | 36 | 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/'` ;; | 37 | 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 | 38 | x86_64-*-linux-*) targ_emul=elf_x86_64 |
@@ -48,6 +44,3 @@ index 347df6c3f6..1e37d747a9 100644 | |||
48 | tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; | 44 | tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; |
49 | i[3-7]86-*-redox*) targ_emul=elf_i386 | 45 | i[3-7]86-*-redox*) targ_emul=elf_i386 |
50 | targ_extra_emuls=elf_x86_64 ;; | 46 | targ_extra_emuls=elf_x86_64 ;; |
51 | -- | ||
52 | 2.20.1 | ||
53 | |||