All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] [PATCH] Disable the use of fp regs in rtld.c for HPPA
@ 2002-11-19  6:07 Carlos O'Donell
  0 siblings, 0 replies; 2+ messages in thread
From: Carlos O'Donell @ 2002-11-19  6:07 UTC (permalink / raw)
  To: libc-alpha; +Cc: debian-glibc, parisc-linux

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]


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


[-- Attachment #2: 09-glibc23-hppa-buildhack --]
[-- Type: text/plain, Size: 304 bytes --]

--- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [parisc-linux] [PATCH] Disable the use of fp regs in rtld.c for HPPA
@ 2002-11-19  6:07 Carlos O'Donell
  0 siblings, 0 replies; 2+ messages in thread
From: Carlos O'Donell @ 2002-11-19  6:07 UTC (permalink / raw)
  To: libc-alpha; +Cc: debian-glibc, parisc-linux

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]


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


[-- Attachment #2: 09-glibc23-hppa-buildhack --]
[-- Type: text/plain, Size: 304 bytes --]

--- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-19  6:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-19  6:07 [parisc-linux] [PATCH] Disable the use of fp regs in rtld.c for HPPA Carlos O'Donell
  -- strict thread matches above, loose matches on Subject: below --
2002-11-19  6:07 Carlos O'Donell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.