Lines Matching refs:section

29 Since apply_relocate_add() requires access to a module's section header
30 table, symbol table, and relocation section indices, Elf information is
31 preserved for livepatch modules (see section 5). Livepatch manages its own
52 relas reference are special livepatch symbols (see section 2 and 3). The
87 relocation section(s) to the driver once it loads.
92 between a livepatch relocation section and the target section (usually the
93 text section of a function) to which the relocation(s) apply. It is
99 livepatch relocation section can be applied simply by passing in the
100 appropriate section index to apply_relocate_add(), which then uses it to
101 access the relocation section and apply the relocations.
103 Every symbol referenced by a rela in a livepatch relocation section is a
107 3.1 Livepatch relocation section format
111 section flag. See include/uapi/linux/elf.h for the definition. The module
117 The name of a livepatch relocation section must conform to the following
126 The relocation section name is prefixed with the string ".klp.rela."
130 which the relocation section belongs follows immediately after the prefix.
133 The actual name of the section to which this relocation section applies.
138 **Livepatch relocation section names:**
174 …Relocation section '.klp.rela.btrfs.text.btrfs_feature_attr_show' at offset 0x2ba0 contains 4 entr…
200 any livepatch relocation section, all livepatch symbols referenced by that
201 section must be resolved before livepatch can call apply_relocate_add() for
202 that reloc section.
216 livepatch relocation section refer to their respective symbols with their symbol
222 …Relocation section '.klp.rela.btrfs.text.btrfs_feature_attr_show' at offset 0x2ba0 contains 4 entr…
237 Livepatch symbols must have their section index marked as SHN_LIVEPATCH, so
294 5. Symbol table and Elf section access
298 Since apply_relocate_add() requires access to a module's section headers,
299 symbol table, and relocation section indices, Elf information is preserved for
307 char *secstrings; /* String table for the section headers */
308 unsigned int symndx; /* The symbol table section index */