]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
authorRoland McGrath <roland@gnu.org>
Sun, 16 Oct 2005 09:42:06 +0000 (09:42 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 16 Oct 2005 09:42:06 +0000 (09:42 +0000)
[BZ #1076]
* sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.

sysdeps/ia64/elf/initfini.c

index 59674fe6f2d818e6529e9179efab4fa8ce2af736..3aa44de8f12e57196b1cb5644a9e21746e95baab 100644 (file)
@@ -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"