]> git.ipfire.org Git - thirdparty/glibc.git/commit
hurd: Pass the data pointer to _hurd_stack_setup explicitly
authorSergey Bugaev <bugaevc@gmail.com>
Wed, 3 Jan 2024 17:14:40 +0000 (20:14 +0300)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 4 Jan 2024 22:47:03 +0000 (23:47 +0100)
commit24b707c1665afae7eb302542ffa92d53aa577111
tree04f19e3654af1112eafd57f2f838097d1c6c147d
parent35694d3416b273ac19d67ffa49b7969f36684ae1
hurd: Pass the data pointer to _hurd_stack_setup explicitly

Instead of relying on the stack frame layout to figure out where the stack
pointer was prior to the _hurd_stack_setup () call, just pass the pointer
as an argument explicitly. This is less brittle and much more portable.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-ID: <20240103171502.1358371-8-bugaevc@gmail.com>
sysdeps/mach/hurd/i386/static-start.S
sysdeps/mach/hurd/x86/init-first.c
sysdeps/mach/hurd/x86_64/static-start.S