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

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

x86: compressed head_32 - use ENTRY,ENDPROC macros



Impact: clenaup

Linker script will put startup_32 at predefined
address so using startup_32 will not bloat the
code size.

Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 2d4eeecb
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -30,9 +30,7 @@
#include <asm/asm-offsets.h>

.section ".text.head","ax",@progbits
	.globl startup_32

startup_32:
ENTRY(startup_32)
	cld
	/* test KEEP_SEGMENTS flag to see if the bootloader is asking
	 * us to not reload segments */
@@ -113,6 +111,8 @@ startup_32:
 */
	leal relocated(%ebx), %eax
	jmp *%eax
ENDPROC(startup_32)

.section ".text"
relocated: