Re: Cross Memory Attach v3
I’ve tested the below patch locally in the meantime, and it
does not break anything.
Aurelien Jarno dixit:
>On Sun, Dec 11, 2011 at 10:11:03PM +0000, Thorsten Glaser wrote:
>> Andreas Schwab dixit:
>>
>> >Thorsten Glaser <tg@mirbsd.de> writes:
>> >
>> >> Index: eglibc-2.13/ports/sysdeps/unix/sysv/linux/m68k/syscall.S
>> >> ===================================================================
>> >> --- eglibc-2.13.orig/ports/sysdeps/unix/sysv/linux/m68k/syscall.S 2011-12-04 14:36:16.000000000 +0000
>> >> +++ eglibc-2.13/ports/sysdeps/unix/sysv/linux/m68k/syscall.S 2011-12-04 14:36:26.000000000 +0000
>> >> @@ -24,9 +24,9 @@
>> >> .text
>> >> ENTRY (syscall)
>> >> move.l 4(%sp), %d0 /* Load syscall number. */
>> >> - _DOARGS_5 (24) /* Frob arguments. */
>> >> + _DOARGS_6 (28) /* Frob arguments. */
>> >> trap &0 /* Do the system call. */
>> >> - UNDOARGS_5 /* Unfrob arguments. */
>> >> + UNDOARGS_6 /* Unfrob arguments. */
>> >> cmp.l &-4095, %d0 /* Check %d0 for error. */
>> >> jcc SYSCALL_ERROR_LABEL /* Jump to error handler if negative. */
>> >> rts /* Return to caller. */
>> >
>> >Thanks, installed.
>>
>> (Where?) So, should $someone submit that to eglibc-ports and
>> Debisn src:eglibc? Did it indeed do the trick?
>
>This patch should be reported to libc-ports@sourceware.org. If it also
Reporting hereby.
>needs to be applied to the Debian package quickly, please open a bug
>report in the Debian BTS.
@kernel people, is this needed / useful? Do we want/need this?
(I wonder why it's not using _DOARGS_6 already, as that looks
as if it were designed for it.)
bye,
//mirabilos
--
22:20⎜<asarch> The crazy that persists in his craziness becomes a master
22:21⎜<asarch> And the distance between the craziness and geniality is
only measured by the success 18:35⎜<asarch> "Psychotics are consistently
inconsistent. The essence of sanity is to be inconsistently inconsistent
Reply to: