summaryrefslogtreecommitdiff
path: root/usr/src/grub
diff options
context:
space:
mode:
authorAli Bahrami <Ali.Bahrami@Oracle.COM>2010-06-24 18:16:42 -0600
committerAli Bahrami <Ali.Bahrami@Oracle.COM>2010-06-24 18:16:42 -0600
commitcd3e933325e68e23516a196a8fea7f49b1e497c3 (patch)
treeb3d6fcc31c1e7dc60bd48d34239721e8a8b68cfe /usr/src/grub
parentf6f041a26ccdc2172df744c7a891423cabe01265 (diff)
downloadillumos-joyent-cd3e933325e68e23516a196a8fea7f49b1e497c3.tar.gz
6916796 OSnet mapfiles should use version 2 link-editor syntax
--HG-- rename : usr/src/cmd/sgs/libelf/common/mapfile-common => usr/src/cmd/sgs/libelf/common/mapfile-vers rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-bindings => usr/src/cmd/sgs/link_audit/common/mapfile-vers-bindings rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-perfcnt => usr/src/cmd/sgs/link_audit/common/mapfile-vers-perfcnt rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-symbindrep => usr/src/cmd/sgs/link_audit/common/mapfile-vers-symbindrep rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-truss => usr/src/cmd/sgs/link_audit/common/mapfile-vers-truss rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-who => usr/src/cmd/sgs/link_audit/common/mapfile-vers-who rename : usr/src/common/mapfiles/i386/map.noexdata => usr/src/common/mapfiles/common/map.noexdata rename : usr/src/lib/libaio/sparc/mapfile-vers => usr/src/lib/libaio/common/mapfile-vers rename : usr/src/lib/libelfsign/common/mapfile.map => usr/src/lib/libelfsign/common/mapfile-vers rename : usr/src/lib/libpthread/sparc/mapfile-vers => usr/src/lib/libpthread/common/mapfile-vers rename : usr/src/lib/librt/amd64/mapfile-vers => usr/src/lib/librt/common/mapfile-vers rename : usr/src/lib/libsys/sparc/mapfile-vers => usr/src/lib/libsys/common/mapfile-vers rename : usr/src/lib/libthread/sparc/mapfile-vers => usr/src/lib/libthread/common/mapfile-vers
Diffstat (limited to 'usr/src/grub')
-rw-r--r--usr/src/grub/grub-0.97/grub/mapfile-intf21
1 files changed, 11 insertions, 10 deletions
diff --git a/usr/src/grub/grub-0.97/grub/mapfile-intf b/usr/src/grub/grub-0.97/grub/mapfile-intf
index 97274ef129..74dce13c3e 100644
--- a/usr/src/grub/grub-0.97/grub/mapfile-intf
+++ b/usr/src/grub/grub-0.97/grub/mapfile-intf
@@ -20,8 +20,7 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -38,18 +37,20 @@
# MAPFILE HEADER END
#
+$mapfile_version 2
+
# The grub shell interposes on the getopt() family - this reimplementation is
# required for the real grub loader which can't depend on libc. The grub shell
# is built from the same source as the grub loader.
-{
+SYMBOL_SCOPE {
global:
- getopt = INTERPOSE;
- getopt_long = INTERPOSE;
- getopt_long_only = INTERPOSE;
- optarg = INTERPOSE;
- opterr = INTERPOSE;
- optind = INTERPOSE;
- optopt = INTERPOSE;
+ getopt { FLAGS = INTERPOSE };
+ getopt_long { FLAGS = INTERPOSE };
+ getopt_long_only { FLAGS = INTERPOSE };
+ optarg { FLAGS = INTERPOSE };
+ opterr { FLAGS = INTERPOSE };
+ optind { FLAGS = INTERPOSE };
+ optopt { FLAGS = INTERPOSE };
local:
*;
};