From: Carlos O'Donell <carlos@baldric.uwo.ca>
To: libc-alpha@sources.redhat.com
Cc: debian-glibc@lists.debian.org, parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] [PATCH] Disable the use of fp regs in rtld.c for HPPA
Date: Tue, 19 Nov 2002 01:07:48 -0500 [thread overview]
Message-ID: <20021119060748.GI12451@systemhalted> (raw)
[-- 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
next reply other threads:[~2002-11-19 6:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-19 6:07 Carlos O'Donell [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-11-19 6:07 [parisc-linux] [PATCH] Disable the use of fp regs in rtld.c for HPPA Carlos O'Donell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021119060748.GI12451@systemhalted \
--to=carlos@baldric.uwo.ca \
--cc=debian-glibc@lists.debian.org \
--cc=libc-alpha@sources.redhat.com \
--cc=parisc-linux@lists.parisc-linux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox