]> 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)
committerAlex Richardson <arichardson@FreeBSD.org>
Tue, 30 Mar 2021 13:59:41 +0000 (14:59 +0100)
commit59b2caef0537661397caf2ce1398cf802cb864b4
tree9c97e133a31ee9c7d06bc4499f5353c1d1959cc3
parent88024c4a520bf762cf4154d730ad9784ed2acd90
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.
stand/libsa/amd64/_setjmp.S