SOURCES: uClibc-toolchain-wrapper.patch - filter out -Wl, -z, -combreloc (cau...

baggins baggins at pld-linux.org
Sat Mar 14 02:25:19 CET 2009


Author: baggins                      Date: Sat Mar 14 01:25:19 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- filter out -Wl,-z,-combreloc (causes linking to be done against glibc not uclibc)
- filter out -Wl,-z,-relro for ppc

---- Files affected:
SOURCES:
   uClibc-toolchain-wrapper.patch (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SOURCES/uClibc-toolchain-wrapper.patch
diff -u SOURCES/uClibc-toolchain-wrapper.patch:1.10 SOURCES/uClibc-toolchain-wrapper.patch:1.11
--- SOURCES/uClibc-toolchain-wrapper.patch:1.10	Sat Mar 14 02:09:27 2009
+++ SOURCES/uClibc-toolchain-wrapper.patch	Sat Mar 14 02:25:14 2009
@@ -1,7 +1,7 @@
 diff -urN uClibc-0.9.29.org/extra/gcc-uClibc/gcc-uClibc.c uClibc-0.9.29/extra/gcc-uClibc/gcc-uClibc.c
 --- uClibc-0.9.29.org/extra/gcc-uClibc/gcc-uClibc.c	1970-01-01 01:00:00.000000000 +0100
 +++ uClibc-0.9.29/extra/gcc-uClibc/gcc-uClibc.c	2007-06-03 22:10:49.372320596 +0200
-@@ -0,0 +1,668 @@
+@@ -0,0 +1,674 @@
 +/* vi: set sw=4 ts=4: */
 +/*
 + * Copyright (C) 2000 Manuel Novoa III
@@ -395,6 +395,12 @@
 +						}
 +						if (strstr(argv[i],"--dynamic-linker") != 0) {
 +							dlstr = 0;
++						}
++						if (strstr(argv[i],"-z,-combreloc") != 0) {
++							argv[i] = '\0';
++						}
++						if (strstr(argv[i],"-z,relro") != 0) {
++							argv[i] = '\0';
 +						}
 +					}
 +					break;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/uClibc-toolchain-wrapper.patch?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list