From: Cyrill Gorcunov Date: Fri, 13 Feb 2009 21:50:23 +0000 (+0300) Subject: x86: compressed head_32 - use ENTRY,ENDPROC macros X-Git-Tag: v2.6.30-rc1~211^2~43^6~3^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb425afd2183e90a481bb211ff49361a117a3ecc;p=thirdparty%2Flinux.git 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: Cyrill Gorcunov Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/boot/compressed/head_32.S b/arch/x86/boot/compressed/head_32.S index 29c5fbf083923..9f20d3794060e 100644 --- a/arch/x86/boot/compressed/head_32.S +++ b/arch/x86/boot/compressed/head_32.S @@ -30,9 +30,7 @@ #include .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: