diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-07-23 22:17:08 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-07-23 22:17:08 -0400 |
commit | ba5ae24cd489d6ea2d1ff2e39951c02a39a97315 (patch) | |
tree | 7608b850b7350dd5ed7bd406f504c5989b77df88 /com32 | |
parent | 97c2f2b35677f999ced3d8649bfc7d441b1dc4e4 (diff) | |
download | syslinux-for-3.72.tar.gz |
klibc/compiler.h: add __weak macrofor-3.72
Add a macro for weak symbols.
Diffstat (limited to 'com32')
-rw-r--r-- | com32/include/klibc/compiler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/com32/include/klibc/compiler.h b/com32/include/klibc/compiler.h index 984071f7..2b8e0f6e 100644 --- a/com32/include/klibc/compiler.h +++ b/com32/include/klibc/compiler.h @@ -115,6 +115,9 @@ /* Packed structures */ #define __packed __attribute__((packed)) +/* Weak symbols */ +#define __weak __attribute__((weak)) + /* Alignment */ #define __aligned(x) __attribute__((aligned(x))) #define __alignas(x) __attribute__((aligned(__alignof__(x)))) |