]> git.ipfire.org Git - thirdparty/glibc.git/commit
hppa: Implement swapcontext in assembler (bug 28960)
authorJohn David Anglin <danglin@gcc.gnu.org>
Tue, 15 Mar 2022 23:12:37 +0000 (23:12 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Tue, 15 Mar 2022 23:17:44 +0000 (23:17 +0000)
commit32f74d4f142edad319517798d74308305d82127e
treeb3492c99fdbc1acde5ca90cd9d49fd6383b1c5dc
parentbaa74e858974d94b3118dc29a2a23eda8ca8ba77
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.

(cherry picked from commit 738ee53f0ce5e39b9b7a6777f5d3057afbaac498)
sysdeps/unix/sysv/linux/hppa/swapcontext.S [new file with mode: 0644]
sysdeps/unix/sysv/linux/hppa/swapcontext.c [deleted file]