mirror of
https://git.yoctoproject.org/poky
synced 2026-02-23 18:09:40 +01:00
(From OE-Core rev: 7eeec2ad91eca6ba44ea7b761d47082f4ebb04cc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
51 lines
1.2 KiB
Diff
51 lines
1.2 KiB
Diff
From 9af90cfc35ff1fe78755578861473039836c467a Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Fri, 31 Mar 2017 11:42:03 -0700
|
|
Subject: [PATCH 14/15] Detect 64-bit MIPS targets
|
|
|
|
Add mips64 target triplets and default to N64
|
|
|
|
Upstream-Status: Submitted
|
|
https://sourceware.org/ml/binutils/2016-08/msg00048.html
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
gold/configure.tgt | 14 ++++++++++++++
|
|
1 file changed, 14 insertions(+)
|
|
|
|
diff --git a/gold/configure.tgt b/gold/configure.tgt
|
|
index 8aef22a318..7030026ffa 100644
|
|
--- a/gold/configure.tgt
|
|
+++ b/gold/configure.tgt
|
|
@@ -153,6 +153,13 @@ aarch64*-*)
|
|
targ_big_endian=false
|
|
targ_extra_big_endian=true
|
|
;;
|
|
+mips*64*el*-*-*|mips*64*le*-*-*)
|
|
+ targ_obj=mips
|
|
+ targ_machine=EM_MIPS_RS3_LE
|
|
+ targ_size=64
|
|
+ targ_big_endian=false
|
|
+ targ_extra_big_endian=true
|
|
+ ;;
|
|
mips*el*-*-*|mips*le*-*-*)
|
|
targ_obj=mips
|
|
targ_machine=EM_MIPS_RS3_LE
|
|
@@ -160,6 +167,13 @@ mips*el*-*-*|mips*le*-*-*)
|
|
targ_big_endian=false
|
|
targ_extra_big_endian=true
|
|
;;
|
|
+mips*64*-*-*)
|
|
+ targ_obj=mips
|
|
+ targ_machine=EM_MIPS
|
|
+ targ_size=64
|
|
+ targ_big_endian=true
|
|
+ targ_extra_big_endian=false
|
|
+ ;;
|
|
mips*-*-*)
|
|
targ_obj=mips
|
|
targ_machine=EM_MIPS
|
|
--
|
|
2.18.0
|
|
|