mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 06:49:32 +02:00
gcc-4.6, gcc-4.7: Add support for building mips64 cross compiler
Defaults to n64 ABI (From OE-Core rev: 253f1f3aebd1a90c55efcc6d1f585204e7f3c371) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
19
meta/recipes-devtools/gcc/gcc-4.7/mips64-default-n64.patch
Normal file
19
meta/recipes-devtools/gcc/gcc-4.7/mips64-default-n64.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
MIPS64 defaults to n32 ABI, this patch makes it
|
||||
so that it defaults to N64 ABI
|
||||
|
||||
Upstream-Status: Inappropriate [OE config specific]
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Index: gcc-4_7-branch/gcc/config.gcc
|
||||
===================================================================
|
||||
--- gcc-4_7-branch.orig/gcc/config.gcc 2012-04-22 19:30:21.000000000 -0700
|
||||
+++ gcc-4_7-branch/gcc/config.gcc 2012-04-22 21:09:57.783403173 -0700
|
||||
@@ -1750,7 +1750,7 @@
|
||||
mips64*-*-linux* | mipsisa64*-*-linux*)
|
||||
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"
|
||||
tmake_file="${tmake_file} mips/t-linux64"
|
||||
- tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_N32"
|
||||
+ tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_64"
|
||||
case ${target} in
|
||||
mips64el-st-linux-gnu)
|
||||
tm_file="${tm_file} mips/st.h"
|
||||
Reference in New Issue
Block a user