diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2019-08-28 05:06:29 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-28 16:44:09 +0100 |
commit | b88477d0690822fd7a5fa599afccb5a3b7969660 (patch) | |
tree | 48730e27a5681595ccafd63304581b2087b26f73 /meta/recipes-devtools | |
parent | ca2207f418b7847ffce4b8c53a5a442e5cf461d9 (diff) | |
download | poky-b88477d0690822fd7a5fa599afccb5a3b7969660.tar.gz |
binutils: Fix mips patch which changes default emulation
The patch incorrectly removes 'mips_elf32_ntrad_le_vec' from the
'targ_selvecs' replacing it with duplicate entries for
'mips_elf32_ntrad_be_vec'. Correct this so that the default binutils can
still handle 'mips_elf32_ntrad_le_vec' binaries.
(From OE-Core rev: cdd499f23c129306da879b6f614ca1b720724300)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/0010-Change-default-emulation-for-mips64-linux.patch | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0010-Change-default-emulation-for-mips64-linux.patch b/meta/recipes-devtools/binutils/binutils/0010-Change-default-emulation-for-mips64-linux.patch index ba5e4c2ce5..5f4ac72f48 100644 --- a/meta/recipes-devtools/binutils/binutils/0010-Change-default-emulation-for-mips64-linux.patch +++ b/meta/recipes-devtools/binutils/binutils/0010-Change-default-emulation-for-mips64-linux.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From d540e95d05cd7c4b8924ac7b257c14ae0105d0ab Mon Sep 17 00:00:00 2001 | 1 | From 958a49749b772660d3bafb80748829cba6bed065 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: Mon, 2 Mar 2015 01:44:14 +0000 | 3 | Date: Mon, 2 Mar 2015 01:44:14 +0000 |
4 | Subject: [PATCH 10/15] Change default emulation for mips64*-*-linux | 4 | Subject: [PATCH 10/15] Change default emulation for mips64*-*-linux |
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
14 | 2 files changed, 8 insertions(+), 8 deletions(-) | 14 | 2 files changed, 8 insertions(+), 8 deletions(-) |
15 | 15 | ||
16 | diff --git a/bfd/config.bfd b/bfd/config.bfd | 16 | diff --git a/bfd/config.bfd b/bfd/config.bfd |
17 | index 0e1ddb659c..cc65547588 100644 | 17 | index 0e1ddb659c..d4f50f0a8d 100644 |
18 | --- a/bfd/config.bfd | 18 | --- a/bfd/config.bfd |
19 | +++ b/bfd/config.bfd | 19 | +++ b/bfd/config.bfd |
20 | @@ -919,12 +919,12 @@ case "${targ}" in | 20 | @@ -919,12 +919,12 @@ case "${targ}" in |
@@ -30,7 +30,7 @@ index 0e1ddb659c..cc65547588 100644 | |||
30 | - targ_defvec=mips_elf32_ntrad_be_vec | 30 | - targ_defvec=mips_elf32_ntrad_be_vec |
31 | - targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec" | 31 | - targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec" |
32 | + targ_defvec=mips_elf64_trad_be_vec | 32 | + targ_defvec=mips_elf64_trad_be_vec |
33 | + targ_selvecs="mips_elf32_ntrad_be_vec mips_elf32_ntrad_be_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_le_vec" | 33 | + targ_selvecs="mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_le_vec" |
34 | ;; | 34 | ;; |
35 | mips*el-*-linux*) | 35 | mips*el-*-linux*) |
36 | targ_defvec=mips_elf32_trad_le_vec | 36 | targ_defvec=mips_elf32_trad_le_vec |
@@ -54,6 +54,3 @@ index beba17ef51..917be6f8eb 100644 | |||
54 | targ_extra_libpath=$targ_extra_emuls ;; | 54 | targ_extra_libpath=$targ_extra_emuls ;; |
55 | mips*el-*-linux-*) targ_emul=elf32ltsmip | 55 | mips*el-*-linux-*) targ_emul=elf32ltsmip |
56 | targ_extra_emuls="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" | 56 | targ_extra_emuls="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" |
57 | -- | ||
58 | 2.20.1 | ||
59 | |||