Gold/MIPS: Add targ_extra_size=64 for mips32 triples
authorYunQiang Su <yunqiang.su@cipunited.com>
Mon, 28 Aug 2023 03:27:00 +0000 (23:27 -0400)
committerYunQiang Su <yunqiang.su@cipunited.com>
Mon, 28 Aug 2023 03:43:30 +0000 (23:43 -0400)
So we can enable 64bit ELF support for MIPS32 toolchain.

gold/configure.tgt

index 8f0f21bdc038a0b68d667fc343089845d89534b5..4b16634ff4e65319415cbe0fb9db89e54d65cd1a 100644 (file)
@@ -157,6 +157,7 @@ mips*el-*-*)
  targ_obj=mips
  targ_machine=EM_MIPS
  targ_size=32
+ targ_extra_size=64
  targ_big_endian=false
  targ_extra_big_endian=true
  ;;
@@ -164,6 +165,7 @@ mips*-*-*)
  targ_obj=mips
  targ_machine=EM_MIPS
  targ_size=32
+ targ_extra_size=64
  targ_big_endian=true
  targ_extra_little_endian=true
  ;;