Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian
authorYunQiang Su <yunqiang.su@cipunited.com>
Fri, 10 Nov 2023 16:28:42 +0000 (16:28 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 10 Nov 2023 16:28:42 +0000 (16:28 +0000)
gold/ChangeLog
gold/configure.tgt

index 54fb1c16e1795814eb7689c4d4a9647108a68fc1..0a7ff505b46dc51dd23965e7c27ffa4d71cafa27 100644 (file)
@@ -1,3 +1,8 @@
+2023-11-10  YunQiang Su  <yunqiang.su@cipunited.com>
+
+       * configure.tgt (targ_machine): Set to EM_MIPS for little endian
+       mips targets.
+
 2023-09-05  Roland McGrath  <mcgrathr@google.com>
 
        The std::basic_string template type is only specified for
index 4b54e08d27f61e128e05550350bfc1a7a9e6c49f..751c8fd06c6e85dd107792925fca8dfd3c004270 100644 (file)
@@ -155,7 +155,7 @@ aarch64*-*)
  ;;
 mips*el*-*-*|mips*le*-*-*)
  targ_obj=mips
- targ_machine=EM_MIPS_RS3_LE
+ targ_machine=EM_MIPS
  targ_size=32
  targ_big_endian=false
  targ_extra_big_endian=true