mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-18 15:09:53 +00:00
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:
parent
f8955ebe3e
commit
8c6b0ef2ea
@ -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 = .;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user