[snip]Thanks for your input. It is very likely that I misunderstood, but I found the following in /usr/include/elf.h on NetBSD 1.6
Is this consistent with what you said?seems like i misread some of the ELF specs. Your fix is right (sorry for the noise). BTW, you could also remove the use of STN_UNDEF in elf.c while you're at it.
A+