Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c6b0ef2 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Ingo Molnar
Browse files

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: default avatarCyrill Gorcunov <gorcunov@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Acked-by: default avatarPavel Machek <pavel@suse.cz>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent f8955ebe
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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 = .;