aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-04 01:22:11 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-04 01:22:11 +0000
commit6111cd0e8a327ee3084c67e86b6ad050c6d83096 (patch)
treeaf4eb5edf46c989affc15ec937de7fca5b32a4fc /sysdeps/sparc
parent02926a63a13b77b30772aa329b251b1485a7c84c (diff)
downloadglibc-6111cd0e8a327ee3084c67e86b6ad050c6d83096.tar
glibc-6111cd0e8a327ee3084c67e86b6ad050c6d83096.tar.gz
glibc-6111cd0e8a327ee3084c67e86b6ad050c6d83096.tar.bz2
glibc-6111cd0e8a327ee3084c67e86b6ad050c6d83096.zip
(__stpcpy): Add libc_hidden_def.
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/sparc32/stpcpy.S5
-rw-r--r--sysdeps/sparc/sparc64/stpcpy.S3
2 files changed, 5 insertions, 3 deletions
diff --git a/sysdeps/sparc/sparc32/stpcpy.S b/sysdeps/sparc/sparc32/stpcpy.S
index dbce3e0b4e..f32faac9c1 100644
--- a/sysdeps/sparc/sparc32/stpcpy.S
+++ b/sysdeps/sparc/sparc32/stpcpy.S
@@ -1,6 +1,6 @@
/* Copy SRC to DEST returning the address of the terminating '\0' in DEST.
For SPARC v7.
- Copyright (C) 1996, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1999, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jj@ultra.linux.cz>.
@@ -77,7 +77,7 @@ ENTRY(__stpcpy)
6: andcc %o0, 3, %g0
bne 16f
sub %g0, 4, %g1
-
+
11: add %g1, 4, %g1
ld [%o1 + %g1], %o5
sub %o5, %o2, %o4
@@ -161,3 +161,4 @@ ENTRY(__stpcpy)
END(__stpcpy)
weak_alias(__stpcpy, stpcpy)
+libc_hidden_def (__stpcpy)
diff --git a/sysdeps/sparc/sparc64/stpcpy.S b/sysdeps/sparc/sparc64/stpcpy.S
index fb8dfcb4bf..e9617f4d8b 100644
--- a/sysdeps/sparc/sparc64/stpcpy.S
+++ b/sysdeps/sparc/sparc64/stpcpy.S
@@ -1,6 +1,6 @@
/* Copy SRC to DEST returning the address of the terminating '\0' in DEST.
For SPARC v9.
- Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jan Vondrak <jvon4518@ss1000.ms.mff.cuni.cz> and
Jakub Jelinek <jj@ultra.linux.cz>.
@@ -271,3 +271,4 @@ ENTRY(__stpcpy)
END(__stpcpy)
weak_alias (__stpcpy, stpcpy)
+libc_hidden_def (__stpcpy)