diff options
author | Jan Beulich <jbeulich@novell.com> | 2008-01-30 07:33:14 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:14 -0500 |
commit | c0400030b28e95fd477fdfe8ba8acb0af21e5c15 (patch) | |
tree | 1234a32ebfccd0c32fedbf247f5d3016f0b12451 | |
parent | c11b68bc8b1f7c7daaea2220e0a8d9f7d391cb8d (diff) |
x86-64: clean up linker script
Remove the dead .text.lock. Move _etext and __{start,stop}___ex_table
into their sections.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | arch/x86/kernel/vmlinux_64.lds.S | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/x86/kernel/vmlinux_64.lds.S b/arch/x86/kernel/vmlinux_64.lds.S index ea5386944e6..7457370d791 100644 --- a/arch/x86/kernel/vmlinux_64.lds.S +++ b/arch/x86/kernel/vmlinux_64.lds.S | |||
@@ -37,16 +37,15 @@ SECTIONS | |||
37 | KPROBES_TEXT | 37 | KPROBES_TEXT |
38 | *(.fixup) | 38 | *(.fixup) |
39 | *(.gnu.warning) | 39 | *(.gnu.warning) |
40 | } :text = 0x9090 | 40 | _etext = .; /* End of text section */ |
41 | /* out-of-line lock text */ | 41 | } :text = 0x9090 |
42 | .text.lock : AT(ADDR(.text.lock) - LOAD_OFFSET) { *(.text.lock) } | ||
43 | |||
44 | _etext = .; /* End of text section */ | ||
45 | 42 | ||
46 | . = ALIGN(16); /* Exception table */ | 43 | . = ALIGN(16); /* Exception table */ |
47 | __start___ex_table = .; | 44 | __ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) { |
48 | __ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) { *(__ex_table) } | 45 | __start___ex_table = .; |
49 | __stop___ex_table = .; | 46 | *(__ex_table) |
47 | __stop___ex_table = .; | ||
48 | } | ||
50 | 49 | ||
51 | NOTES :text :note | 50 | NOTES :text :note |
52 | 51 | ||