diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-30 07:33:19 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:19 -0500 |
commit | fbf519240c840f51e4d4af35c3c19e1df160dc48 (patch) | |
tree | 856243ada4e56e6fb19074bbd026998b6cf0749b /arch/x86/kernel/vmlinux_64.lds.S | |
parent | a59153dceb860f810b2ecd2504162309291edd4c (diff) |
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>
Diffstat (limited to 'arch/x86/kernel/vmlinux_64.lds.S')
-rw-r--r-- | arch/x86/kernel/vmlinux_64.lds.S | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/kernel/vmlinux_64.lds.S b/arch/x86/kernel/vmlinux_64.lds.S index 7457370d7916..0992b9946c6f 100644 --- a/arch/x86/kernel/vmlinux_64.lds.S +++ b/arch/x86/kernel/vmlinux_64.lds.S | |||
@@ -178,6 +178,14 @@ SECTIONS | |||
178 | } | 178 | } |
179 | __con_initcall_end = .; | 179 | __con_initcall_end = .; |
180 | SECURITY_INIT | 180 | SECURITY_INIT |
181 | |||
182 | . = ALIGN(8); | ||
183 | .parainstructions : AT(ADDR(.parainstructions) - LOAD_OFFSET) { | ||
184 | __parainstructions = .; | ||
185 | *(.parainstructions) | ||
186 | __parainstructions_end = .; | ||
187 | } | ||
188 | |||
181 | . = ALIGN(8); | 189 | . = ALIGN(8); |
182 | __alt_instructions = .; | 190 | __alt_instructions = .; |
183 | .altinstructions : AT(ADDR(.altinstructions) - LOAD_OFFSET) { | 191 | .altinstructions : AT(ADDR(.altinstructions) - LOAD_OFFSET) { |