Alan Coopersmith wrote: > I've found the problem - it's actually a bug I introduced trying to follow > your advice! 8-)
Following my advice? Well, there's your problem. > .... Unfortunately, this script included a couple symbols too many: > _init = FUNCTION extern; > _fini = FUNCTION extern; > which ld seems to have translated into the INIT 0 and FINI 0 that > elfdump shows. > > (Perhaps a small RFE for the linker to tell me I'm doing something stupid?) Absolutely. ld(1) is being rather stupid in allowing an unresolved external function to be translated into a definition of address 0. I'll poke around and file any necessary bug. -- Rod