[08c058a] | 1 | Submitted By: Ken Moffat (ken at linuxfromscratch dot org) |
---|
| 2 | Origin: fedora |
---|
| 3 | Rediffed against 4.1.0 by Chris Staub |
---|
| 4 | Rediffed against 4.2.0 by Joe Ciccone |
---|
| 5 | Date: 2005-11-22 |
---|
| 6 | Initial package version: 4.0.2 |
---|
| 7 | Description: In a native ppc64 build, this fixes a linkage failure while |
---|
| 8 | installing a 32-bit nof/ (no -hardware- floating point) library, and also gets |
---|
| 9 | rid of 1500 failures in the g++ testsuite. From fedora gcc-4.0.1, rediffed to |
---|
| 10 | apply with -p1. |
---|
| 11 | |
---|
| 12 | diff -Naur gcc-4.2.0.orig/gcc/config/rs6000/t-linux64 gcc-4.2.0/gcc/config/rs6000/t-linux64 |
---|
| 13 | --- gcc-4.2.0.orig/gcc/config/rs6000/t-linux64 2007-05-16 19:21:19.000000000 -0400 |
---|
| 14 | +++ gcc-4.2.0/gcc/config/rs6000/t-linux64 2007-05-16 19:51:48.000000000 -0400 |
---|
| 15 | @@ -7,13 +7,13 @@ |
---|
| 16 | |
---|
| 17 | TARGET_LIBGCC2_CFLAGS += -mno-minimal-toc |
---|
| 18 | |
---|
| 19 | -MULTILIB_OPTIONS = m64/m32 msoft-float |
---|
| 20 | -MULTILIB_DIRNAMES = 64 32 nof |
---|
| 21 | +MULTILIB_OPTIONS = m64/m32 |
---|
| 22 | +MULTILIB_DIRNAMES = 64 32 |
---|
| 23 | MULTILIB_EXTRA_OPTS = fPIC mstrict-align |
---|
| 24 | -MULTILIB_EXCEPTIONS = m64/msoft-float |
---|
| 25 | -MULTILIB_EXCLUSIONS = m64/!m32/msoft-float |
---|
| 26 | -MULTILIB_OSDIRNAMES = ../lib64 ../lib nof |
---|
| 27 | -MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT) |
---|
| 28 | +MULTILIB_EXCEPTIONS = |
---|
| 29 | +MULTILIB_EXCLUSIONS = |
---|
| 30 | +MULTILIB_OSDIRNAMES = ../lib64 ../lib |
---|
| 31 | +MULTILIB_MATCHES = |
---|
| 32 | |
---|
| 33 | softfp_wrap_start := '\#ifndef __powerpc64__' |
---|
| 34 | softfp_wrap_end := '\#endif' |
---|
| 35 | diff -Naur gcc-4.2.0.orig/gcc/config/rs6000/t-linux64.orig gcc-4.2.0/gcc/config/rs6000/t-linux64.orig |
---|
| 36 | --- gcc-4.2.0.orig/gcc/config/rs6000/t-linux64.orig 1969-12-31 19:00:00.000000000 -0500 |
---|
| 37 | +++ gcc-4.2.0/gcc/config/rs6000/t-linux64.orig 2007-05-16 19:51:40.000000000 -0400 |
---|
| 38 | @@ -0,0 +1,19 @@ |
---|
| 39 | + |
---|
| 40 | +#rs6000/t-linux64 |
---|
| 41 | + |
---|
| 42 | +LIB2FUNCS_EXTRA += tramp.S $(srcdir)/config/rs6000/ppc64-fp.c \ |
---|
| 43 | + $(srcdir)/config/rs6000/darwin-ldouble.c |
---|
| 44 | +LIB2FUNCS_EXTRA := $(sort $(LIB2FUNCS_EXTRA)) |
---|
| 45 | + |
---|
| 46 | +TARGET_LIBGCC2_CFLAGS += -mno-minimal-toc |
---|
| 47 | + |
---|
| 48 | +MULTILIB_OPTIONS = m64/m32 msoft-float |
---|
| 49 | +MULTILIB_DIRNAMES = 64 32 nof |
---|
| 50 | +MULTILIB_EXTRA_OPTS = fPIC mstrict-align |
---|
| 51 | +MULTILIB_EXCEPTIONS = m64/msoft-float |
---|
| 52 | +MULTILIB_EXCLUSIONS = m64/!m32/msoft-float |
---|
| 53 | +MULTILIB_OSDIRNAMES = ../lib64 ../lib nof |
---|
| 54 | +MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT) |
---|
| 55 | + |
---|
| 56 | +softfp_wrap_start := '\#ifndef __powerpc64__' |
---|
| 57 | +softfp_wrap_end := '\#endif' |
---|