patches/glibc/ports-2.13/530-alpha-fix-rtld-fPIC.patch
changeset 2438 2ba5655f6297
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/ports-2.13/530-alpha-fix-rtld-fPIC.patch	Tue May 03 00:19:56 2011 +0200
     1.3 @@ -0,0 +1,21 @@
     1.4 +2009-05-26  Aurelien Jarno  <aurelien@aurel32.net>
     1.5 +
     1.6 +	* sysdeps/alpha/Makefile (CFLAGS-rtld.c): add $(PIC-ccflag).
     1.7 +
     1.8 + ports/sysdeps/alpha/Makefile |    3 ++-
     1.9 + 1 file changed, 2 insertions(+), 1 deletion(-)
    1.10 +
    1.11 +diff -durN glibc-2.13.orig/glibc-ports-2.13/sysdeps/alpha/Makefile glibc-2.13/glibc-ports-2.13/sysdeps/alpha/Makefile
    1.12 +--- glibc-2.13.orig/glibc-ports-2.13/sysdeps/alpha/Makefile	2009-05-16 10:36:20.000000000 +0200
    1.13 ++++ glibc-2.13/glibc-ports-2.13/sysdeps/alpha/Makefile	2009-11-13 00:51:13.000000000 +0100
    1.14 +@@ -35,7 +35,8 @@
    1.15 + 
    1.16 + ifeq ($(subdir),elf)
    1.17 + # The ld.so startup code cannot use literals until it self-relocates.
    1.18 +-CFLAGS-rtld.c = -mbuild-constants
    1.19 ++# It uses more than 64k for the small data area.
    1.20 ++CFLAGS-rtld.c = -mbuild-constants $(PIC-ccflag)
    1.21 + endif
    1.22 + 
    1.23 + # Build everything with full IEEE math support, and with dynamic rounding;
    1.24 +diff -durN glibc-2.13.orig/ports/sysdeps/alpha/Makefile glibc-2.13/ports/sysdeps/alpha/Makefile