Displaying 6 results from an estimated 6 matches for "movea".
Did you mean:
move
2006 Jun 26
0
[klibc 27/43] m68k support for klibc
...rch-specific initialization and invokes __libc_init
+# with the appropriate arguments.
+#
+# See __static_init.c or __shared_init.c for the expected
+# arguments.
+#
+
+ .text
+ .align 4
+ .type _start, at function
+ .globl _start
+_start:
+ # Zero out the frame pointer to be nice to the debugger
+ movea.l #0,%a6
+ # Save the address of the ELF argument array
+ move.l %a7, %d0
+ # Push a zero on the stack in lieu of atexit pointer
+ clr.l -(%sp)
+ # Push ELF argument pointer on the stack
+ move.l %d0, -(%a7)
+
+ jbsr __libc_init
+
+ .size _start, .-_start
diff --git a/usr/klibc/arch/m68k/setjmp.S b...
2011 Jan 29
1
[PATCH] Re: klibc barfs on m68k syscall interface
...s done, result in %d0, registers are restored */
++ .globl __syscall_checkandout
++__syscall_checkandout:
++ /* now check for error */
++ cmp.l #-4095, %d0
++ bcs.l 1f /* jmp short if _not_ error */
++
++ /* prepare for error return */
+ neg.l %d0
+ move.l %d0, (errno)
+- moveq #-1, %d0
+-1:
+- movea.l %d0, %a0 /* Redundant return */
+- movem.l (%sp)+, %d2-%d6 /* Restore registers */
++ move.l #-1, %d0
++ /* fallthrough to common return path */
++
++1: /* copy return value to %a0 for syscalls returning pointers */
++ move.l %d0, %a0
+ rts
+
+ .size __syscall_common,.-__syscall_common
+Index:...
2011 Jan 29
0
[PATCH] Fix m68k syscall API and support 6-argument syscalls.
.../* syscall is done, result in %d0, registers are restored */
+ .globl __syscall_checkandout
+__syscall_checkandout:
+ /* now check for error */
+ cmp.l #-4095, %d0
+ bcs.l 1f /* jmp short if _not_ error */
+
+ /* prepare for error return */
neg.l %d0
move.l %d0, (errno)
- moveq #-1, %d0
-1:
- movea.l %d0, %a0 /* Redundant return */
- movem.l (%sp)+, %d2-%d6 /* Restore registers */
+ move.l #-1, %d0
+ /* fallthrough to common return path */
+
+1: /* copy return value to %a0 for syscalls returning pointers */
+ move.l %d0, %a0
rts
.size __syscall_common,.-__syscall_common
diff --git a/usr...
2012 Jan 29
5
[PATCH 0/2 v3] mkstemp() and m68k support
Hi,
after a year, I decided to hack on klibc again. I?ve reworked
both the patch to add mkstemp(), discussing to use AT_RANDOM
as cheap entropy source on IRC (if there will ever be another
entropy consumer, I can quickly write a minimal arc4random()
seeded from it, as it has only 16 octets), capable of making
a working mksh (static and shared) on amd64/xen, and the m68k
support code, leading to
2012 May 15
5
[PATCH 0/5] resubmitting pending patches
Hi,
I?ve gone through the mailing list archives and hereby want
to resubmit my pending patches. Most are independent of each
other, except the m68k patch which will only be complete if
sigsuspend is also fixed. (It can be applied before that,
though.)
http://www.zytor.com/pipermail/klibc/2012-January/003173.html
[PATCH] fix m68k support
Resubmitted here as 0005. While there was a question from
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: