map.noexstk revision 12692:4341b447c069
167754Smsmith#
267754Smsmith# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
367754Smsmith#
477424Smsmith# CDDL HEADER START
577424Smsmith#
677424Smsmith# The contents of this file are subject to the terms of the
767754Smsmith# Common Development and Distribution License (the "License").
867754Smsmith# You may not use this file except in compliance with the License.
967754Smsmith#
1067754Smsmith# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1167754Smsmith# or http://www.opensolaris.org/os/licensing.
1267754Smsmith# See the License for the specific language governing permissions
1367754Smsmith# and limitations under the License.
1467754Smsmith#
1571867Smsmith# When distributing Covered Code, include this CDDL HEADER in each
1670243Smsmith# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1767754Smsmith# If applicable, add the following below this CDDL HEADER, with the
1867754Smsmith# fields enclosed by brackets "[]" replaced with your own identifying
1967754Smsmith# information: Portions Copyright [yyyy] [name of copyright owner]
2067754Smsmith#
2167754Smsmith# CDDL HEADER END
2267754Smsmith#
2367754Smsmith# Linker mapfile to create a non-executable stack definition within an
2467754Smsmith# executable.
2567754Smsmith# The linker does not use this file automatically, so one must use the -M 
2667754Smsmith# option to cc or ld:
2767754Smsmith#
2867754Smsmith#       cc -M /usr/lib/ld/map.noexstk myprogram.c
2967754Smsmith#
3067754Smsmith
3167754Smsmith$mapfile_version 2
3267754Smsmith
3367754SmsmithSTACK {
3467754Smsmith	FLAGS = READ WRITE;
3567754Smsmith};
3667754Smsmith