aboutsummaryrefslogtreecommitdiffstats
path: root/glibc/glibc-2.2.5/dl-machine-sh.patch
diff options
context:
space:
mode:
Diffstat (limited to 'glibc/glibc-2.2.5/dl-machine-sh.patch')
-rw-r--r--glibc/glibc-2.2.5/dl-machine-sh.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/glibc/glibc-2.2.5/dl-machine-sh.patch b/glibc/glibc-2.2.5/dl-machine-sh.patch
index e69de29bb2..c5f84b42a4 100644
--- a/glibc/glibc-2.2.5/dl-machine-sh.patch
+++ b/glibc/glibc-2.2.5/dl-machine-sh.patch
@@ -0,0 +1,30 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- glibc-2.2.5/sysdeps/sh/dl-machine.h~dl-machine-sh.patch 2004-09-03 19:00:33.000000000 -0500
++++ glibc-2.2.5/sysdeps/sh/dl-machine.h 2004-09-03 19:00:37.000000000 -0500
+@@ -53,16 +53,16 @@
+ elf_machine_load_address (void)
+ {
+ Elf32_Addr addr;
+- asm ("mov.l .L1,r0\n\
+- mov.l .L3,r2\n\
++ asm ("mov.l 1f,r0\n\
++ mov.l 3f,r2\n\
+ add r12,r2\n\
+ mov.l @(r0,r12),r0\n\
+- bra .L2\n\
++ bra 2f\n\
+ sub r0,r2\n\
+ .align 2\n\
+- .L1: .long _dl_start@GOT\n\
+- .L3: .long _dl_start@GOTOFF\n\
+- .L2: mov r2,%0"
++ 1: .long _dl_start@GOT\n\
++ 3: .long _dl_start@GOTOFF\n\
++ 2: mov r2,%0"
+ : "=r" (addr) : : "r0", "r1", "r2");
+ return addr;
+ }