From 5c4cdba100b66e2924a25dad9b12d8e5b84d527f Mon Sep 17 00:00:00 2001 From: YunQiang Su Date: Sun, 27 Aug 2023 23:33:03 -0400 Subject: [PATCH] Gold/MIPS: Add mips64*/mips64*el triple support 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.30.2