]> sigrok.org Git - libsigrok.git/commit
driver_list: unbreak list of builtin drivers for LTO configurations
authorGerhard Sittig <redacted>
Tue, 3 Nov 2020 17:25:18 +0000 (18:25 +0100)
committerGerhard Sittig <redacted>
Thu, 5 Nov 2020 04:20:42 +0000 (05:20 +0100)
commit3decd3b1f0cbb3a035f72e9eade42279d0507b89
tree43914f8958eebb8b28a216755c8145e6204331e0
parentefce57da322cbe3d8c65332122ab3fb76e02089a
driver_list: unbreak list of builtin drivers for LTO configurations

Check for the availability of the "no_reorder" linker attribute, which
keeps the list of builtin drivers in shape on LTO enabled build setups.
Keep backwards compatibility for platforms which lack support for the
"no_reorder" attribute. Phrase the implementation such that other
keywords as well as user provided external specs are possible.

This resolves bug #1433.

Submitted-By: Ivan Mironov <redacted>
src/driver_list_start.c
src/driver_list_stop.c
src/libsigrok-internal.h