mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
52e5ec1f09
Commit 6a2ea84600ba ("BPF: Add more relocation kinds") added new relocations R_BPF_64_ABS64 and R_BPF_64_ABS32 for normal 64-bit and 32-bit data relocations. This is to replace some of functionalities with R_BPF_64_64 and R_BPF_64_32 so that new R_BPF_64_64 and R_BPF_64_32 semantics are for ld_imm64 and call instructions only. The BPF support in lib/Object/RelocationResolver.cpp is used to perform normal data relocations for the case like DWARFObjInMemory with an object file (search function getRelocationResolver() in file DebugInfo/DWARF/DWARFContext.cpp) or llvm-readobj to dump ".stack_sizes" section data. In all these casees, normal 64-bit and 32-bit relocations are performed and such resolution resolution is exactly what implemented in RelocationResolver.cpp. But Commit 6a2ea84600ba missed to change R_BPF_64_64/R_BPF_64_32 to R_BPF_64_ABS64/R_BPF_64_ABS32. This patch fixed the issue and added a test for it with llvm-readobj dumping ".stack_sizes" section. Differential Revision: https://reviews.llvm.org/D103864 |
||
---|---|---|
.. | ||
AArch64 | ||
AMDGPU | ||
ARM | ||
BPF | ||
Inputs | ||
Lanai | ||
Mips | ||
RISCV | ||
X86 | ||
ar-create.test | ||
ar-error.test | ||
archive-darwin-duplicates.test | ||
archive-delete.test | ||
archive-error-tmp.txt | ||
archive-extract-dir.test | ||
archive-extract.test | ||
archive-format.test | ||
archive-long-filenames-no-null-terminator.test | ||
archive-long-index.test | ||
archive-malformed-object.test | ||
archive-move.test | ||
archive-pad.test | ||
archive-replace-pos.test | ||
archive-symtab.test | ||
archive-thin-create.test | ||
archive-thin-paths.test | ||
archive-thin-read.test | ||
archive-toc.test | ||
archive-unknown-filetype.test | ||
archive-update.test | ||
check_binary_output.ll | ||
coff-archive-short.test | ||
coff-archive.test | ||
coff-empty-drectve.test | ||
coff-invalid.test | ||
coff-weak-externals.test | ||
directory.ll | ||
dllimport-globalref.ll | ||
dllimport.ll | ||
dyn-rel-relocation.test | ||
dynamic-reloc.test | ||
invalid-alignment.test | ||
invalid.test | ||
kext.test | ||
macho-invalid.test | ||
mangle-ir.ll | ||
multi-module.ll | ||
multiple-sections.yaml | ||
nm-archive.test | ||
nm-bitcode.test | ||
nm-darwin-m.test | ||
nm-error.test | ||
nm-irix6.test | ||
nm-pe-image.test | ||
nm-shared-object.test | ||
nm-tapi-invalids.test | ||
nm-tapi.test | ||
nm-trivial-object.test | ||
nm-universal-binary.test | ||
nm-weak-global-macho.test | ||
obj2yaml.test | ||
objc-imageinfo-coff.ll | ||
objc-imageinfo-elf.ll | ||
objc-imageinfo-macho.ll | ||
objc-swift-mixed-imageinfo-macho.ll | ||
objdump-export-list.test | ||
objdump-no-sectionheaders.test | ||
objdump-private-headers.test | ||
objdump-relocations.test | ||
objdump-section-content.test | ||
objdump-sectionheaders.test | ||
objdump-symbol-table.test | ||
pr25877.test | ||
relocation-executable.test | ||
simple-archive.test | ||
size-trivial-macho.test | ||
stackmap-dump.test | ||
wasm-bad-data-symbol.yaml | ||
wasm-bad-metadata-version.yaml | ||
wasm-bad-reloc-type.test | ||
wasm-bad-symbol-type.test | ||
wasm-duplicate-name.test | ||
wasm-invalid-file.yaml | ||
wasm-invalid-section-order.test | ||
wasm-invalid-start.test | ||
wasm-missing-version.test | ||
wasm-relocs-and-producers.yaml | ||
wasm-string-outside-section.test | ||
yaml2obj-elf-rel-noref.yaml | ||
yaml2obj-elf-rel.yaml | ||
yaml2obj-readobj.test |