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

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
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -94,6 +94,16 @@ SECTIONS

	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
# include "vmlinux_32.lds.S"
+0 −10
Original line number Diff line number Diff line
	/* Exception table */
	. = ALIGN(16);
	__ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) {
		__start___ex_table = .;
		 *(__ex_table)
		__stop___ex_table = .;
	} :text = 0x9090

	RODATA

	/* writeable */
	. = ALIGN(PAGE_SIZE);
	/* Data */
+0 −10
Original line number Diff line number Diff line
	/* 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(PAGE_SIZE);
	/* Data */