Skip to content
Snippets Groups Projects
Commit 46b558f5 authored by Pranav Kant's avatar Pranav Kant
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!1782Use GOT to access data within LEA macro
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment