patches/glibc/ports-2.13/530-alpha-fix-rtld-fPIC.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Sep 21 22:42:35 2011 +0200 (2011-09-21)
changeset 2677 7df89370f805
permissions -rw-r--r--
kernel/linux: add alternate download locations

Since kernel.org is dead, and there is no announced or known estimated
time or return to normality, it is impossible to download any kernel at
this time.

Add a known-working mirror.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@2438
     1
2009-05-26  Aurelien Jarno  <aurelien@aurel32.net>
yann@2438
     2
yann@2438
     3
	* sysdeps/alpha/Makefile (CFLAGS-rtld.c): add $(PIC-ccflag).
yann@2438
     4
yann@2438
     5
 ports/sysdeps/alpha/Makefile |    3 ++-
yann@2438
     6
 1 file changed, 2 insertions(+), 1 deletion(-)
yann@2438
     7
yann@2438
     8
diff -durN glibc-2.13.orig/glibc-ports-2.13/sysdeps/alpha/Makefile glibc-2.13/glibc-ports-2.13/sysdeps/alpha/Makefile
yann@2438
     9
--- glibc-2.13.orig/glibc-ports-2.13/sysdeps/alpha/Makefile	2009-05-16 10:36:20.000000000 +0200
yann@2438
    10
+++ glibc-2.13/glibc-ports-2.13/sysdeps/alpha/Makefile	2009-11-13 00:51:13.000000000 +0100
yann@2438
    11
@@ -35,7 +35,8 @@
yann@2438
    12
 
yann@2438
    13
 ifeq ($(subdir),elf)
yann@2438
    14
 # The ld.so startup code cannot use literals until it self-relocates.
yann@2438
    15
-CFLAGS-rtld.c = -mbuild-constants
yann@2438
    16
+# It uses more than 64k for the small data area.
yann@2438
    17
+CFLAGS-rtld.c = -mbuild-constants $(PIC-ccflag)
yann@2438
    18
 endif
yann@2438
    19
 
yann@2438
    20
 # Build everything with full IEEE math support, and with dynamic rounding;
yann@2438
    21
diff -durN glibc-2.13.orig/ports/sysdeps/alpha/Makefile glibc-2.13/ports/sysdeps/alpha/Makefile