diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-05-11 10:35:07 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-13 13:41:29 +0100 |
commit | 24d99279c582878901ccff36eb059e4786b124da (patch) | |
tree | be5e224635135d7de775bd035ff268f3d55b1852 /meta/recipes-devtools/elfutils/elfutils-0.166/0001-Ignore-differences-between-mips-machine-identifiers.patch | |
parent | a088a4110751bc6dbad5e48c049158f53284057d (diff) | |
download | poky-24d99279c582878901ccff36eb059e4786b124da.tar.gz |
elfutils: Upgrade to 0.166
Has many fixes for compiling it with gcc-6
(From OE-Core rev: 071b6a0c3cdeb3635a8ccfbc708573723308dd68)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils-0.166/0001-Ignore-differences-between-mips-machine-identifiers.patch')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils-0.166/0001-Ignore-differences-between-mips-machine-identifiers.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.166/0001-Ignore-differences-between-mips-machine-identifiers.patch b/meta/recipes-devtools/elfutils/elfutils-0.166/0001-Ignore-differences-between-mips-machine-identifiers.patch new file mode 100644 index 0000000000..3f110f98fc --- /dev/null +++ b/meta/recipes-devtools/elfutils/elfutils-0.166/0001-Ignore-differences-between-mips-machine-identifiers.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 77cb4a53c270d5854d3af24f19547bc3de825233 Mon Sep 17 00:00:00 2001 | ||
2 | From: James Cowgill <james410@cowgill.org.uk> | ||
3 | Date: Mon, 5 Jan 2015 15:16:58 +0000 | ||
4 | Subject: [PATCH 1/3] Ignore differences between mips machine identifiers | ||
5 | |||
6 | Little endian binaries actually use EM_MIPS so you can't tell the endianness | ||
7 | from the elf machine id. Also, the EM_MIPS_RS3_LE machine is dead anyway (the | ||
8 | kernel will not load binaries containing it). | ||
9 | |||
10 | Signed-off-by: James Cowgill <james410@cowgill.org.uk> | ||
11 | --- | ||
12 | backends/mips_init.c | 6 +----- | ||
13 | 1 file changed, 1 insertion(+), 5 deletions(-) | ||
14 | |||
15 | diff --git a/backends/mips_init.c b/backends/mips_init.c | ||
16 | index 7429a89..d10e940 100644 | ||
17 | --- a/backends/mips_init.c | ||
18 | +++ b/backends/mips_init.c | ||
19 | @@ -46,11 +46,7 @@ mips_init (elf, machine, eh, ehlen) | ||
20 | return NULL; | ||
21 | |||
22 | /* We handle it. */ | ||
23 | - if (machine == EM_MIPS) | ||
24 | - eh->name = "MIPS R3000 big-endian"; | ||
25 | - else if (machine == EM_MIPS_RS3_LE) | ||
26 | - eh->name = "MIPS R3000 little-endian"; | ||
27 | - | ||
28 | + eh->name = "MIPS"; | ||
29 | mips_init_reloc (eh); | ||
30 | HOOK (eh, reloc_simple_type); | ||
31 | HOOK (eh, return_value_location); | ||
32 | -- | ||
33 | 2.1.4 | ||
34 | |||