mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 06:32:23 +00:00
4b173045e9
Woo... It seems the glibc guys finally decided that tarballs were not deprecated, in fact. The patchset was vampirised from Gentoo (kudos, guys!), and applies to glibc+ports, so that's why it's been added as a patchset against ports, not against glibc.
14 lines
543 B
Diff
14 lines
543 B
Diff
|
|
|
|
diff -durN glibc-2.10.1.orig/sysdeps/sh/sh4/fpu/fpu_control.h glibc-2.10.1/sysdeps/sh/sh4/fpu/fpu_control.h
|
|
--- glibc-2.10.1.orig/sysdeps/sh/sh4/fpu/fpu_control.h 2001-07-06 06:56:04.000000000 +0200
|
|
+++ glibc-2.10.1/sysdeps/sh/sh4/fpu/fpu_control.h 2009-11-13 00:51:26.000000000 +0100
|
|
@@ -45,6 +45,7 @@
|
|
#define _FPU_GETCW(cw) __asm__ ("sts fpscr,%0" : "=r" (cw))
|
|
|
|
#if defined __GNUC__
|
|
+extern void __set_fpscr(unsigned long);
|
|
#define _FPU_SETCW(cw) __set_fpscr ((cw))
|
|
#else
|
|
#define _FPU_SETCW(cw) __asm__ ("lds %0,fpscr" : : "r" (cw))
|