projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cea95c
)
add weak entry definition
author
David Feng
<fenghua@phytium.com.cn>
Sat, 14 Dec 2013 03:47:31 +0000
(11:47 +0800)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Thu, 9 Jan 2014 15:08:15 +0000
(16:08 +0100)
Signed-off-by: David Feng <fenghua@phytium.com.cn>
include/linux/linkage.h
patch
|
blob
|
history
diff --git
a/include/linux/linkage.h
b/include/linux/linkage.h
index 39c712eac5b912b6cd2bd1ece7abf17213125552..7435fcd0262bd4770159e1bd3ebf6d5a9444a54f 100644
(file)
--- a/
include/linux/linkage.h
+++ b/
include/linux/linkage.h
@@
-48,6
+48,10
@@
.globl SYMBOL_NAME(name); \
LENTRY(name)
+#define WEAK(name) \
+ .weak SYMBOL_NAME(name); \
+ LENTRY(name)
+
#ifndef END
#define END(name) \
.size name, .-name