aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/alpha/elf/pt-initfini.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/alpha/elf/pt-initfini.c')
-rw-r--r--linuxthreads/sysdeps/alpha/elf/pt-initfini.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/linuxthreads/sysdeps/alpha/elf/pt-initfini.c b/linuxthreads/sysdeps/alpha/elf/pt-initfini.c
index 3ee0731b59..ff873bc4cb 100644
--- a/linuxthreads/sysdeps/alpha/elf/pt-initfini.c
+++ b/linuxthreads/sysdeps/alpha/elf/pt-initfini.c
@@ -45,18 +45,16 @@ __asm__ (" \n\
/*@_init_PROLOG_BEGINS*/ \n\
.section .init, \"ax\", @progbits \n\
.globl _init \n\
- .ent _init \n\
+ .type _init,@function \n\
+ .usepv _init,std \n\
_init: \n\
ldgp $29, 0($27) \n\
subq $30, 16, $30 \n\
stq $26, 0($30) \n\
stq $29, 8($30) \n\
- .prologue 1 \n\
jsr $26, __pthread_initialize_minimal \n\
ldq $29, 8($30) \n\
.align 3 \n\
- .end _init \n\
- .size _init, 0 \n\
/*@_init_PROLOG_ENDS*/ \n\
\n\
/*@_init_EPILOG_BEGINS*/ \n\
@@ -70,7 +68,8 @@ _init: \n\
/*@_fini_PROLOG_BEGINS*/ \n\
.section .fini, \"ax\", @progbits \n\
.globl _fini \n\
- .ent _fini \n\
+ .type _fini,@function \n\
+ .usepv _fini,std \n\
_fini: \n\
ldgp $29, 0($27) \n\
subq $30, 16, $30 \n\
@@ -78,8 +77,6 @@ _fini: \n\
stq $29, 8($30) \n\
.prologue 1 \n\
.align 3 \n\
- .end _fini \n\
- .size _fini, 0 \n\
/*@_fini_PROLOG_ENDS*/ \n\
\n\
/*@_fini_EPILOG_BEGINS*/ \n\