hppa: Implement swapcontext in assembler (bug 28960)
authorJohn David Anglin <danglin@gcc.gnu.org>
Tue, 15 Mar 2022 15:12:03 +0000 (15:12 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Tue, 15 Mar 2022 15:12:03 +0000 (15:12 +0000)
commitd05e6dc8d1032e1732542a48e0fb895432008b6e
treecad3d5ed8a214413133133e12432622bb37d9bb4
parent260a430dd841072020c4dae91468322e619e7330
hppa: Implement swapcontext in assembler (bug 28960)

When swapcontext.c is compiled without -g, the following error occurs:
Error: CFI instruction used without previous .cfi_startproc

Fix by converting swapcontext routine to assembler.
sysdeps/unix/sysv/linux/hppa/swapcontext.S [new file with mode: 0644]
sysdeps/unix/sysv/linux/hppa/swapcontext.c [deleted file]