patches/glibc/ports-2.13/530-alpha-fix-rtld-fPIC.patch
author Titus von Boxberg <titus@v9g.de>
Tue Nov 06 17:02:06 2012 +0100 (2012-11-06)
changeset 3103 a8bf927f6e37
permissions -rw-r--r--
Makefile.in: Use only standard options compatible with BSD install

Don't use options specific to FSF's coreutils install.

Signed-off-by: Titus von Boxberg <titus@v9g.de>
Message-Id: <51587db99510a9ec08f8.1352226968@tschetwerikow.boxberg.lan>
Patchwork-Id: 197532
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