aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-12 01:41:59 +0000
committerRoland McGrath <roland@gnu.org>1996-06-12 01:41:59 +0000
commitd7cf1621790751ae7aa69a29ba83efb8d086ed39 (patch)
treed4ce60b3260525632cb6e12a87f01f586df8f5c5 /sysdeps
parent9f9cd8224e0cba2cfefad66b3f2341c9fb3ea041 (diff)
downloadglibc-d7cf1621790751ae7aa69a29ba83efb8d086ed39.tar.xz
glibc-d7cf1621790751ae7aa69a29ba83efb8d086ed39.zip
Tue Jun 11 19:13:04 1996 Richard Henderson <rth@tamu.edu>
* sysdeps/alpha/Makefile [subdir elf]: Add -mno-fp-regs to sysdep-CFLAGS so that _dl_runtime_resolve doesn't have to save them. Add -mbuild-constants to CFLAGS-rtld.c to that we can bootstrap without using literal data.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/alpha/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/alpha/Makefile b/sysdeps/alpha/Makefile
index 996c589c85..a9f12d1396 100644
--- a/sysdeps/alpha/Makefile
+++ b/sysdeps/alpha/Makefile
@@ -28,4 +28,12 @@ ifeq ($(subdir),gnulib)
routines = $(divrem)
endif # gnulib
+ifeq ($(subdir),elf)
+# The ld.so code cannot use literals until it self-relocates.
+CFLAGS-rtld.c = -mbuild-constants
+# The rest of ld.so shouldn't use FP regs for block moves so
+# that the lazy link trampoline doesn't have to save them.
+sysdep-CFLAGS += -mno-fp-regs
+endif
+
divrem := divl divlu divq divqu reml remlu remq remqu