summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/sparc/gen/memset.s
diff options
context:
space:
mode:
authorraf <none@none>2008-04-29 14:12:45 -0700
committerraf <none@none>2008-04-29 14:12:45 -0700
commit8cd45542f2a452ca0dab13d8b2d5cfa876ccbebc (patch)
tree0571ec3284912727f3d8ba667ed57b4cc6afb8cd /usr/src/lib/libc/sparc/gen/memset.s
parent31e69ea4bce567a03de57e063cb36ef69af61470 (diff)
downloadillumos-joyent-8cd45542f2a452ca0dab13d8b2d5cfa876ccbebc.tar.gz
6678310 using LD_AUDIT, ld.so.1 calls shared library's .init before library is fully relocated
6689238 libc needs global protection against ld.so.1
Diffstat (limited to 'usr/src/lib/libc/sparc/gen/memset.s')
-rw-r--r--usr/src/lib/libc/sparc/gen/memset.s12
1 files changed, 4 insertions, 8 deletions
diff --git a/usr/src/lib/libc/sparc/gen/memset.s b/usr/src/lib/libc/sparc/gen/memset.s
index a1f9c223c1..7dd7d51961 100644
--- a/usr/src/lib/libc/sparc/gen/memset.s
+++ b/usr/src/lib/libc/sparc/gen/memset.s
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,8 +18,9 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 1987-2003 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -56,10 +56,6 @@
#include "synonyms.h"
- .weak _private_memset
- .type _private_memset, #function
- _private_memset = memset
-
ENTRY(memset)
mov %o0, %o5 ! copy sp before using it
cmp %o2, 7 ! if small counts, just write bytes