source: scripts/patches/gcc-3.4.0-arm-lib1asm.patch@ 23bc3bd4

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 23bc3bd4 was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
File size: 1.5 KB
  • gcc/config/arm/t-linux

    # Origin: from a patch by Dimitry Andric <dimitry@andric.com>, 2004-05-01
    # See http://gcc.gnu.org/PR14352 and http://gcc.gnu.org/PR16314
    # See also http://gcc.gnu.org/ml/gcc-patches/2004-08/msg02568.html et seq for why this isn't in mainline
    # Fixes errors like the following when building glibc (or any other executable
    # or shared library) when using gcc 3.4.0 for ARM with softfloat:
    #
    # .../libc_pic.os(.text+0x15834): In function `__modf': undefined reference to `__subdf3'
    # .../libc_pic.os(.text+0x158b8): In function `__modf': undefined reference to `__subdf3'
    # .../libc_pic.os(.text+0x1590c): In function `scalbn': undefined reference to `__muldf3'
    # .../libc_pic.os(.text+0x15e94): In function `__ldexpf': undefined reference to `__eqsf2'
    # .../libc_pic.os(.text+0xcee4c): In function `monstartup': undefined reference to `__fixsfsi'
    
    diff -urNd gcc-3.4.0-orig/gcc/config/arm/t-linux gcc-3.4.0/gcc/config/arm/t-linux
    old new  
    44LIBGCC2_DEBUG_CFLAGS = -g0
    55
    66LIB1ASMSRC = arm/lib1funcs.asm
    7 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx
     7LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx \
     8        _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \
     9        _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
     10        _fixsfsi _fixunssfsi
    811
    912# MULTILIB_OPTIONS = mhard-float/msoft-float
    1013# MULTILIB_DIRNAMES = hard-float soft-float
Note: See TracBrowser for help on using the repository browser.