summaryrefslogtreecommitdiffstats
path: root/recipes/glibc/glibc-2.2.5/alpha-build-failure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/glibc/glibc-2.2.5/alpha-build-failure.patch')
-rw-r--r--recipes/glibc/glibc-2.2.5/alpha-build-failure.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/glibc/glibc-2.2.5/alpha-build-failure.patch b/recipes/glibc/glibc-2.2.5/alpha-build-failure.patch
new file mode 100644
index 0000000000..280a0a556d
--- /dev/null
+++ b/recipes/glibc/glibc-2.2.5/alpha-build-failure.patch
@@ -0,0 +1,30 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- glibc-2.2.5/sysdeps/alpha/divrem.h~alpha-build-failure.patch 2004-09-03 19:00:33.000000000 -0500
++++ glibc-2.2.5/sysdeps/alpha/divrem.h 2004-09-03 19:00:37.000000000 -0500
+@@ -1,4 +1,4 @@
+-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
++/* Copyright (C) 1996,97,2002 Free Software Foundation, Inc.
+ Contributed by David Mosberger (davidm@cs.arizona.edu).
+ This file is part of the GNU C Library.
+
+@@ -86,6 +86,7 @@
+
+ .align 3
+ UFUNC_NAME:
++$udiv_entry:
+ lda sp, -STACK(sp)
+ .frame sp, STACK, retaddr, 0
+ #ifdef PROF
+@@ -206,7 +207,7 @@
+ cmovge AT, AT, arg2
+
+ /* Do the unsigned division. */
+- bsr retaddr, UFUNC_NAME
++ bsr retaddr, $udiv_entry
+
+ /* Restore originals and adjust the sign of the result. */
+ ldq arg1, 0(sp)