joyent/libuv — comment on commit feb267e61184887bb0cd1da09e62762ef0bbe9a4
File:  line 0
By bnoordhuis:

It depends on your toolchain. With gcc, you compile with `-Wl,--defsym=foo=0x0` or `-Wl,--just-symbols=symbols.txt` (where symbols.txt contains one or more `symbol = address` mappings).