diff options
Diffstat (limited to 'usr/src/lib/libaio')
-rw-r--r-- | usr/src/lib/libaio/Makefile.com | 4 | ||||
-rw-r--r-- | usr/src/lib/libaio/amd64/mapfile-vers | 73 | ||||
-rw-r--r-- | usr/src/lib/libaio/common/mapfile-vers (renamed from usr/src/lib/libaio/sparc/mapfile-vers) | 50 | ||||
-rw-r--r-- | usr/src/lib/libaio/i386/mapfile-vers | 74 | ||||
-rw-r--r-- | usr/src/lib/libaio/sparcv9/mapfile-vers | 73 |
5 files changed, 33 insertions, 241 deletions
diff --git a/usr/src/lib/libaio/Makefile.com b/usr/src/lib/libaio/Makefile.com index d43a344580..0ab9422e5d 100644 --- a/usr/src/lib/libaio/Makefile.com +++ b/usr/src/lib/libaio/Makefile.com @@ -19,8 +19,7 @@ # CDDL HEADER END # # -# Copyright 2009 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. +# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. # LIBRARY = libaio.a @@ -30,4 +29,3 @@ include $(SRC)/lib/Makefile.rootfs LIBS += $(LINTLIB) DYNFLAGS += -F libc.so.1 -MAPFILEDIR = . # redirect mapfile-vers diff --git a/usr/src/lib/libaio/amd64/mapfile-vers b/usr/src/lib/libaio/amd64/mapfile-vers deleted file mode 100644 index 263f472076..0000000000 --- a/usr/src/lib/libaio/amd64/mapfile-vers +++ /dev/null @@ -1,73 +0,0 @@ -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# 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. -# 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 2009 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# - -# -# MAPFILE HEADER START -# -# WARNING: STOP NOW. DO NOT MODIFY THIS FILE. -# Object versioning must comply with the rules detailed in -# -# usr/src/lib/README.mapfiles -# -# You should not be making modifications here until you've read the most current -# copy of that file. If you need help, contact a gatekeeper for guidance. -# -# MAPFILE HEADER END -# - -# -# DO NOT TOUCH THIS FILE. -# This file declares interfaces that are cast in stone. -# They offer interfaces that will never change. -# DO NOT TOUCH THIS FILE. -# - -SUNW_1.1 { - global: - assfail = FUNCTION; - local: - *; -} SUNW_1.0; - -SUNW_1.0 { - global: - SUNW_1.0; -} SUNW_0.7; - -SUNW_0.7 { - global: - aiocancel = FUNCTION; - aioread = FUNCTION; - aiowait = FUNCTION; - aiowrite = FUNCTION; - close = NODIRECT FUNCTION; - fork = NODIRECT FUNCTION; - sigaction = FUNCTION; -}; - -SUNWprivate_1.1 { - global: - _sigaction = FUNCTION; -}; diff --git a/usr/src/lib/libaio/sparc/mapfile-vers b/usr/src/lib/libaio/common/mapfile-vers index b944975dfe..5970accaf4 100644 --- a/usr/src/lib/libaio/sparc/mapfile-vers +++ b/usr/src/lib/libaio/common/mapfile-vers @@ -19,8 +19,7 @@ # CDDL HEADER END # # -# Copyright 2009 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # # @@ -44,35 +43,50 @@ # DO NOT TOUCH THIS FILE. # -SUNW_1.1 { +$mapfile_version 2 + +SYMBOL_VERSION SUNW_1.1 { global: - assfail = FUNCTION; + assfail { TYPE = FUNCTION }; local: *; } SUNW_1.0; -SUNW_1.0 { +SYMBOL_VERSION SUNW_1.0 { global: - aioread64 = FUNCTION; - aiowrite64 = FUNCTION; +$if _ELF32 + aioread64 { TYPE = FUNCTION }; + aiowrite64 { TYPE = FUNCTION }; +$elif _ELF64 + SUNW_1.0; +$else +$error unknown ELFCLASS +$endif } SUNW_0.7; -SUNW_0.7 { +# +# For most platforms, SUNW_0.7 contains aiocancel, aioread, aiowait, and +# aiowrite. For ABI reasons, 32-bit sparc puts them in SISCD_2.3, and +# SUNW_0.7 inherits it. +# +SYMBOL_VERSION SUNW_0.7 { global: - close = NODIRECT FUNCTION; - fork = NODIRECT FUNCTION; - sigaction = FUNCTION; + close { TYPE = FUNCTION; FLAGS = NODIRECT }; + fork { TYPE = FUNCTION; FLAGS = NODIRECT }; + sigaction { TYPE = FUNCTION }; +$if _sparc && _ELF32 } SISCD_2.3; -SISCD_2.3 { +SYMBOL_VERSION SISCD_2.3 { global: - aiocancel = FUNCTION; - aioread = FUNCTION; - aiowait = FUNCTION; - aiowrite = FUNCTION; +$endif + aiocancel { TYPE = FUNCTION }; + aioread { TYPE = FUNCTION }; + aiowait { TYPE = FUNCTION }; + aiowrite { TYPE = FUNCTION }; }; -SUNWprivate_1.1 { +SYMBOL_VERSION SUNWprivate_1.1 { global: - _sigaction = FUNCTION; + _sigaction { TYPE = FUNCTION }; }; diff --git a/usr/src/lib/libaio/i386/mapfile-vers b/usr/src/lib/libaio/i386/mapfile-vers deleted file mode 100644 index ab3d75abcb..0000000000 --- a/usr/src/lib/libaio/i386/mapfile-vers +++ /dev/null @@ -1,74 +0,0 @@ -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# 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. -# 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 2009 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# - -# -# MAPFILE HEADER START -# -# WARNING: STOP NOW. DO NOT MODIFY THIS FILE. -# Object versioning must comply with the rules detailed in -# -# usr/src/lib/README.mapfiles -# -# You should not be making modifications here until you've read the most current -# copy of that file. If you need help, contact a gatekeeper for guidance. -# -# MAPFILE HEADER END -# - -# -# DO NOT TOUCH THIS FILE. -# This file declares interfaces that are cast in stone. -# They offer interfaces that will never change. -# DO NOT TOUCH THIS FILE. -# - -SUNW_1.1 { - global: - assfail = FUNCTION; - local: - *; -} SUNW_1.0; - -SUNW_1.0 { - global: - aioread64 = FUNCTION; - aiowrite64 = FUNCTION; -} SUNW_0.7; - -SUNW_0.7 { - global: - aiocancel = FUNCTION; - aioread = FUNCTION; - aiowait = FUNCTION; - aiowrite = FUNCTION; - close = NODIRECT FUNCTION; - fork = NODIRECT FUNCTION; - sigaction = FUNCTION; -}; - -SUNWprivate_1.1 { - global: - _sigaction = FUNCTION; -}; diff --git a/usr/src/lib/libaio/sparcv9/mapfile-vers b/usr/src/lib/libaio/sparcv9/mapfile-vers deleted file mode 100644 index 263f472076..0000000000 --- a/usr/src/lib/libaio/sparcv9/mapfile-vers +++ /dev/null @@ -1,73 +0,0 @@ -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# 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. -# 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 2009 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# - -# -# MAPFILE HEADER START -# -# WARNING: STOP NOW. DO NOT MODIFY THIS FILE. -# Object versioning must comply with the rules detailed in -# -# usr/src/lib/README.mapfiles -# -# You should not be making modifications here until you've read the most current -# copy of that file. If you need help, contact a gatekeeper for guidance. -# -# MAPFILE HEADER END -# - -# -# DO NOT TOUCH THIS FILE. -# This file declares interfaces that are cast in stone. -# They offer interfaces that will never change. -# DO NOT TOUCH THIS FILE. -# - -SUNW_1.1 { - global: - assfail = FUNCTION; - local: - *; -} SUNW_1.0; - -SUNW_1.0 { - global: - SUNW_1.0; -} SUNW_0.7; - -SUNW_0.7 { - global: - aiocancel = FUNCTION; - aioread = FUNCTION; - aiowait = FUNCTION; - aiowrite = FUNCTION; - close = NODIRECT FUNCTION; - fork = NODIRECT FUNCTION; - sigaction = FUNCTION; -}; - -SUNWprivate_1.1 { - global: - _sigaction = FUNCTION; -}; |