diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-06-28 12:19:53 -0700 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-07-09 18:40:21 +0200 |
commit | 6b278fbb02d818b54b5a9fa2716fc49e896b72a8 (patch) | |
tree | 833783fb738ff7abf3d0e3029c9a468e73b06e28 /toolchain-layer/recipes-devtools/gcc/gcc-4.6/mips64-default-n64.patch | |
parent | 680af24d1ff95533db610176e6b01fcc9dcf6699 (diff) | |
download | meta-openembedded-6b278fbb02d818b54b5a9fa2716fc49e896b72a8.tar.gz |
gcc-4.6: Migrate recipes from OE-Core
Remove linaro patches. If one needs to use linaro
modified gcc they should use meta-linaro
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/gcc-4.6/mips64-default-n64.patch')
-rw-r--r-- | toolchain-layer/recipes-devtools/gcc/gcc-4.6/mips64-default-n64.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/gcc-4.6/mips64-default-n64.patch b/toolchain-layer/recipes-devtools/gcc/gcc-4.6/mips64-default-n64.patch new file mode 100644 index 000000000..bf930ec36 --- /dev/null +++ b/toolchain-layer/recipes-devtools/gcc/gcc-4.6/mips64-default-n64.patch | |||
@@ -0,0 +1,32 @@ | |||
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_6-branch/gcc/config.gcc | ||
8 | =================================================================== | ||
9 | --- gcc-4_6-branch.orig/gcc/config.gcc 2012-04-22 19:12:12.431061229 -0700 | ||
10 | +++ gcc-4_6-branch/gcc/config.gcc 2012-04-22 19:13:36.307065289 -0700 | ||
11 | @@ -1882,7 +1882,7 @@ | ||
12 | mips64*-*-linux* | mipsisa64*-*-linux*) | ||
13 | tm_file="dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h ${tm_file} mips/linux.h mips/linux64.h" | ||
14 | tmake_file="${tmake_file} mips/t-linux64 mips/t-libgcc-mips16" | ||
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" | ||
20 | Index: gcc-4_6-branch/gcc/config/mips/linux64.h | ||
21 | =================================================================== | ||
22 | --- gcc-4_6-branch.orig/gcc/config/mips/linux64.h 2012-04-22 19:10:59.743057711 -0700 | ||
23 | +++ gcc-4_6-branch/gcc/config/mips/linux64.h 2012-04-22 19:11:56.919060479 -0700 | ||
24 | @@ -26,7 +26,7 @@ | ||
25 | BASE_DRIVER_SELF_SPECS, \ | ||
26 | LINUX_DRIVER_SELF_SPECS \ | ||
27 | " %{!EB:%{!EL:%(endian_spec)}}" \ | ||
28 | - " %{!mabi=*: -mabi=n32}" | ||
29 | + " %{!mabi=*: -mabi=64}" | ||
30 | |||
31 | #undef LIB_SPEC | ||
32 | #define LIB_SPEC "\ | ||