This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Cross Memory Attach v3
- From: Thorsten Glaser <tg at mirbsd dot de>
- To: libc-ports at sourceware dot org
- Cc: Linux/m68k <linux-m68k at vger dot kernel dot org>, Debian m68k <debian-68k at lists dot debian dot org>, GNU Libc Maintainers <debian-glibc at lists dot debian dot org>
- Date: Sat, 17 Dec 2011 03:18:03 +0000 (UTC)
- Subject: Re: Cross Memory Attach v3
- References: <20110719003537.16b189ae@lilo> <CAMuHMdWAhn7M8o0qY4pz3W1tyyKEcNY_YQL_6JuAPCcjL5vS1A@mail.gmail.com> <20111121104313.63c7f796@cyeoh-System-Product-Name> <CAMuHMdXfWoHx4GA3L8T6-6PFw9fdCVbooayR3La2Woe-0V2koA@mail.gmail.com> <Pine.BSM.4.64L.1112041436510.16947@herc.mirbsd.org> <m2iplwuqwr.fsf@igel.home> <Pine.BSM.4.64L.1112112209570.6937@herc.mirbsd.org> <20111213105916.GA9956@hall.aurel32.net>
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