more updates, remove unused code from ld-decoder.cxx