summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/sparc
diff options
context:
space:
mode:
authorraf <none@none>2008-01-23 12:00:31 -0800
committerraf <none@none>2008-01-23 12:00:31 -0800
commita574db851cdc636fc3939b68e80d79fe7fbd57f2 (patch)
tree7a28122042d1d24d9c4df92ba257e2d34d111e2e /usr/src/lib/libc/sparc
parent4a7ceb24cfcc0a97f96d86cfe5852ae445b50e57 (diff)
downloadillumos-gate-a574db851cdc636fc3939b68e80d79fe7fbd57f2.tar.gz
6598890 cancellation code abuses synonyms
--HG-- rename : usr/src/lib/libc/amd64/crt/cerror64.s => deleted_files/usr/src/lib/libc/amd64/crt/cerror64.s rename : usr/src/lib/libc/port/gen/wait3.c => deleted_files/usr/src/lib/libc/port/gen/wait3.c rename : usr/src/lib/libc/port/gen/wait4.c => deleted_files/usr/src/lib/libc/port/gen/wait4.c rename : usr/src/lib/libc/port/sys/fsync.c => deleted_files/usr/src/lib/libc/port/sys/fsync.c rename : usr/src/lib/libc/sparc/sys/syssun.s => deleted_files/usr/src/lib/libc/sparc/sys/syssun.s rename : usr/src/lib/libc/common/sys/__fcntl.s => usr/src/lib/libc/common/sys/fcntl.s rename : usr/src/lib/libc/common/sys/_rename.s => usr/src/lib/libc/common/sys/rename.s rename : usr/src/lib/libc/port/gen/rename.c => usr/src/lib/libc/port/gen/remove.c rename : usr/src/lib/libc/port/sys/fcntl.c => usr/src/lib/libc/port/sys/libc_fcntl.c
Diffstat (limited to 'usr/src/lib/libc/sparc')
-rw-r--r--usr/src/lib/libc/sparc/Makefile18
-rw-r--r--usr/src/lib/libc/sparc/mapfile-vers5
-rw-r--r--usr/src/lib/libc/sparc/sys/door.s10
-rw-r--r--usr/src/lib/libc/sparc/sys/syssun.s44
4 files changed, 14 insertions, 63 deletions
diff --git a/usr/src/lib/libc/sparc/Makefile b/usr/src/lib/libc/sparc/Makefile
index 2089d2920a..5697b855c9 100644
--- a/usr/src/lib/libc/sparc/Makefile
+++ b/usr/src/lib/libc/sparc/Makefile
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -47,7 +47,8 @@ CRTOBJS= \
cerror64.o \
hwmuldiv.o
-DYNOBJS=
+DYNOBJS= \
+ _rtbootld.o
FPOBJS= \
_D_cplx_div.o \
@@ -181,7 +182,6 @@ SYSOBJS64= \
COMSYSOBJS= \
__clock_timer.o \
- __fcntl.o \
__getloadavg.o \
__rusagesys.o \
__signotify.o \
@@ -192,7 +192,6 @@ COMSYSOBJS= \
_nfssys.o \
_portfs.o \
_pset.o \
- _rename.o \
_rpcsys.o \
_sigaction.o \
_so_accept.o \
@@ -234,6 +233,7 @@ COMSYSOBJS= \
fchmod.o \
fchown.o \
fchroot.o \
+ fcntl.o \
fdsync.o \
fpathconf.o \
fstat.o \
@@ -292,6 +292,7 @@ COMSYSOBJS= \
read.o \
readlink.o \
readv.o \
+ rename.o \
resolvepath.o \
rmdir.o \
seteguid.o \
@@ -342,7 +343,6 @@ SYSOBJS= \
pipe.o \
ptrace.o \
syscall.o \
- syssun.o \
tls_get_addr.o \
uadmin.o \
umount.o \
@@ -561,7 +561,7 @@ PORTGEN= \
realpath.o \
reboot.o \
regexpr.o \
- rename.o \
+ remove.o \
rewinddir.o \
rindex.o \
scandir.o \
@@ -627,8 +627,6 @@ PORTGEN= \
valloc.o \
vlfmt.o \
vpfmt.o \
- wait3.o \
- wait4.o \
waitpid.o \
walkstack.o \
wdata.o \
@@ -859,15 +857,14 @@ PORTSYS= \
execle.o \
execv.o \
faccessat.o \
- fcntl.o \
fsmisc.o \
fstatat.o \
- fsync.o \
getpagesizes.o \
getpeerucred.o \
inst_sync.o \
issetugid.o \
label.o \
+ libc_fcntl.o \
libc_link.o \
libc_open.o \
lockf.o \
@@ -1082,7 +1079,6 @@ SRCS= \
$(LIBCBASE)/sys/ptrace.c
# conditional assignments
-$(DYNLIB) $(LIB_PIC) := DYNOBJS = _rtbootld.o
$(DYNLIB) := CRTI = crti.o
$(DYNLIB) := CRTN = crtn.o
diff --git a/usr/src/lib/libc/sparc/mapfile-vers b/usr/src/lib/libc/sparc/mapfile-vers
index a593fc9723..6319501512 100644
--- a/usr/src/lib/libc/sparc/mapfile-vers
+++ b/usr/src/lib/libc/sparc/mapfile-vers
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -961,7 +961,6 @@ SUNWprivate_1.1 {
_sys_index;
_sys_nerr = NODYNSORT;
_sys_num_err;
- _syssun;
__ucmpdi2;
__udivdi3;
__umoddi3;
@@ -988,6 +987,8 @@ SUNWprivate_1.1 {
local:
__cerror = NODYNSORT;
__cerror64 = NODYNSORT;
+ _private_fstat64 = NODYNSORT;
+ _private_stat64 = NODYNSORT;
_seekdir64 = NODYNSORT;
_telldir64 = NODYNSORT;
};
diff --git a/usr/src/lib/libc/sparc/sys/door.s b/usr/src/lib/libc/sparc/sys/door.s
index 3b1abf187e..2a2f4216c1 100644
--- a/usr/src/lib/libc/sparc/sys/door.s
+++ b/usr/src/lib/libc/sparc/sys/door.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 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -34,7 +34,6 @@
* weak aliases for public interfaces
*/
ANSI_PRAGMA_WEAK(_door_bind,function)
- ANSI_PRAGMA_WEAK(_door_call,function)
ANSI_PRAGMA_WEAK(_door_getparam,function)
ANSI_PRAGMA_WEAK(_door_info,function)
ANSI_PRAGMA_WEAK(_door_revoke,function)
@@ -42,7 +41,6 @@
ANSI_PRAGMA_WEAK(_door_unbind,function)
ANSI_PRAGMA_WEAK(door_bind,function)
- ANSI_PRAGMA_WEAK(door_call,function)
ANSI_PRAGMA_WEAK(door_getparam,function)
ANSI_PRAGMA_WEAK(door_info,function)
ANSI_PRAGMA_WEAK(door_revoke,function)
diff --git a/usr/src/lib/libc/sparc/sys/syssun.s b/usr/src/lib/libc/sparc/sys/syssun.s
deleted file mode 100644
index 799a91d99a..0000000000
--- a/usr/src/lib/libc/sparc/sys/syssun.s
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * 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.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* Copyright (c) 1988 AT&T */
-/* All Rights Reserved */
-
-
-/* Copyright (c) 1989 by Sun Microsystems, Inc. */
-
-.ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.3.1.5 */
-
-/* C library -- syssun (from sys3b2) */
-/* int syssun(cmd, ... ); */
-
- .file "syssun.s"
-
-#include <sys/asm_linkage.h>
-
- ANSI_PRAGMA_WEAK(syssun,function)
-
-#include "SYS.h"
-
- SYSCALL(syssun)
- RET
-
- SET_SIZE(syssun)