Skip to content
Snippets Groups Projects
Commit 7245536d authored by Aneesh V's avatar Aneesh V Committed by Albert ARIBAUD
Browse files

arm: adapt asm/linkage.h from Linux


This will add ARM specific over-rides for the defines
from linux/linkage.h

Signed-off-by: default avatarAneesh V <aneesh@ti.com>
Tested-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 0696473b
No related branches found
No related tags found
No related merge requests found
#ifndef __ASM_LINKAGE_H
#define __ASM_LINKAGE_H
#define __ALIGN .align 0
#define __ALIGN_STR ".align 0"
#endif
...@@ -44,8 +44,13 @@ ...@@ -44,8 +44,13 @@
#define SYMBOL_NAME_LABEL(X) X: #define SYMBOL_NAME_LABEL(X) X:
#endif #endif
#ifndef __ALIGN
#define __ALIGN .align 4 #define __ALIGN .align 4
#endif
#ifndef __ALIGN_STR
#define __ALIGN_STR ".align 4" #define __ALIGN_STR ".align 4"
#endif
#ifdef __ASSEMBLY__ #ifdef __ASSEMBLY__
...@@ -67,7 +72,7 @@ ...@@ -67,7 +72,7 @@
#ifndef ENDPROC #ifndef ENDPROC
#define ENDPROC(name) \ #define ENDPROC(name) \
.type name, @function; \ .type name STT_FUNC; \
END(name) END(name)
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment