mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-29 16:21:07 +00:00
70fd6b3b23
On x86_64, we have to pass function arguments in registers, not on the
stack. We also have to align the stack pointer in a specific way. Since
sharing the logic with i386 does not bring much benefit, split the file
back into i386- and x86_64-specific versions, and fix the x86_64 version
to set up the thread properly.
Bonus: i386 keeps doing the extra RPC inside __thread_set_pcsptp to
fetch the state of the thread before setting it; but x86_64 no lnoger
does that.
Checked on x86_64-gnu and i686-gnu.
Fixes
|
||
---|---|---|
.. | ||
bits/types | ||
Implies | ||
pt-machdep.c | ||
pt-setup.c |