summaryrefslogtreecommitdiff
path: root/user/llvm18/dyld-elf-ppc32.patch
AgeCommit message (Collapse)AuthorFilesLines
2025-05-04user/llvm18: Add support for additional relocation types in RuntimeDyldAsh Logan1-5/+3
* The REL24 relocation is used in JIT'd code for library calls. Implementing this allows the ExecutionEngine tests, clang-repl, and llvmpipe to all start working. * Implement a bunch of "easy" relocations while we're here. These are not really tested. * Anna's existing patch leaked a "delta" variable into the switch scope, so add braces to contain that. Also, the PPC ELF ABI doesn't specify an overflow check for REL32 (unlike ppc64), so remove it and allow truncation. * Add mention of the problematic relocation type to the LLVM error message, so if other relocation types (like the PLT/GOT relocs) end up being needed later, this is obvious from user reports. Partially resolves #1233
2024-08-07user/llvm18: New packageA. Wilcox1-0/+24