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>
This commit is contained in:
Cyrill Gorcunov 2008-05-11 22:46:38 +04:00 committed by Ingo Molnar
parent f8955ebe3e
commit 8c6b0ef2ea
1 changed files with 5 additions and 5 deletions

View File

@ -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 = .;