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

r4753 - in glibc-package/trunk/debian: . patches/hppa



Author: aurel32
Date: 2011-06-27 20:33:21 +0000 (Mon, 27 Jun 2011)
New Revision: 4753

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/hppa/submitted-nptl-carlos.diff
Log:
  * Fix patches/hppa/submitted-nptl-carlos.diff to correctly pass 
    --as-needed and --no-as-needed to the linker.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2011-06-27 18:40:41 UTC (rev 4752)
+++ glibc-package/trunk/debian/changelog	2011-06-27 20:33:21 UTC (rev 4753)
@@ -19,6 +19,8 @@
     compiler on pre-multiarch toolchains.
   * Replace sparc/submitted-ifunc2.diff by upstream version 
     any/cvs-ifunc.diff.
+  * Fix patches/hppa/submitted-nptl-carlos.diff to correctly pass 
+    --as-needed and --no-as-needed to the linker.
 
   [ Petr Salinger ]
   * kfreebsd/local-sysdeps.diff: update to revision 3467 (from glibc-bsd).

Modified: glibc-package/trunk/debian/patches/hppa/submitted-nptl-carlos.diff
===================================================================
--- glibc-package/trunk/debian/patches/hppa/submitted-nptl-carlos.diff	2011-06-27 18:40:41 UTC (rev 4752)
+++ glibc-package/trunk/debian/patches/hppa/submitted-nptl-carlos.diff	2011-06-27 20:33:21 UTC (rev 4753)
@@ -169,7 +169,7 @@
  CFLAGS-tst-oncex3.c += -fexceptions
  CFLAGS-tst-oncex4.c += -fexceptions
 +
-+ldflags-libgcc_s = --as-needed -lgcc_s --no-as-needed
++ldflags-libgcc_s = -Wl,--as-needed -lgcc_s -Wl,--no-as-needed
 +LDFLAGS-tst-cancelx2 += $(ldflags-libgcc_s)
 +LDFLAGS-tst-cancelx3 += $(ldflags-libgcc_s)
 +LDFLAGS-tst-cancelx4 += $(ldflags-libgcc_s)
@@ -217,7 +217,7 @@
  
  ifeq ($(have-forced-unwind),yes)
  tests += tst-mqueue8x
-+ldflags-libgcc_s = --as-needed -lgcc_s --no-as-needed
++ldflags-libgcc_s = -Wl,--as-needed -lgcc_s -Wl,--no-as-needed
  CFLAGS-tst-mqueue8x.c += -fexceptions
 +LDFLAGS-tst-mqueue8x += $(ldflags-libgcc_s) 
  endif


Reply to: