I have some third party elf object files which contain section headers with type SHT_NULL, and define symbols within those sections. It's not clear that these symbols have any meaningful interpretation, however they cause ld to crash. The attached patch fixes this by discarding these symbols. Tested on i686-linux --enable-targets=all. Ok? Paul 2005-02-03 Paul Brook * elflink.c (elf_link_input_bfd): Ignore symbols from null input sections.