[PATCH v3 06/29] x86: assembly, annotate functions by ENTRY, not GLOBAL

2017-04-21 Thread Jiri Slaby
GLOBAL is meant for global symbols, but not functions. Use ENTRY which is dedicated for global functions: * it aligns the functions properly * it is expected to have a corresponding ENDPROC too. startup_64, which uses .globl explicitly, is converted too. Besides that, x86's custom GLOBAL macro

[PATCH v3 06/29] x86: assembly, annotate functions by ENTRY, not GLOBAL

2017-04-21 Thread Jiri Slaby
GLOBAL is meant for global symbols, but not functions. Use ENTRY which is dedicated for global functions: * it aligns the functions properly * it is expected to have a corresponding ENDPROC too. startup_64, which uses .globl explicitly, is converted too. Besides that, x86's custom GLOBAL macro