Disable the use of fp regs in rtld.c for HPPA
PATCH 1/1 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 <[email protected]>
* sysdeps/hppa/Makefile: Disable the use of fp regs in rtld.c
sysdeps/hppa/Makefile renamed from sysdeps/hppa/Makefile.orig +1 -0
@@ -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