about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-03-20 04:26:29 +0000
committerUlrich Drepper <drepper@redhat.com>2005-03-20 04:26:29 +0000
commit1aa4e40a313c36432caef1c08ab50a9ed3e00d58 (patch)
tree5771f476776b9c689541fbc23801a117fcfc0096 /sysdeps
parenta5f01f37fe047e3637edc0bb667d3a63692133d7 (diff)
downloadglibc-1aa4e40a313c36432caef1c08ab50a9ed3e00d58.tar.gz
glibc-1aa4e40a313c36432caef1c08ab50a9ed3e00d58.tar.xz
glibc-1aa4e40a313c36432caef1c08ab50a9ed3e00d58.zip
* sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/ia64/elf/initfini.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/ia64/elf/initfini.c b/sysdeps/ia64/elf/initfini.c
index 59674fe6f2..3aa44de8f1 100644
--- a/sysdeps/ia64/elf/initfini.c
+++ b/sysdeps/ia64/elf/initfini.c
@@ -116,13 +116,14 @@ __asm__ (".section .init\n"
 "/*@_init_PROLOG_ENDS*/\n"
 "\n"
 "/*@_init_EPILOG_BEGINS*/\n"
+"	.section .init\n"
 "	.proc _init#\n"
+"_init:\n"
 "	.prologue\n"
 "	.save ar.pfs, r34\n"
 "	.vframe r32\n"
 "	.save rp, r33\n"
 "	.body\n"
-"	.section .init\n"
 "	.regstk 0,2,0,0\n"
 "	mov r12 = r32\n"
 "	mov ar.pfs = r34\n"
@@ -155,6 +156,7 @@ __asm__ (".section .init\n"
 "/*@_fini_EPILOG_BEGINS*/\n"
 "	.section .fini\n"
 "	.proc _fini#\n"
+"_fini:\n"
 "	.prologue\n"
 "	.save ar.pfs, r34\n"
 "	.vframe r32\n"