summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc-2.3.2/alpha-pic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/glibc/glibc-2.3.2/alpha-pic.patch')
-rw-r--r--packages/glibc/glibc-2.3.2/alpha-pic.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/glibc/glibc-2.3.2/alpha-pic.patch b/packages/glibc/glibc-2.3.2/alpha-pic.patch
index e69de29bb2..6c4db3029d 100644
--- a/packages/glibc/glibc-2.3.2/alpha-pic.patch
+++ b/packages/glibc/glibc-2.3.2/alpha-pic.patch
@@ -0,0 +1,17 @@
+--- sysdeps/unix/alpha/sysdep.S 2003-03-23 16:01:02.000000000 +0900
++++ sysdeps/unix/alpha/sysdep.S.new 2003-03-23 16:02:50.000000000 +0900
+@@ -95,14 +95,10 @@
+ PROLOGUE
+
+ /* Find our per-thread errno address */
+-#ifdef PIC
+- bsr ra, __errno_location !samegp
+-#else
+ jsr ra, __errno_location
+ #ifndef GPSAVEREG
+ ldgp gp, 0(ra)
+ #endif
+-#endif
+
+ /* Store the error value. */
+ ldq t0, 8(sp)