varlink / libvarlink

C implementation of the Varlink protocol and command line tool
Apache License 2.0
87 stars 15 forks source link

fix: use readelf with `--lto-syms` in case of LTO #42

Closed haraldh closed 3 years ago

haraldh commented 3 years ago

In case LTO was activated, the gnu linker places the symbols in .gnu.lto sections, which readelf prior to 2.36.1 did not understand. Later versions support the --lto-syms option, which is now used for the test-symbols test case.

Fixes: https://github.com/varlink/libvarlink/issues/30