hppa: Align __clone stack argument to 8 bytes (Bug 25066)
authorJohn David Anglin <danglin@gcc.gnu.org>
Sun, 3 Nov 2019 21:28:01 +0000 (16:28 -0500)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 3 Nov 2019 21:28:01 +0000 (16:28 -0500)
commite4c23a029a54c8c7788eff9ca771a01cccaaa0ce
tree3f7a5e11f4b05e5010e0f82d87cae45ed99fe19b
parent42893aa38fd6041d349ea0427c4d5ccbacd9a2be
hppa: Align __clone stack argument to 8 bytes (Bug 25066)

The hppa architecture requires strict alignment for loads and stores.
As a result, the minimum stack alignment that will work is 8 bytes.
This patch adjusts __clone() to align the stack argument passed to it.
It also adjusts slightly some formatting.

This fixes the nptl/tst-tls1 test.
sysdeps/unix/sysv/linux/hppa/clone.S