Brad Bishop | c68388fc | 2019-08-26 01:33:31 -0400 | [diff] [blame^] | 1 | From 1ff4108d707b34e399e9dc418ad1ecc42f72676d Mon Sep 17 00:00:00 2001 |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 29 Mar 2013 09:23:08 +0400 |
Brad Bishop | c68388fc | 2019-08-26 01:33:31 -0400 | [diff] [blame^] | 4 | Subject: [PATCH 10/36] MIPS64: Default to N64 ABI |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 5 | |
| 6 | MIPS64 defaults to n32 ABI, this patch makes it |
| 7 | so that it defaults to N64 ABI |
| 8 | |
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 10 | |
| 11 | Upstream-Status: Inappropriate [OE config specific] |
| 12 | --- |
| 13 | gcc/config.gcc | 10 +++++----- |
| 14 | 1 file changed, 5 insertions(+), 5 deletions(-) |
| 15 | |
| 16 | diff --git a/gcc/config.gcc b/gcc/config.gcc |
Brad Bishop | c68388fc | 2019-08-26 01:33:31 -0400 | [diff] [blame^] | 17 | index ddd3b8f4d9d..fdfc0bd3e82 100644 |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 18 | --- a/gcc/config.gcc |
| 19 | +++ b/gcc/config.gcc |
Brad Bishop | c68388fc | 2019-08-26 01:33:31 -0400 | [diff] [blame^] | 20 | @@ -2282,29 +2282,29 @@ mips*-*-linux*) # Linux MIPS, either endian. |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 21 | default_mips_arch=mips32 |
| 22 | ;; |
| 23 | mips64el-st-linux-gnu) |
| 24 | - default_mips_abi=n32 |
| 25 | + default_mips_abi=64 |
| 26 | tm_file="${tm_file} mips/st.h" |
| 27 | tmake_file="${tmake_file} mips/t-st" |
| 28 | enable_mips_multilibs="yes" |
| 29 | ;; |
| 30 | mips64octeon*-*-linux*) |
| 31 | - default_mips_abi=n32 |
| 32 | + default_mips_abi=64 |
| 33 | tm_defines="${tm_defines} MIPS_CPU_STRING_DEFAULT=\\\"octeon\\\"" |
| 34 | target_cpu_default=MASK_SOFT_FLOAT_ABI |
| 35 | enable_mips_multilibs="yes" |
| 36 | ;; |
| 37 | mipsisa64r6*-*-linux*) |
| 38 | - default_mips_abi=n32 |
| 39 | + default_mips_abi=64 |
| 40 | default_mips_arch=mips64r6 |
| 41 | enable_mips_multilibs="yes" |
| 42 | ;; |
| 43 | mipsisa64r2*-*-linux*) |
| 44 | - default_mips_abi=n32 |
| 45 | + default_mips_abi=64 |
| 46 | default_mips_arch=mips64r2 |
| 47 | enable_mips_multilibs="yes" |
| 48 | ;; |
| 49 | mips64*-*-linux* | mipsisa64*-*-linux*) |
| 50 | - default_mips_abi=n32 |
| 51 | + default_mips_abi=64 |
| 52 | enable_mips_multilibs="yes" |
| 53 | ;; |
| 54 | esac |
| 55 | -- |
Brad Bishop | c68388fc | 2019-08-26 01:33:31 -0400 | [diff] [blame^] | 56 | 2.22.1 |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 57 | |