* sysdeps/alpha/elf/initfini.c: Avoid .ent/.end. * sysdeps/alpha...
authorRichard Henderson <rth@redhat.com>
Sat, 5 Jul 2003 22:56:39 +0000 (22:56 +0000)
committerRichard Henderson <rth@redhat.com>
Sat, 5 Jul 2003 22:56:39 +0000 (22:56 +0000)
2003-07-05  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.

ChangeLog
linuxthreads/ChangeLog
linuxthreads/sysdeps/alpha/elf/pt-initfini.c
sysdeps/alpha/elf/initfini.c

index 13bceac..8652cc2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-07-05  Richard Henderson  <rth@redhat.com>
+
+       * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.
+
 2003-07-03  Ulrich Drepper  <drepper@redhat.com>
 
        * configure.in: Also check for .cfi_rel_offset pseudo-op.
index 952c703..a7b22cf 100644 (file)
@@ -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
index 3ee0731..ff873bc 100644 (file)
@@ -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\
index 6c4d04b..5da7dc6 100644 (file)
@@ -1,5 +1,5 @@
 /* Special .init and .fini section support for Alpha.
-   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -45,21 +45,19 @@ __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\
        lda     $27, __gmon_start__                     \n\
        stq     $26, 0($30)                             \n\
        stq     $29, 8($30)                             \n\
-       .prologue 1                                     \n\
        beq     $27, 1f                                 \n\
        jsr     $26, ($27), __gmon_start__              \n\
        ldq     $29, 8($30)                             \n\
        .align 3                                        \n\
 1:                                                     \n\
-       .end    _init                                   \n\
-       .size   _init, 0                                \n\
 /*@_init_PROLOG_ENDS*/                                 \n\
                                                        \n\
 /*@_init_EPILOG_BEGINS*/                               \n\
@@ -73,16 +71,14 @@ _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\
        stq     $26, 0($30)                             \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\