summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorJoshua Oreman2009-08-02 23:01:36 +0200
committerMarty Connor2009-11-21 02:27:25 +0100
commit572e61754adca6739b17e8604da964ce2aa98eef (patch)
treea046b319d7b7048df1884e0d884a678acea6e2bf /src/Makefile
parent[pxebs] Consistently interpret PXE type field as little-endian (diff)
downloadipxe-572e61754adca6739b17e8604da964ce2aa98eef.tar.gz
ipxe-572e61754adca6739b17e8604da964ce2aa98eef.tar.xz
ipxe-572e61754adca6739b17e8604da964ce2aa98eef.zip
[linker] Expand and correct symbol requirement macros
REQUIRE_SYMBOL() formerly used a formulation of symbol requirement that would allow a link to succeed despite lacking a required symbol, because it did not introduce any relocations. Fix by renaming it to REQUEST_SYMBOL() (since the soft-requirement behavior can be useful) and add a REQUIRE_SYMBOL() that truly requires. Add EXPORT_SYMBOL() and IMPORT_SYMBOL() for REQUEST_SYMBOL()-like behavior that allows one to make use of the symbol, by combining a weak external on the symbol itself with a REQUEST_SYMBOL() of a second symbol. Signed-off-by: Marty Connor <mdc@etherboot.org>
Diffstat (limited to 'src/Makefile')
0 files changed, 0 insertions, 0 deletions