mirror of https://gitee.com/Nocallback/glibc.git
Browse Source
GCC/Clang use local access when referencing a const variable, so the conftest.so may have no dynamic relocation. LLD reports `error: unable to insert .foo after .rela.dyn` when the destination section does not exist. Use a non-const int to ensure that .rela.dyn exists. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>maskray/x86-mpx
2 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue