about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-07-05 22:56:39 +0000
committerRichard Henderson <rth@redhat.com>2003-07-05 22:56:39 +0000
commit6fe93e82bbdde6be1979122c6f643563d6470cab (patch)
tree9a47afcd8a1b1500a0df62c206f6a464d5d4197b /linuxthreads
parent5e497a4142a2235c2a896ee6c9c6d72ee0571270 (diff)
downloadglibc-6fe93e82bbdde6be1979122c6f643563d6470cab.tar.gz
glibc-6fe93e82bbdde6be1979122c6f643563d6470cab.tar.xz
glibc-6fe93e82bbdde6be1979122c6f643563d6470cab.zip
* sysdeps/alpha/elf/initfini.c: Avoid .ent/.end. * sysdeps/alpha/elf/pt-initfini.c: Avoid .ent/.end.
2003-07-05  Richard Henderson  <rth@redhat.com>

	* sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/sysdeps/alpha/elf/pt-initfini.c11
2 files changed, 8 insertions, 7 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 952c703804..a7b22cf22f 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,7 @@
+2003-07-05  Richard Henderson  <rth@redhat.com>
+
+	* sysdeps/alpha/elf/pt-initfini.c: Avoid .ent/.end.
+
 2003-06-20  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
 
 	* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Support cancellation
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\