Skip to content

Commit

Permalink
crosstool-ng bundle: 0002-arm-softfloat-libgcc.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
antmak committed Apr 12, 2022
1 parent 3569e49 commit 3afc424
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gcc/config/arm/linux-elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
%{shared:-lc} \
%{!shared:%{profile:-lc_p}%{!profile:-lc}}"

#define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc"
#define LIBGCC_SPEC "-lgcc"

#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"

Expand Down
7 changes: 6 additions & 1 deletion libgcc/config/arm/t-linux
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
LIB1ASMSRC = arm/lib1funcs.S
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \
_ctzsi2 _arm_addsubdf3 _arm_addsubsf3
_ctzsi2 _arm_addsubdf3 _arm_addsubsf3 \
_arm_addsubdf3 _arm_addsubsf3 \
_arm_negdf2 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \
_arm_fixdfsi _arm_fixunsdfsi _arm_truncdfsf2 \
_arm_negsf2 _arm_muldivsf3 _arm_cmpsf2 _arm_unordsf2 \
_arm_fixsfsi _arm_fixunssfsi

# Just for these, we omit the frame pointer since it makes such a big
# difference.
Expand Down

0 comments on commit 3afc424

Please sign in to comment.