From ae9bd6f8f7abd7ea46b0181999ac26a195e53051 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 23 Jun 1996 01:30:10 +0000 Subject: [PATCH] Sat Jun 22 23:30:07 1996 David Mosberger-Tang * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants only when building ELF version of library. --- sysdeps/alpha/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysdeps/alpha/Makefile b/sysdeps/alpha/Makefile index a9f12d1396..6aaedea6fb 100644 --- a/sysdeps/alpha/Makefile +++ b/sysdeps/alpha/Makefile @@ -30,7 +30,9 @@ endif # gnulib ifeq ($(subdir),elf) # The ld.so code cannot use literals until it self-relocates. + ifeq ($(elf),yes) CFLAGS-rtld.c = -mbuild-constants + endif # 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