[PATCH] Disable the use of fp regs in rtld.c for HPPA
libc-alpha,
"Fixed point math in rtld.c segfaults the loader because the ltp is not
yet setup at the point where we need to access it."
	- Randolph Chung
I agree with Randolph (after having seen it under gdb), and here is the
patch.
c.
---
2002-11-11  Randolph Chung  <tausq@debian.org>
	* sysdeps/hppa/Makefile: Disable the use of fp regs in rtld.c
--- glibc/sysdeps/hppa/Makefile.orig	2002-09-11 20:19:15.000000000 -0700
+++ glibc/sysdeps/hppa/Makefile	2002-09-11 20:19:17.000000000 -0700
@@ -27,6 +27,7 @@
 endif
 
 ifeq ($(subdir),elf)
+CFLAGS-rtld.c += -mdisable-fpregs
 dl-routines += dl-symaddr dl-fptr
 rtld-routines += dl-symaddr dl-fptr
 endif
Reply to: