HomeFreeBSD

libsa: Remove conflicting .global/.weak directive

Description

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.

Details

Provenance
arichardsonAuthored on Mar 30 2021, 1:52 PM
Parents
rG88024c4a520b: libnetmap: restore changes in 26c29e743bbdbb82762540f72d4bc449bae2e092
Branches
Unknown
Tags
Unknown