[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH glibc 9/12] mach: Look for mach_i386.defs on x86_64 too
From: |
Samuel Thibault |
Subject: |
Re: [RFC PATCH glibc 9/12] mach: Look for mach_i386.defs on x86_64 too |
Date: |
Sun, 12 Feb 2023 16:46:23 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Sergey Bugaev, le dim. 12 févr. 2023 18:38:03 +0300, a ecrit:
> Since mach/machine/syscall_sw.h is the i386 version on x86_64 (or --
> is it not supposed to be?)
Nobody yet decided that the system call interface would be the same on
i386 and on x86_64 :)
Most probably we'll need a different header, to put the trap number of
rax instead of eax, notably. And the systemcall instruction will most
probably not be an lcall.
> the _MACH_I386_SYSCALL_SW_H_ guard is the one to fake, hence setting
> mach-machine to i386.
This can be already fixed by shipping a different file in mach, as we'll
most probably want in the end anyway.
Samuel
- [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit, (continued)
- [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit, Sergey Bugaev, 2023/02/12
- Re: [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit, Samuel Thibault, 2023/02/12
- Re: [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit, Sergey Bugaev, 2023/02/12
- Re: [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit, Samuel Thibault, 2023/02/12
- Re: [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit, Sergey Bugaev, 2023/02/12
- Re: [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit, Samuel Thibault, 2023/02/12
- Re: [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit, Samuel Thibault, 2023/02/12
[RFC PATCH glibc 9/12] mach: Look for mach_i386.defs on x86_64 too, Sergey Bugaev, 2023/02/12
Re: [RFC PATCH glibc 9/12] mach: Look for mach_i386.defs on x86_64 too, Joseph Myers, 2023/02/16
[RFC PATCH glibc 4/12] hurd: Fix xattr error value, Sergey Bugaev, 2023/02/12
[RFC PATCH mig 8/12] Set max type alignment to sizeof(long), Sergey Bugaev, 2023/02/12
[RFC PATCH glibc 10/12] hurd: Set up the basic tree for x86_64-gnu, Sergey Bugaev, 2023/02/12
[RFC PATCH glibc 12/12] C11 thrd: Downgrade the default alignment of mtx_t, Sergey Bugaev, 2023/02/12