summaryrefslogtreecommitdiff
path: root/usr/src/lib/libmapmalloc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libmapmalloc')
-rw-r--r--usr/src/lib/libmapmalloc/Makefile20
-rw-r--r--usr/src/lib/libmapmalloc/Makefile.com19
-rw-r--r--usr/src/lib/libmapmalloc/amd64/Makefile9
-rw-r--r--usr/src/lib/libmapmalloc/common/mapfile-vers (renamed from usr/src/lib/libmapmalloc/spec/sparc/Makefile)56
-rw-r--r--usr/src/lib/libmapmalloc/i386/Makefile15
-rw-r--r--usr/src/lib/libmapmalloc/sparc/Makefile15
-rw-r--r--usr/src/lib/libmapmalloc/sparcv9/Makefile15
-rw-r--r--usr/src/lib/libmapmalloc/spec/Makefile29
-rw-r--r--usr/src/lib/libmapmalloc/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libmapmalloc/spec/amd64/Makefile49
-rw-r--r--usr/src/lib/libmapmalloc/spec/i386/Makefile49
-rw-r--r--usr/src/lib/libmapmalloc/spec/mapmalloc.spec85
-rw-r--r--usr/src/lib/libmapmalloc/spec/sparcv9/Makefile50
-rw-r--r--usr/src/lib/libmapmalloc/spec/versions52
14 files changed, 62 insertions, 434 deletions
diff --git a/usr/src/lib/libmapmalloc/Makefile b/usr/src/lib/libmapmalloc/Makefile
index 393a0b81bc..9adf3c57ee 100644
--- a/usr/src/lib/libmapmalloc/Makefile
+++ b/usr/src/lib/libmapmalloc/Makefile
@@ -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.
@@ -20,18 +19,17 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1989,1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmapmalloc/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../../Makefile.master
include ../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -42,8 +40,6 @@ lint := TARGET= lint
_msg := TARGET= _msg
package := TARGET= package
-_msg := TARGET= _msg
-
LIBRARY= libmapmalloc.a
TEXT_DOMAIN= SUNW_OST_OSLIB
XGETFLAGS= -a
@@ -72,7 +68,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/libmapmalloc/Makefile.com b/usr/src/lib/libmapmalloc/Makefile.com
index a7e8467914..a25eceaf54 100644
--- a/usr/src/lib/libmapmalloc/Makefile.com
+++ b/usr/src/lib/libmapmalloc/Makefile.com
@@ -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.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmapmalloc/Makefile.com
-#
LIBRARY= libmapmalloc.a
VERS= .1
@@ -41,8 +38,7 @@ OBJECTS= \
# include library definitions
include ../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
@@ -50,18 +46,13 @@ LINTSRC= $(LINTLIB:%.ln=%)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT
-DYNFLAGS += -M$(MAPFILE) $(ZINTERPOSE)
+DYNFLAGS += $(ZINTERPOSE)
LDLIBS += -lc
.KEEP_STATE:
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/libmapmalloc/amd64/Makefile b/usr/src/lib/libmapmalloc/amd64/Makefile
index 5f23f3b9a7..70e24a9a5d 100644
--- a/usr/src/lib/libmapmalloc/amd64/Makefile
+++ b/usr/src/lib/libmapmalloc/amd64/Makefile
@@ -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.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libmapmalloc/spec/sparc/Makefile b/usr/src/lib/libmapmalloc/common/mapfile-vers
index 3ed6f4b565..96815ef28d 100644
--- a/usr/src/lib/libmapmalloc/spec/sparc/Makefile
+++ b/usr/src/lib/libmapmalloc/common/mapfile-vers
@@ -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.
@@ -20,30 +19,37 @@
# CDDL HEADER END
#
#
-# Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libaio/spec/sparc/Makefile
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# We set ABILLIBC here because libmapmalloc is built before libc
-# and we most avoid ABILLIBC= -lc -z defs from Makefile.spec
-# (-z defs can cause build failures at this point)
-ABILLIBC= -lc
-
-install: $(ROOTABILIB)
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+} SUNW_0.7;
+
+SUNW_0.7 {
+ global:
+ calloc = NODIRECT;
+ cfree = NODIRECT;
+ free = NODIRECT;
+ mallinfo = NODIRECT;
+ malloc = NODIRECT;
+ mallopt = NODIRECT;
+ memalign = NODIRECT;
+ realloc = NODIRECT;
+ valloc = NODIRECT;
+};
+
+SUNWprivate_1.1 {
+ global:
+ __mallinfo = NODIRECT;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libmapmalloc/i386/Makefile b/usr/src/lib/libmapmalloc/i386/Makefile
index d2ad6e3445..2a944b0b43 100644
--- a/usr/src/lib/libmapmalloc/i386/Makefile
+++ b/usr/src/lib/libmapmalloc/i386/Makefile
@@ -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.
@@ -20,15 +19,11 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmapmalloc/i386/Makefile
-#
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libmapmalloc/sparc/Makefile b/usr/src/lib/libmapmalloc/sparc/Makefile
index 7f5240bb86..2a944b0b43 100644
--- a/usr/src/lib/libmapmalloc/sparc/Makefile
+++ b/usr/src/lib/libmapmalloc/sparc/Makefile
@@ -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.
@@ -20,15 +19,11 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmapmalloc/sparc/Makefile
-#
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libmapmalloc/sparcv9/Makefile b/usr/src/lib/libmapmalloc/sparcv9/Makefile
index eb031f8aa6..70e24a9a5d 100644
--- a/usr/src/lib/libmapmalloc/sparcv9/Makefile
+++ b/usr/src/lib/libmapmalloc/sparcv9/Makefile
@@ -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.
@@ -20,15 +19,11 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmapmalolloc/sparcv9/Makefile
-#
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libmapmalloc/spec/Makefile b/usr/src/lib/libmapmalloc/spec/Makefile
deleted file mode 100644
index 199af00347..0000000000
--- a/usr/src/lib/libmapmalloc/spec/Makefile
+++ /dev/null
@@ -1,29 +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
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmapmalloc/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libmapmalloc/spec/Makefile.targ b/usr/src/lib/libmapmalloc/spec/Makefile.targ
deleted file mode 100644
index 856510644c..0000000000
--- a/usr/src/lib/libmapmalloc/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +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
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmapmalloc/spec/Makefile.targ
-
-LIBRARY = libmapmalloc.a
-VERS = .1
-
-OBJECTS = mapmalloc.o
-
diff --git a/usr/src/lib/libmapmalloc/spec/amd64/Makefile b/usr/src/lib/libmapmalloc/spec/amd64/Makefile
deleted file mode 100644
index 47aa59af67..0000000000
--- a/usr/src/lib/libmapmalloc/spec/amd64/Makefile
+++ /dev/null
@@ -1,49 +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 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# We set ABILLIBC here because libmapmalloc is built before libc
-# and we most avoid ABILLIBC= -lc -z defs from Makefile.spec
-# (-z defs can cause build failures at this point)
-ABILLIBC= -lc
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libmapmalloc/spec/i386/Makefile b/usr/src/lib/libmapmalloc/spec/i386/Makefile
deleted file mode 100644
index e5cf096471..0000000000
--- a/usr/src/lib/libmapmalloc/spec/i386/Makefile
+++ /dev/null
@@ -1,49 +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 1998-2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmapmalloc/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# We set ABILLIBC here because libmapmalloc is built before libc
-# and we most avoid ABILLIBC= -lc -z defs from Makefile.spec
-# (-z defs can cause build failures at this point)
-ABILLIBC= -lc
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libmapmalloc/spec/mapmalloc.spec b/usr/src/lib/libmapmalloc/spec/mapmalloc.spec
deleted file mode 100644
index fe433cd09c..0000000000
--- a/usr/src/lib/libmapmalloc/spec/mapmalloc.spec
+++ /dev/null
@@ -1,85 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# 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
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmapmalloc/spec/mapmalloc.spec
-
-function mallopt
-include <stdlib.h>, <malloc.h>
-declaration int mallopt(int cmd, int value )
-version SUNW_0.7
-errno ENOMEM EAGAIN
-exception $return != 0
-binding nodirect
-end
-
-function mallinfo
-include <stdlib.h>, <malloc.h>
-declaration struct mallinfo mallinfo(void )
-version SUNW_0.7
-errno ENOMEM EAGAIN
-binding nodirect
-end
-
-function malloc extends libc/spec/gen.spec malloc
-version SUNW_0.7
-binding nodirect
-end
-
-function calloc extends libc/spec/gen.spec calloc
-version SUNW_0.7
-binding nodirect
-end
-
-function free extends libc/spec/gen.spec free
-version SUNW_0.7
-binding nodirect
-end
-
-function memalign extends libc/spec/gen.spec memalign
-version SUNW_0.7
-binding nodirect
-end
-
-function realloc extends libc/spec/gen.spec realloc
-version SUNW_0.7
-binding nodirect
-end
-
-function valloc extends libc/spec/gen.spec valloc
-version SUNW_0.7
-binding nodirect
-end
-
-function cfree extends libc/spec/gen.spec cfree
-version SUNW_0.7
-binding nodirect
-end
-
-# required by sbcp.
-function __mallinfo
-version SUNWprivate_1.1
-binding nodirect
-end
diff --git a/usr/src/lib/libmapmalloc/spec/sparcv9/Makefile b/usr/src/lib/libmapmalloc/spec/sparcv9/Makefile
deleted file mode 100644
index ecf35cd331..0000000000
--- a/usr/src/lib/libmapmalloc/spec/sparcv9/Makefile
+++ /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, 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 1998-2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libaio/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# We set ABILLIBC here because libmapmalloc is built before libc
-# and we most avoid ABILLIBC= -lc -z defs from Makefile.spec
-# (-z defs can cause build failures at this point)
-ABILLIBC= -lc
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libmapmalloc/spec/versions b/usr/src/lib/libmapmalloc/spec/versions
deleted file mode 100644
index 2fed5f1c60..0000000000
--- a/usr/src/lib/libmapmalloc/spec/versions
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# 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
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Note: Even though the SUNW_1.1 version now contains no symbols
-# beyond what was present at Solaris 2.3, the SUNW_1.1 version MUST be
-# present. This is because applications built on 2.6 Beta
-# (when it did contain symbols explicitly) may depend on it.
-#
-
-sparc {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}