From: David Feng Date: Sat, 14 Dec 2013 03:47:31 +0000 (+0800) Subject: add weak entry definition X-Git-Tag: v2014.01-rc3~9^2~39 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ec4fa56743a3534c4bace2c9c72ea36b9d41000c;p=u-boot add weak entry definition Signed-off-by: David Feng --- 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