The addresses of undefined symbols that make it into the final
executable (i.e. weak references to non-existant symbols) should
resolve to zero.
Also, make sure to not include function in the indirect function
table if they are not included in the output.