source:
clfs-embedded/patches/gcc-4.6.0-uclibc-arm-softfloat-2.patch@
2cfff80
Last change on this file since 2cfff80 was 7f87fed, checked in by , 14 years ago | |
---|---|
|
|
File size: 2.2 KB |
-
gcc/config/arm/linux-elf.h
Submitted By: Andrew Bradford <bradfa@gmail.com> Date: 2011-04-12 Initial Package Version: 4.6.0 Upstream Status: Modified From Buildroot (uClibc) Team Origin: http://git.buildroot.net/buildroot/tree/toolchain/gcc/4.5.2/810-arm-softfloat-libgcc.patch Description: This patch configures GCC to produce the required asm functions to enable soft floating point operation in libgcc for ARM systems using uClibc. GCC will use the file gcc/config/arm/ieee754-df.S where these routines are stored. This doesn't happen by default, thus requiring this patch. Modified from the Buildroot team's original as it wouldn't apply cleanly to GCC-4.6.0. Content is the same but with different offsets. diff -Nar '--unified=5' gcc-4.6.0.orig/gcc/config/arm/linux-elf.h gcc-4.6.0/gcc/config/arm/linux-elf.h
old new 58 58 #define LIB_SPEC \ 59 59 "%{pthread:-lpthread} \ 60 60 %{shared:-lc} \ 61 61 %{!shared:%{profile:-lc_p}%{!profile:-lc}}" 62 62 63 #define LIBGCC_SPEC " %{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat}-lgcc"63 #define LIBGCC_SPEC "-lgcc" 64 64 65 65 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" 66 66 67 67 #define LINUX_TARGET_LINK_SPEC "%{h*} \ 68 68 %{static:-Bstatic} \ -
gcc/config/arm/t-linux
diff -Nar '--unified=5' gcc-4.6.0.orig/gcc/config/arm/t-linux gcc-4.6.0/gcc/config/arm/t-linux
old new 21 21 # difference. 22 22 TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fPIC 23 23 24 24 LIB1ASMSRC = arm/lib1funcs.asm 25 25 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \ 26 _arm_addsubdf3 _arm_addsubsf3 26 _arm_addsubdf3 _arm_addsubsf3 \ 27 _arm_negdf2 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \ 28 _arm_fixdfsi _arm_fixunsdfsi _arm_truncdfsf2 \ 29 _arm_negsf2 _arm_muldivsf3 _arm_cmpsf2 _arm_unordsf2 \ 30 _arm_fixsfsi _arm_fixunssfsi 27 31 28 32 # MULTILIB_OPTIONS = mhard-float/msoft-float 29 33 # MULTILIB_DIRNAMES = hard-float soft-float 30 34 31 35 # EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
Note:
See TracBrowser
for help on using the repository browser.