Subject: Re: compat code restructuring status
To: None <email@example.com>
From: Christos Zoulas <firstname.lastname@example.org>
Date: 09/17/2005 06:22:16
In article <050917140236.M0101764@mirage.ceres.dti.ne.jp>,
Izumi Tsutsui <email@example.com> wrote:
>In article <20050915230745.GL19444@snark.ptc.spbu.ru>
>> For those who will be coverting other arches, this is a quick summary
>> of what I did for sh3:
>Thanks for summarizing, but I have a few questions:
>> Create subtree for your arch under compat/arch
>> Steal compat/arch/i386/Makefile.inc
>> Convert "sys" subdirectory:
>> . In lib/libc/sys/Makefile.inc there's a list of files under
>How about arch/$ARCH/sys/__sigtramp1.S ?
>This is also moved to compat/arch/$ARCH/sys/compat___sigtramp2.S .
I assume that the `2' in the second line is a typo.
Well, without compat-1.6 you don't have sigreturn, so __sigtramp1.S
does not work, that is why I moved it.
>> . Move each file $foo to compat/arch/$ARCH/sys/compat_$foo
>> . Adjust arch/$ARCH/sys/Makefile.inc accordingly
>There is no arch/$ARCH/sys/Makefile.inc.
>Adjust arch/$ARCH/Makefile.inc for __sigtramp1.S ?
Right, this is what he meant.
>Some archs have __longjmp.c, which contains an entriy for __longjmp14().
>Should we also rename it longjmp.c ?
Yes, for consistency.