summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2008-05-11 20:46:38 +0200
committerIngo Molnar <mingo@elte.hu>2008-05-12 21:27:51 +0200
commit8c6b0ef2ea1bb42cd72d987389297f66cd25790b (patch)
treebc5582d0cb4288a08c1f79342cf1619f3e6933e9 /arch
parentx86: [VOYAGER] fix duplicate phys_cpu_present_map symbol (diff)
downloadlinux-8c6b0ef2ea1bb42cd72d987389297f66cd25790b.tar.xz
linux-8c6b0ef2ea1bb42cd72d987389297f66cd25790b.zip
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')
-rw-r--r--arch/x86/kernel/acpi/realmode/wakeup.lds.S10
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 22fab6c4be15..7da00b799cda 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 = .;