]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libsa: Remove conflicting .global/.weak directive
authorAlex Richardson <arichardson@FreeBSD.org>
Tue, 30 Mar 2021 13:52:31 +0000 (14:52 +0100)
committerKyle Evans <kevans@FreeBSD.org>
Fri, 8 Oct 2021 05:24:28 +0000 (00:24 -0500)
commit1801534a5c8a73b684176c67aa3eb7cfa5116a81
tree2a757d129fde85f6a8b0a54f9f9394362a7d246f
parent687f0a1b588f9d2a06518528d93890e362e0c699
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.

(cherry picked from commit 59b2caef0537661397caf2ce1398cf802cb864b4)
stand/libsa/amd64/_setjmp.S