summaryrefslogtreecommitdiff
path: root/usr/src/lib/efcode
diff options
context:
space:
mode:
authorrie <none@none>2008-05-02 15:01:06 -0700
committerrie <none@none>2008-05-02 15:01:06 -0700
commit67e3a03ed4a2813074d36330f062ed6e593a4937 (patch)
tree0771dd676aaf74320c2a78fd424decf4c07347b9 /usr/src/lib/efcode
parent5c0a55ff7158dbb6220c31dda253139cf9cf5fde (diff)
downloadillumos-joyent-67e3a03ed4a2813074d36330f062ed6e593a4937.tar.gz
6683064 check_rtime could do with some spring cleaning
Diffstat (limited to 'usr/src/lib/efcode')
-rw-r--r--usr/src/lib/efcode/extend/sparcv9/Makefile9
-rw-r--r--usr/src/lib/efcode/extend/sparcv9/mapfile-extern31
-rw-r--r--usr/src/lib/efcode/packages/Makefile.com9
-rw-r--r--usr/src/lib/efcode/packages/mapfile-extern32
-rw-r--r--usr/src/lib/efcode/packages/sparcv9/Makefile9
5 files changed, 75 insertions, 15 deletions
diff --git a/usr/src/lib/efcode/extend/sparcv9/Makefile b/usr/src/lib/efcode/extend/sparcv9/Makefile
index 1c13ef5f37..4c18f69631 100644
--- a/usr/src/lib/efcode/extend/sparcv9/Makefile
+++ b/usr/src/lib/efcode/extend/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,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 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"
@@ -29,6 +28,6 @@
include ../Makefile.com
include $(SRC)/lib/Makefile.lib.64
-DYNFLAGS += $(FCODE64)
+DYNFLAGS += $(FCODE64) -Mmapfile-extern
install: all $(ROOTLIBS64)
diff --git a/usr/src/lib/efcode/extend/sparcv9/mapfile-extern b/usr/src/lib/efcode/extend/sparcv9/mapfile-extern
new file mode 100644
index 0000000000..ae176a022d
--- /dev/null
+++ b/usr/src/lib/efcode/extend/sparcv9/mapfile-extern
@@ -0,0 +1,31 @@
+#
+# Copyright 2008 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 (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"
+#
+
+# External interface requirements
+{
+ global:
+ env = EXTERN;
+};
diff --git a/usr/src/lib/efcode/packages/Makefile.com b/usr/src/lib/efcode/packages/Makefile.com
index d481808477..6fd40ec136 100644
--- a/usr/src/lib/efcode/packages/Makefile.com
+++ b/usr/src/lib/efcode/packages/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,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 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"
@@ -36,4 +35,4 @@ include ../../Makefile.efcode
# and we have to compile one of them first. Since no one other than fcdriver
# directly links with fcpackage, this is the simplest way out.
#
-ZDEFS =
+MAPFILE-EXT = ../mapfile-extern
diff --git a/usr/src/lib/efcode/packages/mapfile-extern b/usr/src/lib/efcode/packages/mapfile-extern
new file mode 100644
index 0000000000..172e39cc61
--- /dev/null
+++ b/usr/src/lib/efcode/packages/mapfile-extern
@@ -0,0 +1,32 @@
+#
+# Copyright 2008 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 (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"
+#
+
+# External interface requirements
+{
+ global:
+ fc_run_priv = EXTERN;
+ search_for_fcode_file = EXTERN;
+};
diff --git a/usr/src/lib/efcode/packages/sparcv9/Makefile b/usr/src/lib/efcode/packages/sparcv9/Makefile
index 1c13ef5f37..9147403a9e 100644
--- a/usr/src/lib/efcode/packages/sparcv9/Makefile
+++ b/usr/src/lib/efcode/packages/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,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 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"
@@ -29,6 +28,6 @@
include ../Makefile.com
include $(SRC)/lib/Makefile.lib.64
-DYNFLAGS += $(FCODE64)
+DYNFLAGS += $(FCODE64) -M$(MAPFILE-EXT)
install: all $(ROOTLIBS64)