source: patches/gcc-4.2.1-powerpc64_multilib-1.patch@ a063414

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since a063414 was 01dba47, checked in by Joe Ciccone <jciccone@…>, 17 years ago

Update patches.

  • Property mode set to 100644
File size: 2.2 KB
  • gcc/config/rs6000/t-linux64

    Submitted By: Ken Moffat (ken at linuxfromscratch dot org)
    Origin: fedora
            Rediffed against 4.1.0 by Chris Staub
    	Rediffed against 4.2.0 by Joe Ciccone
    Date: 2005-11-22
    Initial package version: 4.0.2
    Description: In a native ppc64 build, this fixes a linkage failure while
    installing a 32-bit nof/ (no -hardware- floating point) library, and also gets
    rid of 1500 failures in the g++ testsuite.  From fedora gcc-4.0.1, rediffed to
    apply with -p1.
    
    diff -Naur gcc-4.2.0.orig/gcc/config/rs6000/t-linux64 gcc-4.2.0/gcc/config/rs6000/t-linux64
    old new  
    77
    88TARGET_LIBGCC2_CFLAGS += -mno-minimal-toc
    99
    10 MULTILIB_OPTIONS        = m64/m32 msoft-float
    11 MULTILIB_DIRNAMES       = 64 32 nof
     10MULTILIB_OPTIONS        = m64/m32
     11MULTILIB_DIRNAMES       = 64 32
    1212MULTILIB_EXTRA_OPTS     = fPIC mstrict-align
    13 MULTILIB_EXCEPTIONS     = m64/msoft-float
    14 MULTILIB_EXCLUSIONS     = m64/!m32/msoft-float
    15 MULTILIB_OSDIRNAMES     = ../lib64 ../lib nof
    16 MULTILIB_MATCHES        = $(MULTILIB_MATCHES_FLOAT)
     13MULTILIB_EXCEPTIONS     =
     14MULTILIB_EXCLUSIONS     =
     15MULTILIB_OSDIRNAMES     = ../lib64 ../lib
     16MULTILIB_MATCHES        =
    1717
    1818softfp_wrap_start := '\#ifndef __powerpc64__'
    1919softfp_wrap_end := '\#endif'
  • gcc/config/rs6000/t-linux64.orig

    diff -Naur gcc-4.2.0.orig/gcc/config/rs6000/t-linux64.orig gcc-4.2.0/gcc/config/rs6000/t-linux64.orig
    old new  
     1
     2#rs6000/t-linux64
     3
     4LIB2FUNCS_EXTRA += tramp.S $(srcdir)/config/rs6000/ppc64-fp.c \
     5        $(srcdir)/config/rs6000/darwin-ldouble.c
     6LIB2FUNCS_EXTRA := $(sort $(LIB2FUNCS_EXTRA))
     7
     8TARGET_LIBGCC2_CFLAGS += -mno-minimal-toc
     9
     10MULTILIB_OPTIONS        = m64/m32 msoft-float
     11MULTILIB_DIRNAMES       = 64 32 nof
     12MULTILIB_EXTRA_OPTS     = fPIC mstrict-align
     13MULTILIB_EXCEPTIONS     = m64/msoft-float
     14MULTILIB_EXCLUSIONS     = m64/!m32/msoft-float
     15MULTILIB_OSDIRNAMES     = ../lib64 ../lib nof
     16MULTILIB_MATCHES        = $(MULTILIB_MATCHES_FLOAT)
     17
     18softfp_wrap_start := '\#ifndef __powerpc64__'
     19softfp_wrap_end := '\#endif'
Note: See TracBrowser for help on using the repository browser.