]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-04-13 Andreas Schwab <schwab@suse.de>
authorRoland McGrath <roland@gnu.org>
Mon, 17 Oct 2005 04:52:17 +0000 (04:52 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 17 Oct 2005 04:52:17 +0000 (04:52 +0000)
[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

index 310804786951acf3d8a251b2c3a5dfe75fef172b..056e40f5992013996d4e04588aeaf000d353ab05 100644 (file)
@@ -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