Move ELF library to nano-c.
Delete dead codes.