Lines Matching full:relocation
7 This document describes LLVM BPF backend relocation types.
9 Relocation Record
12 LLVM BPF backend records each relocation with the following 16-byte
18 Elf64_Xword r_info; // Relocation type and symbol index.
55 Relocation section '.rel.text' at offset 0x190 contains 4 entries:
62 Each relocation is represented by ``Offset`` (8 bytes) and ``Info`` (8 bytes).
63 For example, the first relocation corresponds to the first instruction
64 (Offset 0x0) and the corresponding ``Info`` indicates the relocation type
81 Similarly, the second relocation is at ``.text`` offset ``0x18``, instruction 3,
101 Different Relocation Types
104 Six relocation types are supported. The following is an overview and
115 For example, ``R_BPF_64_64`` relocation type is used for ``ld_imm64`` instruction.
118 data bitsize is 32 (4 bytes). The relocation can be resolved with
123 In another case, ``R_BPF_64_ABS64`` relocation type is used for normal 64-bit data.
125 bitsize is 64 (8 bytes). The relocation can be resolved with
192 The first relocation corresponds to ``gfunc(a, b)`` where ``gfunc`` has a value of 0,
194 The second relocation corresponds to ``lfunc(a, b)`` where ``lfunc`` has a section
196 The third relocation corresponds to ld_imm64 of ``global``, which has a section
205 relocation below in ``.data`` section with command
208 Relocation section '.rel.data' at offset 0x458 contains 1 entries:
212 The relocation says the first 8-byte of ``.data`` section should be
218 Relocation section '.rel.debug_info' at offset 0x468 contains 13 entries:
233 Relocation section '.rel.BTF' at offset 0x538 contains 1 entries:
237 Relocation section '.rel.BTF.ext' at offset 0x548 contains 2 entries: