Commit 448bc3ab authored by Sam Ravnborg's avatar Sam Ravnborg Committed by Ingo Molnar

x86, vmlinux.lds: unify exception table

[ Impact: cleanup ]
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Cc: Tim Abbott <tabbott@MIT.EDU>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
LKML-Reference: <1240991249-27117-6-git-send-email-sam@ravnborg.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent dfc20895
...@@ -94,6 +94,16 @@ SECTIONS ...@@ -94,6 +94,16 @@ SECTIONS
NOTES :text :note NOTES :text :note
/* Exception table */
. = ALIGN(16);
__ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) {
__start___ex_table = .;
*(__ex_table)
__stop___ex_table = .;
} :text = 0x9090
RODATA
#ifdef CONFIG_X86_32 #ifdef CONFIG_X86_32
# include "vmlinux_32.lds.S" # include "vmlinux_32.lds.S"
......
/* Exception table */
. = ALIGN(16);
__ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) {
__start___ex_table = .;
*(__ex_table)
__stop___ex_table = .;
} :text = 0x9090
RODATA
/* writeable */ /* writeable */
. = ALIGN(PAGE_SIZE); . = ALIGN(PAGE_SIZE);
/* Data */ /* Data */
......
/* Exception table */
. = ALIGN(16);
__ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) {
__start___ex_table = .;
*(__ex_table)
__stop___ex_table = .;
} :text = 0x9090
RODATA
/* Align data segment to page size boundary */ /* Align data segment to page size boundary */
. = ALIGN(PAGE_SIZE); . = ALIGN(PAGE_SIZE);
/* Data */ /* Data */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment