diff options
author | David Feng <fenghua@phytium.com.cn> | 2013-12-14 07:47:31 +0400 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-01-09 19:08:15 +0400 |
commit | ec4fa56743a3534c4bace2c9c72ea36b9d41000c (patch) | |
tree | 32dd0c99ffa5e47a1371c07372d0b2cd247b79c3 | |
parent | 5cea95cb53c7192c3ab9cb61634fa1a1f33649f4 (diff) | |
download | u-boot-ec4fa56743a3534c4bace2c9c72ea36b9d41000c.tar.xz |
add weak entry definition
Signed-off-by: David Feng <fenghua@phytium.com.cn>
-rw-r--r-- | include/linux/linkage.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/linkage.h b/include/linux/linkage.h index 39c712eac5..7435fcd026 100644 --- 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 |