HomeFreeBSD

loader: Only create gfx 4th bindings when gfx is available

Description

loader: Only create gfx 4th bindings when gfx is available

Only create the gfx bindings for 4th when it's compiled into the
loader. We do this with a linker set that only gets brought in to those
loaders that call gfx_framework_init. This calls gfx_interp_md() will
will drag in gfx_loader.c which will add to the linker set that
registers these bindings.

Sponsored by: Netflix
Reviewed by: kevans, jhb
Differential Revision: https://reviews.freebsd.org/D43904

Details

Provenance
impAuthored on Feb 16 2024, 3:53 AM
Reviewer
kevans
Differential Revision
D43904: loader: Only create gfx 4th bindings when gfx is available
Parents
rG60e199d9fde1: loader: Add prototype for gfx_interp_md
Branches
Unknown
Tags
Unknown