mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 12:33:33 +02:00
5e8323860d
- teach RelocVisitor to recognize bpf relocations - fix AsmInfo->PointerSize to make sure dwarf is emitted correctly - add a test for the above Signed-off-by: Alexei Starovoitov <ast@kernel.org> llvm-svn: 287521
9 lines
174 B
Modula-2
9 lines
174 B
Modula-2
#ifndef ELF_RELOC
|
|
#error "ELF_RELOC must be defined"
|
|
#endif
|
|
|
|
// No relocation
|
|
ELF_RELOC(R_BPF_NONE, 0)
|
|
ELF_RELOC(R_BPF_64_64, 1)
|
|
ELF_RELOC(R_BPF_64_32, 10)
|