From 7afc0bc83770bcc4b502c3180aea5a0dd7c97dbb Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 17 Oct 2005 04:52:17 +0000 Subject: [PATCH] 2005-04-13 Andreas Schwab [BZ #721] * sysdeps/ia64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE) [PROF]: Open code strong_alias because the original name is not visible to the compiler. * sysdeps/powerpc/powerpc64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE) [PROF]: Likewise. --- sysdeps/ia64/dl-machine.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sysdeps/ia64/dl-machine.h b/sysdeps/ia64/dl-machine.h index 31080478695..056e40f5992 100644 --- a/sysdeps/ia64/dl-machine.h +++ b/sysdeps/ia64/dl-machine.h @@ -264,7 +264,8 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile) #else #define ELF_MACHINE_RUNTIME_TRAMPOLINE \ TRAMPOLINE_TEMPLATE (_dl_runtime_resolve, fixup); \ - strong_alias (_dl_runtime_resolve, _dl_runtime_profile); + asm (".globl _dl_runtime_profile\n" \ + ".set _dl_runtime_profile, _dl_runtime_resolve"); #endif /* Undo the adds out0 = 16, sp below to get at the value we want in -- 2.47.2