diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-05-11 22:46:38 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-05-12 21:27:51 +0200 |
commit | 8c6b0ef2ea1bb42cd72d987389297f66cd25790b (patch) | |
tree | bc5582d0cb4288a08c1f79342cf1619f3e6933e9 /arch/x86/kernel | |
parent | f8955ebe3ea85a9d3ff2685ee64386fd34434cf3 (diff) |
x86: wakeup.lds.S - section ordering fix
To allow linker to catch sections overlapping we have to declare
them in appropriate order.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/acpi/realmode/wakeup.lds.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/kernel/acpi/realmode/wakeup.lds.S b/arch/x86/kernel/acpi/realmode/wakeup.lds.S index 22fab6c4be1..7da00b799cd 100644 --- a/arch/x86/kernel/acpi/realmode/wakeup.lds.S +++ b/arch/x86/kernel/acpi/realmode/wakeup.lds.S @@ -12,11 +12,6 @@ ENTRY(_start) SECTIONS { - . = HEADER_OFFSET; - .header : { - *(.header) - } - . = 0; .text : { *(.text*) @@ -50,6 +45,11 @@ SECTIONS __bss_end = .; } + . = HEADER_OFFSET; + .header : { + *(.header) + } + . = ALIGN(16); _end = .; |