source:
patches/gcc-4.2.1-powerpc64_multilib-1.patch@
73bc173
Last change on this file since 73bc173 was 01dba47, checked in by , 17 years ago | |
---|---|
|
|
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 7 7 8 8 TARGET_LIBGCC2_CFLAGS += -mno-minimal-toc 9 9 10 MULTILIB_OPTIONS = m64/m32 msoft-float11 MULTILIB_DIRNAMES = 64 32 nof10 MULTILIB_OPTIONS = m64/m32 11 MULTILIB_DIRNAMES = 64 32 12 12 MULTILIB_EXTRA_OPTS = fPIC mstrict-align 13 MULTILIB_EXCEPTIONS = m64/msoft-float14 MULTILIB_EXCLUSIONS = m64/!m32/msoft-float15 MULTILIB_OSDIRNAMES = ../lib64 ../lib nof16 MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT)13 MULTILIB_EXCEPTIONS = 14 MULTILIB_EXCLUSIONS = 15 MULTILIB_OSDIRNAMES = ../lib64 ../lib 16 MULTILIB_MATCHES = 17 17 18 18 softfp_wrap_start := '\#ifndef __powerpc64__' 19 19 softfp_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 4 LIB2FUNCS_EXTRA += tramp.S $(srcdir)/config/rs6000/ppc64-fp.c \ 5 $(srcdir)/config/rs6000/darwin-ldouble.c 6 LIB2FUNCS_EXTRA := $(sort $(LIB2FUNCS_EXTRA)) 7 8 TARGET_LIBGCC2_CFLAGS += -mno-minimal-toc 9 10 MULTILIB_OPTIONS = m64/m32 msoft-float 11 MULTILIB_DIRNAMES = 64 32 nof 12 MULTILIB_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) 17 18 softfp_wrap_start := '\#ifndef __powerpc64__' 19 softfp_wrap_end := '\#endif'
Note:
See TracBrowser
for help on using the repository browser.