Tue Jun 11 19:13:04 1996 Richard Henderson <rth@tamu.edu>
authorRoland McGrath <roland@gnu.org>
Wed, 12 Jun 1996 01:41:59 +0000 (01:41 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 12 Jun 1996 01:41:59 +0000 (01:41 +0000)
* 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.

sysdeps/alpha/Makefile

index 996c589..a9f12d1 100644 (file)
@@ -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