Oops, forgot to refactor. Replacement patch attached. Rationale: The elf-dynamic-info-soname function is currently implemented but unused. The current implementation does not work as it omits unwrapping the dynamic-entry record. This patch makes the function work as intended.