source: patches/gcc-4.2.2-powerpc64_multilib-1.patch@ 6d2a40a

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 6d2a40a was 5a90148, checked in by Jim Gifford <clfs@…>, 17 years ago

Added: gcc 4.2.2 patches

  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[08c058a]1Submitted By: Ken Moffat (ken at linuxfromscratch dot org)
2Origin: fedora
3 Rediffed against 4.1.0 by Chris Staub
4 Rediffed against 4.2.0 by Joe Ciccone
5Date: 2005-11-22
6Initial package version: 4.0.2
7Description: In a native ppc64 build, this fixes a linkage failure while
8installing a 32-bit nof/ (no -hardware- floating point) library, and also gets
9rid of 1500 failures in the g++ testsuite. From fedora gcc-4.0.1, rediffed to
10apply with -p1.
11
12diff -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'
35diff -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'
Note: See TracBrowser for help on using the repository browser.