summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-12-09 17:15:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-12-12 11:27:23 +0000
commit2d5e9a1d306caee6d8f5bbc368a83b61335daa4e (patch)
tree26453f5106a2369160c5ae095199c6f79b612364 /meta/recipes-devtools
parent8af5ed024e11426a45fca2c7b304c1ecf2297abd (diff)
downloadpoky-2d5e9a1d306caee6d8f5bbc368a83b61335daa4e.tar.gz
binutils: Drop mips gold patch
As mentioned in a followup to the patch upstream: https://sourceware.org/legacy-ml/binutils/2016-08/msg00215.html "With 2.16.1, --enable-gold is just ignored when building on mips" so we don't need the patch since 2.16.1. (From OE-Core rev: 3c230c70f28aef21ae986679d783551832b4e3fa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.37.inc1
-rw-r--r--meta/recipes-devtools/binutils/binutils/0012-Detect-64-bit-MIPS-targets.patch47
2 files changed, 0 insertions, 48 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.37.inc b/meta/recipes-devtools/binutils/binutils-2.37.inc
index 8f91c6460d..a3e0fbc769 100644
--- a/meta/recipes-devtools/binutils/binutils-2.37.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.37.inc
@@ -29,7 +29,6 @@ SRC_URI = "\
29 file://0009-Change-default-emulation-for-mips64-linux.patch \ 29 file://0009-Change-default-emulation-for-mips64-linux.patch \
30 file://0010-Add-support-for-Netlogic-XLP.patch \ 30 file://0010-Add-support-for-Netlogic-XLP.patch \
31 file://0011-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \ 31 file://0011-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \
32 file://0012-Detect-64-bit-MIPS-targets.patch \
33 file://0013-Use-libtool-2.4.patch \ 32 file://0013-Use-libtool-2.4.patch \
34 file://0014-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \ 33 file://0014-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \
35 file://0015-sync-with-OE-libtool-changes.patch \ 34 file://0015-sync-with-OE-libtool-changes.patch \
diff --git a/meta/recipes-devtools/binutils/binutils/0012-Detect-64-bit-MIPS-targets.patch b/meta/recipes-devtools/binutils/binutils/0012-Detect-64-bit-MIPS-targets.patch
deleted file mode 100644
index 04f81c6671..0000000000
--- a/meta/recipes-devtools/binutils/binutils/0012-Detect-64-bit-MIPS-targets.patch
+++ /dev/null
@@ -1,47 +0,0 @@
1From 02374940dd34fddd2b04624af3f23e01f9cb81cd Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 31 Mar 2017 11:42:03 -0700
4Subject: [PATCH] Detect 64-bit MIPS targets
5
6Add mips64 target triplets and default to N64
7
8Upstream-Status: Submitted
9https://sourceware.org/ml/binutils/2016-08/msg00048.html
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 gold/configure.tgt | 14 ++++++++++++++
14 1 file changed, 14 insertions(+)
15
16diff --git a/gold/configure.tgt b/gold/configure.tgt
17index cac0866e628..24fbf641456 100644
18--- a/gold/configure.tgt
19+++ b/gold/configure.tgt
20@@ -153,6 +153,13 @@ aarch64*-*)
21 targ_big_endian=false
22 targ_extra_big_endian=true
23 ;;
24+mips*64*el*-*-*|mips*64*le*-*-*)
25+ targ_obj=mips
26+ targ_machine=EM_MIPS_RS3_LE
27+ targ_size=64
28+ targ_big_endian=false
29+ targ_extra_big_endian=true
30+ ;;
31 mips*el*-*-*|mips*le*-*-*)
32 targ_obj=mips
33 targ_machine=EM_MIPS_RS3_LE
34@@ -160,6 +167,13 @@ mips*el*-*-*|mips*le*-*-*)
35 targ_big_endian=false
36 targ_extra_big_endian=true
37 ;;
38+mips*64*-*-*)
39+ targ_obj=mips
40+ targ_machine=EM_MIPS
41+ targ_size=64
42+ targ_big_endian=true
43+ targ_extra_big_endian=false
44+ ;;
45 mips*-*-*)
46 targ_obj=mips
47 targ_machine=EM_MIPS