summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-12 09:03:30 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-12 09:03:30 +0000
commit9f615c3fbbcfd1b3866ed2e1c7fad24be75dd1ca (patch)
tree07c56c3e8c31cbb9e980ac4bf3f9ab4403d577f3
parent666e8f922ffe516cb4803887a91ddd75f308a79d (diff)
Fix alignment, minor cosmetic changes
-Erik
-rw-r--r--ldso/ldso/arm/resolve.S16
1 files changed, 10 insertions, 6 deletions
diff --git a/ldso/ldso/arm/resolve.S b/ldso/ldso/arm/resolve.S
index 96c84fc3a..508203765 100644
--- a/ldso/ldso/arm/resolve.S
+++ b/ldso/ldso/arm/resolve.S
@@ -17,12 +17,18 @@
* symbol that got us here really wanted to jump to in the first place.
* -Erik Andersen
*/
+
+#define sl r10
+#define fp r11
+#define ip r12
+
.text
.globl _dl_linux_resolve
-.type _dl_linux_resolve,#function
-.align 2
+.type _dl_linux_resolve,%function
+.align 4;
+
_dl_linux_resolve:
- stmdb sp!,{r0-r3,sl,fp}
+ stmdb sp!, {r0, r1, r2, r3, sl, fp}
sub r1, ip, lr
sub r1, r1, #4
add r1, r1, r1
@@ -31,9 +37,7 @@ _dl_linux_resolve:
bl _dl_linux_resolver
-// str r0, [lr, #-4]
mov ip, r0
- ldmia sp!,{r0-r3,sl,fp,lr}
+ ldmia sp!, {r0, r1, r2, r3, sl, fp, lr}
mov pc,ip
.size _dl_linux_resolve, .-_dl_linux_resolve
-