This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [SH][PATCH] __fpscr_values broken
- From: Andrew Stubbs <ams at codesourcery dot com>
- To: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Mon, 02 Feb 2009 11:52:16 +0000
- Subject: Re: [SH][PATCH] __fpscr_values broken
- References: <4981C618.4070809@codesourcery.com> <20090131.081317.187862898.kkojima@rr.iij4u.or.jp>
Kaz Kojima wrote:
We always use no-z-defs=yes in configparms for this issue.
Does it work for you? See
http://sources.redhat.com/ml/libc-hacker/2003-01/msg00086.html
Yes, that works. Here's an alternative patch.
If this one is OK, please apply it for me.
Thanks
Andrew
2009-02-02 Andrew Stubbs <ams@codesourcery.com>
glibc/
* sysdeps/unix/sysv/linux/sh/Makefile (libm.so-no-z-defs): Define.
---
src/glibc-mainline/sysdeps/unix/sysv/linux/sh/Makefile | 5 +++++
1 files changed, 5 insertions(+)
Index: src/glibc-mainline/sysdeps/unix/sysv/linux/sh/Makefile
===================================================================
--- src/glibc-mainline/sysdeps/unix/sysv/linux/sh/Makefile.orig
+++ src/glibc-mainline/sysdeps/unix/sysv/linux/sh/Makefile
@@ -5,3 +5,8 @@ endif
ifeq ($(subdir),stdlib)
gen-as-const-headers += ucontext_i.sym
endif
+
+ifeq ($(subdir),math)
+# The libm.so link can't find __fpscr_values
+libm.so-no-z-defs = yes
+endif