Skip to content

Specify hidden visibility for global data symbol declarations

Henrik Gramner requested to merge gramner/dav1d:extern_hidden into master

See https://gcc.godbolt.org/z/rTse83vPz for an example of how this affects code generation.

Even without this patch the GOT indirection can be eliminated by the linker, but unless LTO is used the generated code will still be suboptimal as it can only substitute instructions byte-for-byte, not rewrite entire blocks of code. This allows for improved code generation directly by the compiler.

Merge request reports

Loading