patches/glibc/2.3.6/310-_begin-missing.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jan 13 23:20:39 2011 +0100 (2011-01-13)
branch1.9
changeset 2263 2b25e1dab615
permissions -rw-r--r--
complibs/cloog: regenerate autostuff files

Latest version of CLooG does not have properly generated autoconf files,
so they need to be regenerated before the call to ./configure

Signed-off-by: "Ilya A. Volynets-Evenbakh" <ilya@total-knowlege.com>
[yann.morin.1998@anciens.enib.fr: make it conditional on 0.15.10 only]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 32c7bbfa3f6514a0fbd5a7388d33e664ba62ed89)
lacombar@2068
     1
diff -ru glibc-2.3.6/elf/Makefile glibc-2.3.6.patched/elf/Makefile
lacombar@2068
     2
--- glibc-2.3.6/elf/Makefile	2010-05-02 18:58:38.000000000 -0400
lacombar@2068
     3
+++ glibc-2.3.6.patched/elf/Makefile	2010-05-02 18:54:54.000000000 -0400
lacombar@2068
     4
@@ -292,7 +292,7 @@
lacombar@2068
     5
 		  $(LDFLAGS-rtld) -Wl,-z,defs -Wl,--verbose 2>&1 |	\
lacombar@2068
     6
 		  LC_ALL=C \
lacombar@2068
     7
 		  sed -e '/^=========/,/^=========/!d;/^=========/d'	\
lacombar@2068
     8
-		      -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
lacombar@2068
     9
+		      -e 's/\. = .* + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
lacombar@2068
    10
 		  > $@.lds
lacombar@2068
    11
 	$(LINK.o) -nostdlib -nostartfiles -shared -o $@			\
lacombar@2068
    12
 		  $(LDFLAGS-rtld) -Wl,-z,defs $(z-now-$(bind-now))	\