Gold/MIPS: Add mips64*/mips64*el triple support
authorYunQiang Su <yunqiang.su@cipunited.com>
Mon, 28 Aug 2023 03:33:03 +0000 (23:33 -0400)
committerYunQiang Su <yunqiang.su@cipunited.com>
Mon, 28 Aug 2023 03:43:30 +0000 (23:43 -0400)
Use targ_size=64 and targ_extra_size=32

gold/configure.tgt

index 4b16634ff4e65319415cbe0fb9db89e54d65cd1a..e2e131bbd843cd6b7189b9dff1700f5c14eb797b 100644 (file)
@@ -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