fixup/profile_fixup are internal functions, called only by your asm code (ELF_MACHINE_RUNTIME_TRAMPOLINE). They can return whatever you want, controlled by elf_machine_fixup_plt. On IA64, they return the descriptor, and the asm gets the gp and pc from it.