patches/glibc/2.3.6/310-_begin-missing.patch
author Andy Gibbs <andyg1001@hotmail.co.uk>
Mon Nov 01 01:12:39 2010 +0100 (2010-11-01)
changeset 2170 4f8aa694f9c0
permissions -rw-r--r--
contrib: fix gcc test suite on system without echo -e

Fix the use of quotes in contrib/gcc-test-suite/Makefile to solve the
problem where board.exp is incorrectly generated on some build systems
where 'echo -e' is not handled correctly.

Signed-off-by: Andy Gibbs <andyg1001@hotmail.co.uk>
[Yann E. MORIN: fix space damage, pretty-up the stuff]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 diff -ru glibc-2.3.6/elf/Makefile glibc-2.3.6.patched/elf/Makefile
     2 --- glibc-2.3.6/elf/Makefile	2010-05-02 18:58:38.000000000 -0400
     3 +++ glibc-2.3.6.patched/elf/Makefile	2010-05-02 18:54:54.000000000 -0400
     4 @@ -292,7 +292,7 @@
     5  		  $(LDFLAGS-rtld) -Wl,-z,defs -Wl,--verbose 2>&1 |	\
     6  		  LC_ALL=C \
     7  		  sed -e '/^=========/,/^=========/!d;/^=========/d'	\
     8 -		      -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
     9 +		      -e 's/\. = .* + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
    10  		  > $@.lds
    11  	$(LINK.o) -nostdlib -nostartfiles -shared -o $@			\
    12  		  $(LDFLAGS-rtld) -Wl,-z,defs $(z-now-$(bind-now))	\