diff options
| author | Khem Raj <raj.khem@gmail.com> | 2012-02-23 19:14:58 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-30 11:37:24 +0100 |
| commit | aafa59064b9409e3ce06bf334ca250fc2c483acb (patch) | |
| tree | 1bd0f82a6812d154785f849c511771852ab1bf3a /meta/recipes-devtools/gcc/gcc-4.7/arm-nolibfloat.patch | |
| parent | 173f424808b935f5db99905bf5af307990d87107 (diff) | |
| download | poky-aafa59064b9409e3ce06bf334ca250fc2c483acb.tar.gz | |
gcc-4.7: Add recipes
Add new recipes for gcc-4_7-branch right now gcc 4.7.0
is latest release from this branch
(From OE-Core rev: 3f8fee75e598ad0994acc5da0a612e6eca4f35f6)
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/arm-nolibfloat.patch')
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.7/arm-nolibfloat.patch | 40 |
1 files changed, 40 insertions, 0 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 new file mode 100644 index 0000000000..901f014ed7 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.7/arm-nolibfloat.patch | |||
| @@ -0,0 +1,40 @@ | |||
| 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. | ||
