map.default revision 24da5b34f49324ed742a340010ed5bd3d4e06625
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov#
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# ident "%Z%%M% %I% %E% SMI"
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov#
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# Use is subject to license terms.
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov#
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# CDDL HEADER START
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov#
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# The contents of this file are subject to the terms of the
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# Common Development and Distribution License, Version 1.0 only
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# (the "License"). You may not use this file except in compliance
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# with the License.
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov#
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# or http://www.opensolaris.org/os/licensing.
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# See the License for the specific language governing permissions
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# and limitations under the License.
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov#
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# When distributing Covered Code, include this CDDL HEADER in each
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# If applicable, add the following below this CDDL HEADER, with the
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# fields enclosed by brackets "[]" replaced with your own identifying
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# information: Portions Copyright [yyyy] [name of copyright owner]
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov#
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# CDDL HEADER END
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov#
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# Linker mapfile that shows how 32-bit Intel x86 programs are loaded by
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# default. The linker does not use this file automatically, so one must use
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# the -M option to cc or ld:
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov#
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# cc -M /usr/lib/ld/map.default myprogram.c
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov#
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankovtext = V0x08048000;
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov