Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
elf_reader: tolerate untyped/local map relocations from llvm 7/9
Symbols for anonymous constants are somewhat irregular on older versions of LLVM. This commit relaxes the constraints on symbols those compilers emit map relocations against. LLVM 7: 1: 0000000000000000 0 NOTYPE LOCAL DEFAULT 16 .Lconstinit.1 LLVM 9: 1: 0000000000000000 32 OBJECT LOCAL DEFAULT 22 .Lconstinit.1 LLVM 14 has these symbols correctly sanitized. Signed-off-by: Timo Beckers <timo@isovalent.com>
- Loading branch information