diff options
author | Joshua Oreman <oremanj@rwcr.net> | 2009-11-25 18:10:05 -0800 |
---|---|---|
committer | Marty Connor <mdc@etherboot.org> | 2010-01-20 17:05:25 -0500 |
commit | 2d58a62330c755dcde93ccaf09def7f8c2fae158 (patch) | |
tree | 9136f497f512da4359512286709ae1a2c01c6ca8 /src/include/errno.h | |
parent | 272cfac8afd34852f6a7cac55c49162733c65d50 (diff) | |
download | ipxe-2d58a62330c755dcde93ccaf09def7f8c2fae158.tar.gz |
[linker] Add safe weak symbol macros
Weak symbols are a useful tool in eliminating unnecessary dependencies
between object files, but they are somewhat dangerous because one must
remember to test the weak symbol against NULL before using it. To
rectify that, add macros for declaring weak functions that will return
a default value inline if the file defining them is not available at
link time.
Signed-off-by: Marty Connor <mdc@etherboot.org>
Diffstat (limited to 'src/include/errno.h')
0 files changed, 0 insertions, 0 deletions