libsa: Remove conflicting .global/.weak directive

LLVM12 complains if you change the symbol binding:
`error: _longjmp changed binding to STB_GLOBAL`
In this case LLVM actually ignored the weak directive and used the
later .global, but GNU as would mark the symbol as weak.
None of the other architectures mark the libsa _setjmp as weak so
just drop this directive.
This commit is contained in:
Alex Richardson 2021-03-30 14:52:31 +01:00
parent 88024c4a52
commit 59b2caef05

View File

@ -63,7 +63,6 @@ ENTRY(_setjmp)
ret ret
END(_setjmp) END(_setjmp)
.weak CNAME(_longjmp)
ENTRY(_longjmp) ENTRY(_longjmp)
movq %rdi,%rdx movq %rdi,%rdx
/* Restore the mxcsr, but leave exception flags intact. */ /* Restore the mxcsr, but leave exception flags intact. */