[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r1535 - in glibc-package/trunk/debian: . patches patches/powerpc



Author: aurel32
Date: 2006-05-27 07:55:34 +0000 (Sat, 27 May 2006)
New Revision: 1535

Added:
   glibc-package/trunk/debian/patches/powerpc/cvs-gcc41-initfini.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * Add debian/patches/powerpc/cvs-gcc41-initfini.diff (fix build with gcc 4.1
    on powerpc) from upstream CVS.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2006-05-27 02:55:04 UTC (rev 1534)
+++ glibc-package/trunk/debian/changelog	2006-05-27 07:55:34 UTC (rev 1535)
@@ -26,6 +26,8 @@
     arm build daemons are still running a 2.4 kernel.
   * patches/kfreebsd/local-sysdeps.diff: update to revision 1577 (from
     glibc-bsd).
+  * Add debian/patches/powerpc/cvs-gcc41-initfini.diff (fix build with gcc 4.1
+    on powerpc) from upstream CVS.
 
   [ Denis Barbier ]
   * Add patches/all/submitted-new-brf-encoding.diff: Add new BRF encoding

Added: glibc-package/trunk/debian/patches/powerpc/cvs-gcc41-initfini.diff
===================================================================
--- glibc-package/trunk/debian/patches/powerpc/cvs-gcc41-initfini.diff	2006-05-27 02:55:04 UTC (rev 1534)
+++ glibc-package/trunk/debian/patches/powerpc/cvs-gcc41-initfini.diff	2006-05-27 07:55:34 UTC (rev 1535)
@@ -0,0 +1,64 @@
+2005-08-03  Dwayne Grant McConnell  <dgm69@us.ibm.com>
+
+        * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s):
+        Use +=, not =, to append.  Remove duplicate flags.
+        * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
+        Likewise.  Fix comments.
+
+===================================================================
+RCS file: /cvs/glibc/libc/sysdeps/powerpc/powerpc32/Makefile,v
+retrieving revision 1.5
+retrieving revision 1.6
+diff -u -r1.5 -r1.6
+--- libc/sysdeps/powerpc/powerpc32/Makefile	2003/10/22 21:30:02	1.5
++++ libc/sysdeps/powerpc/powerpc32/Makefile	2005/08/04 21:35:43	1.6
+@@ -21,7 +21,7 @@
+ ifneq ($(elf),no)
+ # The initfini generation code doesn't work in the presence of -fPIC, so
+ # we use -fpic instead which is much better.
+-CFLAGS-initfini.s = -g0 -fpic -O1
++CFLAGS-initfini.s += -fpic -O1
+ 
+ # There is no benefit to using sdata for these objects, and the user
+ # of the library should be able to control what goes into sdata.
+
+===================================================================
+RCS file: /cvs/glibc/libc/sysdeps/powerpc/powerpc64/Makefile,v
+retrieving revision 1.5
+retrieving revision 1.6
+diff -u -r1.5 -r1.6
+--- libc/sysdeps/powerpc/powerpc64/Makefile	2004/10/06 22:05:14	1.5
++++ libc/sysdeps/powerpc/powerpc64/Makefile	2005/08/04 21:35:44	1.6
+@@ -12,9 +12,9 @@
+ 
+ ifeq ($(subdir),csu)
+ ifneq ($(elf),no)
+-# The initfini generation code doesn't work in the presence of -g1 or
+-# higher, so we use -g0.
+-CFLAGS-initfini.s = -g0 -fpic -O1
++# The initfini generation code doesn't work in the presence of -fPIC, so
++# we use -fpic instead which is much better.
++CFLAGS-initfini.s += -fpic -O1
+ endif
+ endif
+ 
+2006-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+        * sysdeps/powerpc/Makefile (CFLAGS-pt-initfini.s): Use +=, not =, to
+        append.  Remove duplicate flags.
+
+===================================================================
+RCS file: /cvs/glibc/linuxthreads/linuxthreads/sysdeps/powerpc/Makefile,v
+retrieving revision 1.2
+retrieving revision 1.3
+diff -u -r1.2 -r1.3
+--- linuxthreads/linuxthreads/sysdeps/powerpc/Makefile	2003/02/17 20:33:17	1.2
++++ linuxthreads/linuxthreads/sysdeps/powerpc/Makefile	2006/04/26 15:46:42	1.3
+@@ -1,6 +1,6 @@
+ ifeq ($(subdir):$(elf),linuxthreads:yes)
+ # See CFLAGS-initfini.s above; this is the same code.
+-CFLAGS-pt-initfini.s = -g0 -fpic -O1
++CFLAGS-pt-initfini.s += -fpic -O1
+ endif
+ ifeq ($(subdir),csu)
+ gen-as-const-headers += tcb-offsets.sym

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2006-05-27 02:55:04 UTC (rev 1534)
+++ glibc-package/trunk/debian/patches/series	2006-05-27 07:55:34 UTC (rev 1535)
@@ -103,6 +103,7 @@
 mips/local-lazy-eval.diff -p2
 mips/submitted-msq.diff -p0
 
+powerpc/cvs-gcc41-initfini.diff -p1
 powerpc/cvs-executable-got.diff -p0
 powerpc/local-sysconf.diff -p1
 powerpc/submitted-socket-weakalias.diff -p0



Reply to: