diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-10-19 02:09:52 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-10-19 02:09:52 +0000 |
commit | f0f100551d198386be26e29201297f4c29e7d7fd (patch) | |
tree | a2e612eeeddb0fcfc652fe415fa74ca7b7fb67f2 /toolchain/gcc/patches/4.3.3+cs/810-arm-softfloat-libgcc.patch | |
parent | 279c5dad253eef51ce4f9673b4bb5f45db829c7d (diff) | |
download | upstream-f0f100551d198386be26e29201297f4c29e7d7fd.tar.gz upstream-f0f100551d198386be26e29201297f4c29e7d7fd.tar.bz2 upstream-f0f100551d198386be26e29201297f4c29e7d7fd.zip |
add a gcc variant based on gcc 4.3.3 with codesourcery enhancements
SVN-Revision: 18059
Diffstat (limited to 'toolchain/gcc/patches/4.3.3+cs/810-arm-softfloat-libgcc.patch')
-rw-r--r-- | toolchain/gcc/patches/4.3.3+cs/810-arm-softfloat-libgcc.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.3.3+cs/810-arm-softfloat-libgcc.patch b/toolchain/gcc/patches/4.3.3+cs/810-arm-softfloat-libgcc.patch new file mode 100644 index 0000000000..e3385d2ed0 --- /dev/null +++ b/toolchain/gcc/patches/4.3.3+cs/810-arm-softfloat-libgcc.patch @@ -0,0 +1,25 @@ +--- a/gcc/config/arm/t-linux ++++ b/gcc/config/arm/t-linux +@@ -3,7 +3,10 @@ + TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fPIC + + LIB1ASMSRC = arm/lib1funcs.asm +-LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx ++LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx \ ++ _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \ ++ _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \ ++ _fixsfsi _fixunssfsi _floatdidf _floatundidf _floatdisf _floatundisf + + # MULTILIB_OPTIONS = mhard-float/msoft-float + # MULTILIB_DIRNAMES = hard-float soft-float +--- a/gcc/config/arm/linux-elf.h ++++ b/gcc/config/arm/linux-elf.h +@@ -60,7 +60,7 @@ + %{shared:-lc} \ + %{!shared:%{profile:-lc_p}%{!profile:-lc}}" + +-#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc" ++#define LIBGCC_SPEC "-lgcc" + + #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" + |