Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From 301e18d4711db5925e767fad08dffa9cfe0a2f1f Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 29 Mar 2013 09:23:08 +0400 |
| 4 | Subject: [PATCH 28/35] MIPS64: Default to N64 ABI |
| 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 | 2 +- |
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/gcc/config.gcc b/gcc/config.gcc |
| 17 | index 1a0be50..989c2fb 100644 |
| 18 | --- a/gcc/config.gcc |
| 19 | +++ b/gcc/config.gcc |
| 20 | @@ -1797,7 +1797,7 @@ mips*-mti-linux*) |
| 21 | mips64*-*-linux* | mipsisa64*-*-linux*) |
| 22 | tm_file="dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h ${tm_file} mips/gnu-user.h mips/gnu-user64.h mips/linux64.h mips/linux-common.h" |
| 23 | tmake_file="${tmake_file} mips/t-linux64" |
| 24 | - tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_N32" |
| 25 | + tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_64" |
| 26 | case ${target} in |
| 27 | mips64el-st-linux-gnu) |
| 28 | tm_file="${tm_file} mips/st.h" |
| 29 | -- |
| 30 | 1.7.10.4 |
| 31 | |