add weak entry definition
Signed-off-by: David Feng <fenghua@phytium.com.cn>
This commit is contained in:

committed by
Albert ARIBAUD

parent
5cea95cb53
commit
ec4fa56743
@@ -48,6 +48,10 @@
|
|||||||
.globl SYMBOL_NAME(name); \
|
.globl SYMBOL_NAME(name); \
|
||||||
LENTRY(name)
|
LENTRY(name)
|
||||||
|
|
||||||
|
#define WEAK(name) \
|
||||||
|
.weak SYMBOL_NAME(name); \
|
||||||
|
LENTRY(name)
|
||||||
|
|
||||||
#ifndef END
|
#ifndef END
|
||||||
#define END(name) \
|
#define END(name) \
|
||||||
.size name, .-name
|
.size name, .-name
|
||||||
|
Reference in New Issue
Block a user