Split dlmagic into more managable chunks + add -S option for non-dlopen mode
(useful when there is a LIB_PREFIX)
Authored by: mikeaubury 2005-07-20
Parent: [r8331]
Child: [r8333]