diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-04-25 15:35:39 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-21 09:59:02 +0100 |
commit | 6174900a0e949c00c5a683f080b0cae73fdeb10b (patch) | |
tree | 35624d2376de83e46d2e5d075504be15e756f593 /meta/recipes-devtools/gcc/gcc-4.7/mips64-default-n64.patch | |
parent | fbfa7b75de31dc46c57a9b3635d75742162e1681 (diff) | |
download | poky-6174900a0e949c00c5a683f080b0cae73fdeb10b.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.7/mips64-default-n64.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.7/mips64-default-n64.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.7/mips64-default-n64.patch b/meta/recipes-devtools/gcc/gcc-4.7/mips64-default-n64.patch new file mode 100644 index 0000000000..a42569e058 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.7/mips64-default-n64.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | MIPS64 defaults to n32 ABI, this patch makes it | ||
2 | so that it defaults to N64 ABI | ||
3 | |||
4 | Upstream-Status: Inappropriate [OE config specific] | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | Index: gcc-4_7-branch/gcc/config.gcc | ||
8 | =================================================================== | ||
9 | --- gcc-4_7-branch.orig/gcc/config.gcc 2012-04-22 19:30:21.000000000 -0700 | ||
10 | +++ gcc-4_7-branch/gcc/config.gcc 2012-04-22 21:09:57.783403173 -0700 | ||
11 | @@ -1750,7 +1750,7 @@ | ||
12 | mips64*-*-linux* | mipsisa64*-*-linux*) | ||
13 | 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" | ||
14 | tmake_file="${tmake_file} mips/t-linux64" | ||
15 | - tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_N32" | ||
16 | + tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_64" | ||
17 | case ${target} in | ||
18 | mips64el-st-linux-gnu) | ||
19 | tm_file="${tm_file} mips/st.h" | ||