[committed 5/6] Gold/MIPS: Add mips64*/mips64*el triple support
YunQiang Su
yunqiang.su@cipunited.com
Mon Aug 28 03:49:39 GMT 2023
Use targ_size=64 and targ_extra_size=32
---
gold/configure.tgt | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gold/configure.tgt b/gold/configure.tgt
index 4b16634ff4e..e2e131bbd84 100644
--- a/gold/configure.tgt
+++ b/gold/configure.tgt
@@ -153,6 +153,14 @@ aarch64*-*)
targ_big_endian=false
targ_extra_big_endian=true
;;
+mips64*el-*-*)
+ targ_obj=mips
+ targ_machine=EM_MIPS
+ targ_size=64
+ targ_extra_size=32
+ targ_big_endian=false
+ targ_extra_big_endian=true
+ ;;
mips*el-*-*)
targ_obj=mips
targ_machine=EM_MIPS
@@ -161,6 +169,14 @@ mips*el-*-*)
targ_big_endian=false
targ_extra_big_endian=true
;;
+mips64*-*-*)
+ targ_obj=mips
+ targ_machine=EM_MIPS
+ targ_size=64
+ targ_extra_size=32
+ targ_big_endian=true
+ targ_extra_little_endian=true
+ ;;
mips*-*-*)
targ_obj=mips
targ_machine=EM_MIPS
--
2.39.2
More information about the Binutils
mailing list