Displaying 7 results from an estimated 7 matches for "ldil".
Did you mean:
ldif
2006 Jul 24
1
[PATCH] vfork() for parisc
...rk:
+ /* pid_t vfork(void) */
+ ble 0x100(%sr2, %r0) ; jump to gateway page
+ nop
+
+ ldi -0x1000,%r19 ; %r19 = -4096
+ sub %r0,%ret0,%r22 ; %r22 = -%ret0
+ cmpb,>>=,n %r19,%ret0,1f ; if %ret0 >= -4096UL
+ ldi -1,%ret0 ; nullified on taken forward
+
+ /* store %r22 to errno... */
+ ldil L%errno,%r1
+ ldo R%errno(%r1),%r1
+ stw %r22,0(%r1)
+1:
+ bv %r0(%rp) ; jump back
+ nop
+
+ .size vfork,.-vfork
2006 Jun 26
0
[klibc 30/43] parisc support for klibc
...+ .global _start
+ .export _start, ENTRY
+ .type _start, at function
+
+ .proc
+ .callinfo
+
+_start:
+/* extend the stack by 64-bytes */
+ ldo 64(%sp), %sp
+
+/* %r25 = argc
+ * %r24 = argv
+ * envp = argv + (argc + 1)
+ * elfdata = (argv - 4)
+ */
+ ldo -4(%r24), %r26
+
+/* load global data */
+ ldil L%$global$, %dp
+ ldo R%$global$(%dp), %dp
+
+/* parisc abi puts the atexit pointer in %r23, see ELF_PLAT_INIT() */
+ copy %r23, %r25
+
+/* branch to __libc_init */
+ bl __libc_init,%r2
+ nop
+/* break miserably if we ever return */
+ iitlbp %r0,(%sr0,%r0) /* illegal instruction */
+ nop
+ .procend...
2005 Dec 07
0
Fix segfault in new exit code on parisc, klibc-1.1.3
parisc is currently passing argc as the second argument to __libc_init:
--- crt0.S.old 2005-12-07 19:06:07.000000000 +0000
+++ crt0.S 2005-12-07 19:06:40.000000000 +0000
@@ -25,6 +25,10 @@
ldil L%$global$, %dp
ldo R%$global$(%dp), %dp
+/* Indicate that we don't need no stinkin' atexit callback */
+
+ ldi 0,%r25
+
/* branch to __libc_init */
bl __libc_init,%r2
nop
Thanks to Kyle McMartin for helping with this.
* Canonical Ltd * Ubun...
2006 Jan 08
0
[PATCH] Fix DT_FINI function pass-in to _start on parisc
...unlikely to be used, doing the right thing is good.
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
diff --git a/klibc/arch/parisc/crt0.S b/klibc/arch/parisc/crt0.S
index 7428443..a9b6e96 100644
--- a/klibc/arch/parisc/crt0.S
+++ b/klibc/arch/parisc/crt0.S
@@ -25,8 +25,8 @@ _start:
ldil L%$global$, %dp
ldo R%$global$(%dp), %dp
-/* Indicate that we don't need no stinkin' atexit callback */
- ldi 0,%r25
+/* parisc abi puts the atexit pointer in %r23, see ELF_PLAT_INIT() */
+ copy %r23, %r25
/* branch to __libc_init */
bl __libc_init,%r2
2006 Jul 26
1
[parisc-linux] Re: [PATCH] vfork() for parisc
Hello Kyle,
May be out of context but before I forget:
> > +
> > + /* store %r22 to errno... */
> > + ldil L%errno,%r1
> > + ldo R%errno(%r1),%r1
Could it not be 'load32 errno, %r1' (the assembly.h macro)?
Cheers,
Joel
----------
Club Scarlet : Tout le monde gagne! Si vous devenez aujourd'hui Scarlet One grace a un client existant de Scarlet, vous recevez tous les deux un cade...
2005 Nov 25
0
Fix syscalls with more than four arguments on parisc
...ble 0x100(%sr2, %r0) ; jump to gateway page
+ nop ; can we move a load here?
+
+ ldi -0x1000,%r19 ; %r19 = -4096
+ sub %r0,%ret0,%r22 ; %r22 = -%ret0
+ cmpb,>>=,n %r19,%ret0,1f ; if %ret0 >= -4096UL
+ ldi -1,%ret0 ; nullified on taken forward
+
+ /* store %r22 to errno... */
+ ldil L%errno,%r1
+ ldo R%errno(%r1),%r1
+ stw %r22,0(%r1)
+1:
+ ldw -0x54(%sp),%rp ; restore return pointer
+ bv %r0(%rp) ; jump back
+ ldo -0x40(%sp),%sp
+
+ .size __syscall_common,.-__syscall_common
diff --git a/klibc/arch/parisc/syscall.c b/klibc/arch/parisc/syscall.c
deleted file mode 1006...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In
particular, the patchset has been reorganized so as not to break
git-bisect.
Additionally, this updates the patch base to 2.6.17-git12
(d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main
difference on the klibc side is removal of obsolete code.
This is also available as a git tree at: