x86, vmlinux.lds: unify parainstructions
[cascardo/linux.git] / arch / x86 / kernel / vmlinux.lds.S
index 8b203c4..c8dd71e 100644 (file)
@@ -291,6 +291,24 @@ SECTIONS
 
        SECURITY_INIT
 
+       . = ALIGN(8);
+       .parainstructions : AT(ADDR(.parainstructions) - LOAD_OFFSET) {
+               __parainstructions = .;
+               *(.parainstructions)
+               __parainstructions_end = .;
+       }
+
+       . = ALIGN(8);
+       .altinstructions : AT(ADDR(.altinstructions) - LOAD_OFFSET) {
+               __alt_instructions = .;
+               *(.altinstructions)
+               __alt_instructions_end = .;
+       }
+
+       .altinstr_replacement : AT(ADDR(.altinstr_replacement) - LOAD_OFFSET) {
+               *(.altinstr_replacement)
+       }
+
 
 #ifdef CONFIG_X86_32
 # include "vmlinux_32.lds.S"