]> git.ipfire.org Git - thirdparty/libbsd.git/commit
build: Support platforms without symbol versioning
authorGuillem Jover <guillem@hadrons.org>
Tue, 6 Aug 2019 17:14:29 +0000 (19:14 +0200)
committerGuillem Jover <guillem@hadrons.org>
Thu, 8 Aug 2019 01:22:09 +0000 (03:22 +0200)
commit2e071c3cc152ec55db7b87248fdc017a0f735302
tree89a1f452376f18986d48492adf6d597e4468cbee
parent890699a78b892a8591cd465f97d4967ee94d54c9
build: Support platforms without symbol versioning

The .symver directive is ELF-specific. On non-ELF platforms, work around
this with __attribute__((__alias__)) for the default symbol, and ignore
the variant versioned symbols.

Based-on-patch-by: Aaron Dierking <aarond@fb.com>
Signed-off-by: Guillem Jover <guillem@hadrons.org>
src/local-link.h