xref: /illumos-gate/usr/src/common/mapfiles/common/map.execdata (revision 9525b14bcdeb5b5f6f95ab27c2f48f18bd2ec829)
1#
2# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# CDDL HEADER START
6#
7# The contents of this file are subject to the terms of the
8# Common Development and Distribution License (the "License").
9# You may not use this file except in compliance with the License.
10#
11# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12# or http://www.opensolaris.org/os/licensing.
13# See the License for the specific language governing permissions
14# and limitations under the License.
15#
16# When distributing Covered Code, include this CDDL HEADER in each
17# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18# If applicable, add the following below this CDDL HEADER, with the
19# fields enclosed by brackets "[]" replaced with your own identifying
20# information: Portions Copyright [yyyy] [name of copyright owner]
21#
22# CDDL HEADER END
23#
24# Link-editor mapfile to create an executable data segment definition within
25# an executable for applications which rely on this.  This is the default
26# for 32 bit x86 executable and all SPARC executables; this mapfile is
27# provided to facilitate an executable data segment for AMD64 executables.
28#
29# The link-editor does not use this file automatically, so one must use the
30# -M option to cc or ld:
31#
32#       cc -M /usr/lib/ld/map.execdata myprogram.c
33#
34data = ?RWX;
35
36#
37# Executables can also create a separate executable bss segment.  Adding
38# the following line creates a bss segment.
39#
40# bss = ?RWX;
41#
42# See also /usr/lib/ld/map.noexdata.
43