Re: [RFC PATCH glibc 15/34] hurd: Use uintptr_t for register values in trampoline.c

2023-04-02 Thread Samuel Thibault
Applied, thanks! Sergey Bugaev, le dim. 19 mars 2023 18:09:58 +0300, a ecrit: > This is more correct, if only because these fields are defined as having > the type unsigned int in the Mach headers, so casting them to a signed > int and then back is suboptimal. > > Also, remove an extra reassignme

[RFC PATCH glibc 15/34] hurd: Use uintptr_t for register values in trampoline.c

2023-03-19 Thread Sergey Bugaev
This is more correct, if only because these fields are defined as having the type unsigned int in the Mach headers, so casting them to a signed int and then back is suboptimal. Also, remove an extra reassignment of uesp -- this is another remnant of the ecx kludge. Signed-off-by: Sergey Bugaev -