Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fbf51924 authored by Glauber de Oliveira Costa's avatar Glauber de Oliveira Costa Committed by Ingo Molnar
Browse files

x86: provide __parainstructions section



This patch adds the __parainstructions section to vmlinux.lds.S.
It's needed for the patching system.

Signed-off-by: default avatarGlauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent a59153dc
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -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) {