From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from systemhalted (CPE0080c82c70ca.cpe.net.cable.rogers.com [24.112.224.149]) by dsl2.external.hp.com (Postfix) with ESMTP id BCE5A4829 for ; Mon, 18 Nov 2002 23:07:44 -0700 (MST) Date: Tue, 19 Nov 2002 01:07:48 -0500 From: Carlos O'Donell To: libc-alpha@sources.redhat.com Cc: debian-glibc@lists.debian.org, parisc-linux@lists.parisc-linux.org Message-ID: <20021119060748.GI12451@systemhalted> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="bNvn4bxlrUVLu6cT" Subject: [parisc-linux] [PATCH] Disable the use of fp regs in rtld.c for HPPA Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: --bNvn4bxlrUVLu6cT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 * sysdeps/hppa/Makefile: Disable the use of fp regs in rtld.c --bNvn4bxlrUVLu6cT Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=09-glibc23-hppa-buildhack --- 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 --bNvn4bxlrUVLu6cT--