Skip to content
Snippets Groups Projects
Commit 7d4b789f authored by Pranav Kant's avatar Pranav Kant Committed by Henrik Gramner
Browse files

Mark C globals with small code model

We have new option in clang (https://github.com/llvm/llvm-project/pull/124834)
to mark globals to be allocated in non-large sections. We can mark all globals
that are referenced from hardcoded assembly (which implicitly references globals
assuming they are in non-large sections) with this attribute to avoid running
into problems when dav1d is built with -mcmodel=medium with clang.
parent 42b2b24f
No related branches found
No related tags found
1 merge request!1785Mark C globals with assembly reference to small code model
Pipeline #569146 passed with stages
in 51 minutes and 10 seconds