From: Roland McGrath Date: Wed, 12 Jun 1996 01:41:59 +0000 (+0000) Subject: Tue Jun 11 19:13:04 1996 Richard Henderson X-Git-Tag: upstream/2.30~10627^2~3787 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7cf1621790751ae7aa69a29ba83efb8d086ed39;p=external%2Fglibc.git Tue Jun 11 19:13:04 1996 Richard Henderson * 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. --- diff --git a/sysdeps/alpha/Makefile b/sysdeps/alpha/Makefile index 996c589..a9f12d1 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