This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [SH][PATCH] __fpscr_values broken


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]