1*24da5b34Srie# 2*24da5b34Srie# ident "%Z%%M% %I% %E% SMI" 3*24da5b34Srie# 4*24da5b34Srie# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 5*24da5b34Srie# Use is subject to license terms. 6*24da5b34Srie# 7*24da5b34Srie# CDDL HEADER START 8*24da5b34Srie# 9*24da5b34Srie# The contents of this file are subject to the terms of the 10*24da5b34Srie# Common Development and Distribution License, Version 1.0 only 11*24da5b34Srie# (the "License"). You may not use this file except in compliance 12*24da5b34Srie# with the License. 13*24da5b34Srie# 14*24da5b34Srie# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 15*24da5b34Srie# or http://www.opensolaris.org/os/licensing. 16*24da5b34Srie# See the License for the specific language governing permissions 17*24da5b34Srie# and limitations under the License. 18*24da5b34Srie# 19*24da5b34Srie# When distributing Covered Code, include this CDDL HEADER in each 20*24da5b34Srie# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 21*24da5b34Srie# If applicable, add the following below this CDDL HEADER, with the 22*24da5b34Srie# fields enclosed by brackets "[]" replaced with your own identifying 23*24da5b34Srie# information: Portions Copyright [yyyy] [name of copyright owner] 24*24da5b34Srie# 25*24da5b34Srie# CDDL HEADER END 26*24da5b34Srie# 27*24da5b34Srie# Linker mapfile that enables the creation of a 'bss' segment, and aligns 28*24da5b34Srie# the segment at 4Mb. This effectively provides an appropriate alignment for 29*24da5b34Srie# large page mapping of the heap, and thus can be useful when building dynamic 30*24da5b34Srie# executables. See ppgsz(1). Users are cautioned that an alignment 31*24da5b34Srie# specification may be machine-specific, and may lose its benefit on different 32*24da5b34Srie# hardware platforms. A more flexible means of requesting the most optimal 33*24da5b34Srie# underlying page size may evolve in future releases. 34*24da5b34Srie# 35*24da5b34Srie# The linker does not use this file automatically, so one must use the -M 36*24da5b34Srie# option to cc or ld: 37*24da5b34Srie# 38*24da5b34Srie# cc -M /usr/lib/ld/map.bssalign myprogram.c 39*24da5b34Srie# 40*24da5b34Sriebss = A0x400000; 41