mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
arm: adapt asm/linkage.h from Linux
This will add ARM specific over-rides for the defines from linux/linkage.h Signed-off-by: Aneesh V <aneesh@ti.com> Tested-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
0696473be7
commit
7245536d19
2 changed files with 13 additions and 1 deletions
7
arch/arm/include/asm/linkage.h
Normal file
7
arch/arm/include/asm/linkage.h
Normal file
|
@ -0,0 +1,7 @@
|
|||
#ifndef __ASM_LINKAGE_H
|
||||
#define __ASM_LINKAGE_H
|
||||
|
||||
#define __ALIGN .align 0
|
||||
#define __ALIGN_STR ".align 0"
|
||||
|
||||
#endif
|
|
@ -44,8 +44,13 @@
|
|||
#define SYMBOL_NAME_LABEL(X) X:
|
||||
#endif
|
||||
|
||||
#ifndef __ALIGN
|
||||
#define __ALIGN .align 4
|
||||
#endif
|
||||
|
||||
#ifndef __ALIGN_STR
|
||||
#define __ALIGN_STR ".align 4"
|
||||
#endif
|
||||
|
||||
#ifdef __ASSEMBLY__
|
||||
|
||||
|
@ -67,7 +72,7 @@
|
|||
|
||||
#ifndef ENDPROC
|
||||
#define ENDPROC(name) \
|
||||
.type name, @function; \
|
||||
.type name STT_FUNC; \
|
||||
END(name)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue