diff options
Diffstat (limited to 'usr/src/lib/libproc')
-rw-r--r-- | usr/src/lib/libproc/Makefile.com | 5 | ||||
-rw-r--r-- | usr/src/lib/libproc/amd64/mapfile-vers | 42 | ||||
-rw-r--r-- | usr/src/lib/libproc/common/mapfile-vers | 44 | ||||
-rw-r--r-- | usr/src/lib/libproc/i386/mapfile-vers | 45 | ||||
-rw-r--r-- | usr/src/lib/libproc/sparc/mapfile-vers | 48 | ||||
-rw-r--r-- | usr/src/lib/libproc/sparcv9/mapfile-vers | 50 |
6 files changed, 34 insertions, 200 deletions
diff --git a/usr/src/lib/libproc/Makefile.com b/usr/src/lib/libproc/Makefile.com index 577aea87ec..042b42fd53 100644 --- a/usr/src/lib/libproc/Makefile.com +++ b/usr/src/lib/libproc/Makefile.com @@ -19,8 +19,7 @@ # CDDL HEADER END # # -# Copyright 2008 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 = libproc.a @@ -87,8 +86,6 @@ LDLIBS += -lrtld_db -lelf -lctf -lc SRCDIR = ../common $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) -MAPFILES += mapfile-vers - CFLAGS += $(CCVERBOSE) CPPFLAGS += -I$(SRCDIR) diff --git a/usr/src/lib/libproc/amd64/mapfile-vers b/usr/src/lib/libproc/amd64/mapfile-vers deleted file mode 100644 index b1f774d39e..0000000000 --- a/usr/src/lib/libproc/amd64/mapfile-vers +++ /dev/null @@ -1,42 +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 -# - -SUNWprivate_1.1 { - global: -}; diff --git a/usr/src/lib/libproc/common/mapfile-vers b/usr/src/lib/libproc/common/mapfile-vers index 8fff0bb1aa..9143637cf2 100644 --- a/usr/src/lib/libproc/common/mapfile-vers +++ b/usr/src/lib/libproc/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. # # @@ -37,31 +36,33 @@ # MAPFILE HEADER END # +$mapfile_version 2 + # Due to mistakes made early in the history of this library, there are no # SUNW_1.1 through SUNW_1.4 symbols, but they are now kept as placeholders. # Don't add any symbols to these versions. -SUNW_1.4 { +SYMBOL_VERSION SUNW_1.4 { global: SUNW_1.4; } SUNW_1.3; -SUNW_1.3 { +SYMBOL_VERSION SUNW_1.3 { global: SUNW_1.3; } SUNW_1.2; -SUNW_1.2 { +SYMBOL_VERSION SUNW_1.2 { global: SUNW_1.2; } SUNW_1.1; -SUNW_1.1 { +SYMBOL_VERSION SUNW_1.1 { global: SUNW_1.1; }; -SUNWprivate_1.1 { +SYMBOL_VERSION SUNWprivate_1.1 { global: Lalt_stack; Lclearfault; @@ -257,15 +258,15 @@ SUNWprivate_1.1 { ps_pbrandname; ps_pcontinue; ps_pdmodel; - ps_pdread = NODYNSORT; # Alias of ps_pread - ps_pdwrite = NODYNSORT; # Alias of ps_pwrite + ps_pdread { FLAGS = NODYNSORT }; # Alias of ps_pread + ps_pdwrite { FLAGS = NODYNSORT }; # Alias of ps_pwrite ps_pglobal_lookup; ps_pglobal_sym; ps_plog; ps_pread; ps_pstop; - ps_ptread = NODYNSORT; # Alias of ps_pread - ps_ptwrite = NODYNSORT; # Alias of ps_pwrite + ps_ptread { FLAGS = NODYNSORT }; # Alias of ps_pread + ps_ptwrite { FLAGS = NODYNSORT }; # Alias of ps_pwrite ps_pwrite; Pstack_iter; Pstate; @@ -296,6 +297,27 @@ SUNWprivate_1.1 { Pzonename; Pzonepath; Pzoneroot; + +$if _x86 && _ELF32 + Pldt; + proc_get_ldt; + ps_lgetLDT; +$endif + +$if _sparc + Plwp_getgwindows; + Plwp_getxregs; + Plwp_setxregs; + ps_lgetxregs; + ps_lgetxregsize; + ps_lsetxregs; + +$if _ELF64 + Plwp_getasrs; + Plwp_setasrs; +$endif +$endif + local: *; }; diff --git a/usr/src/lib/libproc/i386/mapfile-vers b/usr/src/lib/libproc/i386/mapfile-vers deleted file mode 100644 index 3890d83985..0000000000 --- a/usr/src/lib/libproc/i386/mapfile-vers +++ /dev/null @@ -1,45 +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 -# - -SUNWprivate_1.1 { - global: - Pldt; - proc_get_ldt; - ps_lgetLDT; -}; diff --git a/usr/src/lib/libproc/sparc/mapfile-vers b/usr/src/lib/libproc/sparc/mapfile-vers deleted file mode 100644 index 44ddc6ce23..0000000000 --- a/usr/src/lib/libproc/sparc/mapfile-vers +++ /dev/null @@ -1,48 +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 -# - -SUNWprivate_1.1 { - global: - Plwp_getgwindows; - Plwp_getxregs; - Plwp_setxregs; - ps_lgetxregs; - ps_lgetxregsize; - ps_lsetxregs; -}; diff --git a/usr/src/lib/libproc/sparcv9/mapfile-vers b/usr/src/lib/libproc/sparcv9/mapfile-vers deleted file mode 100644 index 5de9b525c9..0000000000 --- a/usr/src/lib/libproc/sparcv9/mapfile-vers +++ /dev/null @@ -1,50 +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 -# - -SUNWprivate_1.1 { - global: - Plwp_getasrs; - Plwp_getgwindows; - Plwp_getxregs; - Plwp_setasrs; - Plwp_setxregs; - ps_lgetxregs; - ps_lgetxregsize; - ps_lsetxregs; -}; |