public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/102089] New: MIPS: use N64 ABI by default if the triple end with -gnuabi64
@ 2021-08-27  3:19 syq at debian dot org
  2021-08-27  3:29 ` [Bug target/102089] " pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: syq at debian dot org @ 2021-08-27  3:19 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102089

            Bug ID: 102089
           Summary: MIPS: use N64 ABI by default if the triple end with
                    -gnuabi64
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: syq at debian dot org
  Target Milestone: ---

We use mips64el-linux-gnuabi64 as the triplet for mips64el port on Debian since
2013.

--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2553,16 +2553,30 @@ mips*-*-linux*)                         # Linux MIPS,
either endian.
                        target_cpu_default=MASK_SOFT_FLOAT_ABI
                        enable_mips_multilibs="yes"
                        ;;
+               mipsisa64r6*-*-linux-gnuabi64)
+                       default_mips_abi=64
+                       default_mips_arch=mips64r6
+                       enable_mips_multilibs="yes"
+                       ;;
                mipsisa64r6*-*-linux*)
                        default_mips_abi=n32
                        default_mips_arch=mips64r6
                        enable_mips_multilibs="yes"
                        ;;
+               mipsisa64r2*-*-linux-gnuabi64)
+                       default_mips_abi=64
+                       default_mips_arch=mips64r2
+                       enable_mips_multilibs="yes"
+                       ;;
                mipsisa64r2*-*-linux*)
                        default_mips_abi=n32
                        default_mips_arch=mips64r2
                        enable_mips_multilibs="yes"
                        ;;
+               mips64*-*-linux-gnuabi64 | mipsisa64*-*-linux-gnuabi64)
+                       default_mips_abi=64
+                       enable_mips_multilibs="yes"
+                       ;;
                mips64*-*-linux* | mipsisa64*-*-linux*)
                        default_mips_abi=n32
                        enable_mips_multilibs="yes"

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-12-15  1:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-27  3:19 [Bug target/102089] New: MIPS: use N64 ABI by default if the triple end with -gnuabi64 syq at debian dot org
2021-08-27  3:29 ` [Bug target/102089] " pinskia at gcc dot gnu.org
2021-08-27  3:34 ` syq at debian dot org
2021-08-27  4:01 ` syq at debian dot org
2021-08-28  7:12 ` cvs-commit at gcc dot gnu.org
2021-12-15  1:54 ` pinskia at gcc dot gnu.org
2021-12-15  1:54 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).