# HG changeset patch # User cslag # Date 1478806641 -3600 # Node ID 3729a99ef03c33172280d2a7e3f44628164d691a # Parent 3e67a1212cb03a06dbcd5188a886beb336c36105 - cleanup/cosmetics/typos diff -r 3e67a1212cb0 -r 3729a99ef03c dyncall/dyncall_call_sparc.S --- a/dyncall/dyncall_call_sparc.S Thu Nov 10 19:05:01 2016 +0100 +++ b/dyncall/dyncall_call_sparc.S Thu Nov 10 20:37:21 2016 +0100 @@ -148,7 +148,7 @@ /*leaf functions: may use the first six output registers.*/ /*o3-5:free to use */ - /* Compute a matiching stack size (approximate): o3 = align(92+o1,16) */ + /* Compute a matching stack size (approximate): o3 = align(92+o1,16) */ add %o1, (16+1+6)*REGSIZE+ALIGN-1, %o3 and %o3, -ALIGN, %o3 @@ -167,15 +167,15 @@ ld [%i2+REGSIZE*5 ],%o5 /* Copy on stack? */ - sub %i1, REGSIZE*6, %i1 /* i1 = decrement copy size by 6 regs (=6 regs x 4 bytes = 24 bytes total). */ + sub %i1, REGSIZE*6, %i1 /* i1 = decrement copy size by 6 regs (=6 regs x 4 bytes = 24 bytes total). */ cmp %i1, 0 ble .do_call nop /* Copy loop: */ - add %i2, REGSIZE*6, %i2 /* i2 = address of 7th word of args buffer. */ + add %i2, REGSIZE*6, %i2 /* i2 = address of 7th word of args buffer. */ or %g0, %g0, %l0 /* l0 = offset initialized to 0. */ - add %sp, (16+1+6)*REGSIZE, %l2 /* l2 = argument area on stack space (7th word). (64+4+6*4 = byte offset 92). */ + add %sp, (16+1+6)*REGSIZE, %l2 /* l2 = argument area on stack space (7th word). (64+4+6*4 = byte offset 92). */ .next: ld [%i2+%l0],%l1 /* Read from arg buffer(%i2) to %l1. */ st %l1, [%l2+%l0] /* Write %l1 to stack space(%l2). */ @@ -187,7 +187,7 @@ .do_call: call %i0 /* Call target. */ nop - or %o0, %g0, %i0 - or %o1, %g0, %i1 + or %o0, %g0, %i0 + or %o1, %g0, %i1 jmpl %i7 + 8, %g0 restore diff -r 3e67a1212cb0 -r 3729a99ef03c dyncallback/TODO --- a/dyncallback/TODO Thu Nov 10 19:05:01 2016 +0100 +++ b/dyncallback/TODO Thu Nov 10 20:37:21 2016 +0100 @@ -1,4 +1,3 @@ URGENT: - discuss character literal return value specifiers (e.g. cmp %al, 'i'), we might wanna use just an int for the size -- psp mips support diff -r 3e67a1212cb0 -r 3729a99ef03c dynload/TODO --- a/dynload/TODO Thu Nov 10 19:05:01 2016 +0100 +++ b/dynload/TODO Thu Nov 10 20:37:21 2016 +0100 @@ -15,6 +15,3 @@ dynload_syms_elf.c:165: error: `DT_HASH' undeclared (first use in this function) make: *** [dynload_syms.o] Error 1 -DONE: -- remove dependencies dyncall_{alloc,macros}.h -