Lines Matching refs:section

14    2.2 Livepatch relocation section format
17 2.2.3 Example livepatch relocation section names
29 5. Symbol table and Elf section access
48 Since apply_relocate_add() requires access to a module's section header
49 table, symbol table, and relocation section indices, Elf information is
50 preserved for livepatch modules (see section 5). Livepatch manages its own
71 relas reference are special livepatch symbols (see section 2 and 3). The
110 relocation section(s) to the driver once it loads.
115 between a livepatch relocation section and the target section (usually the
116 text section of a function) to which the relocation(s) apply. It is
122 livepatch relocation section can be applied simply by passing in the
123 appropriate section index to apply_relocate_add(), which then uses it to
124 access the relocation section and apply the relocations.
126 Every symbol referenced by a rela in a livepatch relocation section is a
131 2.2 Livepatch relocation section format
137 section flag. See include/uapi/linux/elf.h for the definition. The module
145 The name of a livepatch relocation section must conform to the following format:
152 [A] The relocation section name is prefixed with the string ".klp.rela."
154 which the relocation section belongs follows immediately after the prefix.
155 [C] The actual name of the section to which this relocation section applies.
157 2.2.3 Example livepatch relocation section names:
185 Relocation section '.klp.rela.btrfs.text.btrfs_feature_attr_show' at offset 0x2ba0 contains 4 entri…
213 any livepatch relocation section, all livepatch symbols referenced by that
214 section must be resolved before livepatch can call apply_relocate_add() for
215 that reloc section.
230 relocation section refer to their respective symbols with their symbol indices,
235 Relocation section '.klp.rela.btrfs.text.btrfs_feature_attr_show' at offset 0x2ba0 contains 4 entri…
253 Livepatch symbols must have their section index marked as SHN_LIVEPATCH, so
308 5. Symbol table and Elf section access
312 Since apply_relocate_add() requires access to a module's section headers,
313 symbol table, and relocation section indices, Elf information is preserved for
321 char *secstrings; /* String table for the section headers */
322 unsigned int symndx; /* The symbol table section index */