gold-mips
authorMatthias Klose <doko@debian.org>
Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)
committerMatthias Klose <doko@debian.org>
Sun, 15 Aug 2021 14:51:18 +0000 (15:51 +0100)
# DP: Fix gold on mips64 targets.

# DP: Fix gold on mips64 targets.

gold/

2016-08-09  Aurelien Jarno  <aurelien@aurel32.net>

* configure.tgt: Add mips64el*-*-*|mips64le*-*-* and mips64*-*-*.

Gbp-Pq: Name gold-mips.diff

gold/configure.tgt

index cac0866e628492965793389ef9cd1cf9c8434159..24fbf6414565cd27105a2c2d683fbd3e90837add 100644 (file)
@@ -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