]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/alpha/stxcpy.S
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / sysdeps / alpha / stxcpy.S
index 5ba2d43e54837b637b469dbf72120da18d56f9ce..3e7999677a18f6312895eee3c688aac1aabb2cc9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2019 Free Software Foundation, Inc.
    Contributed by Richard Henderson (rth@tamu.edu)
    This file is part of the GNU C Library.
 
@@ -13,9 +13,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library.  If not, see
+   <http://www.gnu.org/licenses/>.  */
 
 /* Copy a null-terminated string from SRC to DST.
 
        .set noreorder
 
        .text
+       .type   __stxcpy, @function
+       .globl  __stxcpy
+       .usepv  __stxcpy, no
 
-/* There is a problem with either gdb (as of 4.16) or gas (as of 2.7) that
-   doesn't like putting the entry point for a procedure somewhere in the
-   middle of the procedure descriptor.  Work around this by putting the
-   aligned copy in its own procedure descriptor */
-
-       .ent stxcpy_aligned
-       .align 3
-stxcpy_aligned:
-       .frame sp, 0, t9
-       .prologue 0
+       cfi_startproc
+       cfi_return_column (t9)
 
        /* On entry to this basic block:
           t0 == the first destination word for masking back in
           t1 == the first source word.  */
-
+       .align 3
+stxcpy_aligned:
        /* Create the 1st output word and detect 0's in the 1st input word.  */
        lda     t2, -1          # e1    : build a mask against false zero
        mskqh   t2, a1, t2      # e0    :   detection in the src word
@@ -73,7 +68,6 @@ stxcpy_aligned:
        /* On entry to this basic block:
           t0 == the first destination word for masking back in
           t1 == a source word not containing a null.  */
-
 $a_loop:
        stq_u   t1, 0(a0)       # e0    :
        addq    a0, 8, a0       # .. e1 :
@@ -107,15 +101,8 @@ $a_eos:
 1:     stq_u   t1, 0(a0)       # e0    :
        ret     (t9)            # .. e1 :
 
-       .end stxcpy_aligned
-
        .align 3
-       .ent __stxcpy
-       .globl __stxcpy
 __stxcpy:
-       .frame sp, 0, t9
-       .prologue 0
-
        /* Are source and destination co-aligned?  */
        xor     a0, a1, t0      # e0    :
        unop                    #       :
@@ -304,4 +291,4 @@ $unaligned:
        stq_u   t1, 0(a0)       # .. e0 :
        ret     (t9)
 
-       .end __stxcpy
+       cfi_endproc