amd/rtld: layout and relocate LDS symbols