Subject: Re: compat code restructuring status
To: None <>
From: Christos Zoulas <>
List: current-users
Date: 09/17/2005 06:22:16
In article <>,
Izumi Tsutsui  <> wrote:
>In article <>
> wrote:
>> 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/
>> Convert "sys" subdirectory:
>> . In lib/libc/sys/ there's a list of files under
>>   !defined(COMPATARCHDIR).
>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/ accordingly
>There is no arch/$ARCH/sys/
>Adjust arch/$ARCH/ 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.