Lines Matching refs:relocation
12 2. Livepatch relocation sections
13 2.1 What are livepatch relocation sections?
14 2.2 Livepatch relocation section format
17 2.2.3 Example livepatch relocation section names
40 loader to perform the all the arch-specific relocation work. Specifically,
49 table, symbol table, and relocation section indices, Elf information is
51 relocation sections and symbols, which are described in this document. The
52 Elf constants used to mark livepatch symbols and relocation sections were
70 relocation sections in place of dynrela sections, and the symbols that the
72 arch-specific livepatch relocation code is replaced by a call to
100 2. Livepatch relocation sections
104 2.1 What are livepatch relocation sections?
106 A livepatch module manages its own Elf relocation sections to apply
110 relocation section(s) to the driver once it loads.
113 multiple livepatch relocation sections associated with it (e.g. patches to
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
117 also possible for a livepatch module to have no livepatch relocation
122 livepatch relocation section can be applied simply by passing in the
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
136 Livepatch relocation sections must be marked with the SHF_RELA_LIVEPATCH
138 loader recognizes this flag and will avoid applying those relocation sections
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:
178 [*] Livepatch relocation sections are SHT_RELA sections but with a few special
194 [*] Every symbol referenced by a relocation is a livepatch symbol.
203 Livepatch symbols are symbols referred to by livepatch relocation sections.
213 any livepatch relocation section, all livepatch symbols referenced by that
230 relocation section refer to their respective symbols with their symbol indices,
313 symbol table, and relocation section indices, Elf information is preserved for