x86: provide __parainstructions section
This patch adds the __parainstructions section to vmlinux.lds.S. It's needed for the patching system. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
a59153dceb
commit
fbf519240c
|
@ -178,6 +178,14 @@ SECTIONS
|
||||||
}
|
}
|
||||||
__con_initcall_end = .;
|
__con_initcall_end = .;
|
||||||
SECURITY_INIT
|
SECURITY_INIT
|
||||||
|
|
||||||
|
. = ALIGN(8);
|
||||||
|
.parainstructions : AT(ADDR(.parainstructions) - LOAD_OFFSET) {
|
||||||
|
__parainstructions = .;
|
||||||
|
*(.parainstructions)
|
||||||
|
__parainstructions_end = .;
|
||||||
|
}
|
||||||
|
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
__alt_instructions = .;
|
__alt_instructions = .;
|
||||||
.altinstructions : AT(ADDR(.altinstructions) - LOAD_OFFSET) {
|
.altinstructions : AT(ADDR(.altinstructions) - LOAD_OFFSET) {
|
||||||
|
|
Loading…
Reference in a new issue