diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-08-15 23:12:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-21 12:15:31 +0100 |
commit | b0faebd1f07e1616004bd19664395932e7c2c48f (patch) | |
tree | b22560eca81f271e91e0712cb9a2026460f610d0 /meta/recipes-devtools/gcc/gcc-4.7 | |
parent | 91746bab6b29bd7610ae08dfadd6a869c504c62d (diff) | |
download | poky-b0faebd1f07e1616004bd19664395932e7c2c48f.tar.gz |
gcc-cross: Make gcc-cross-initial as the only intermediate gcc stage
Now glibc can be compiled with gcc-cross-initial therefore prepare
the stage to drop gcc-cross-intermediate
Also drop arm-nolibfloat.patch should not be needed anymore
half of changes in this patch are meant for OABI which we dont
use anymore
(From OE-Core rev: 30617bde61a3b0a0944b49a0c9fb7159dacbb19f)
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')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.7/arm-nolibfloat.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.7/arm-nolibfloat.patch b/meta/recipes-devtools/gcc/gcc-4.7/arm-nolibfloat.patch deleted file mode 100644 index 901f014ed7..0000000000 --- a/meta/recipes-devtools/gcc/gcc-4.7/arm-nolibfloat.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | # Dimitry Andric <dimitry@andric.com>, 2004-05-01 | ||
4 | # | ||
5 | # * Removed the extra -lfloat option from LIBGCC_SPEC, since it isn't needed | ||
6 | # anymore. (The required functions are now in libgcc.) | ||
7 | # | ||
8 | # Fixes errors like | ||
9 | # arm-softfloat-linux-gnu/3.4.0/../../../../arm-softfloat-linux-gnu/bin/ld: cannot find -lfloat | ||
10 | # collect2: ld returned 1 exit status | ||
11 | # make[2]: *** [arm-softfloat-linux-gnu/gcc-3.4.0-glibc-2.3.2/build-glibc/iconvdata/ISO8859-1.so] Error 1 | ||
12 | # when building glibc-2.3.3 with gcc-3.4.0 for arm-softfloat | ||
13 | |||
14 | Index: trunk/gcc/config/arm/linux-elf.h | ||
15 | =================================================================== | ||
16 | --- trunk.orig/gcc/config/arm/linux-elf.h 2012-02-22 12:04:30.644385926 -0800 | ||
17 | +++ trunk/gcc/config/arm/linux-elf.h 2012-02-22 12:04:30.764385931 -0800 | ||
18 | @@ -57,7 +57,7 @@ | ||
19 | %{shared:-lc} \ | ||
20 | %{!shared:%{profile:-lc_p}%{!profile:-lc}}" | ||
21 | |||
22 | -#define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc" | ||
23 | +#define LIBGCC_SPEC "-lgcc" | ||
24 | |||
25 | #define GLIBC_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-linux.so.2" | ||
26 | |||
27 | Index: trunk/libgcc/config/arm/t-linux | ||
28 | =================================================================== | ||
29 | --- trunk.orig/libgcc/config/arm/t-linux 2012-02-22 12:11:48.372407121 -0800 | ||
30 | +++ trunk/libgcc/config/arm/t-linux 2012-02-22 12:13:19.868411588 -0800 | ||
31 | @@ -1,6 +1,8 @@ | ||
32 | LIB1ASMSRC = arm/lib1funcs.S | ||
33 | LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \ | ||
34 | - _arm_addsubdf3 _arm_addsubsf3 | ||
35 | + _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \ | ||
36 | + _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \ | ||
37 | + _fixsfsi _fixunssfsi _floatdidf _floatundidf _floatdisf _floatundisf | ||
38 | |||
39 | # Just for these, we omit the frame pointer since it makes such a big | ||
40 | # difference. | ||