10Sstevel@tonic-gate# 20Sstevel@tonic-gate# CDDL HEADER START 30Sstevel@tonic-gate# 40Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5*1618Srie# Common Development and Distribution License (the "License"). 6*1618Srie# You may not use this file except in compliance with the License. 70Sstevel@tonic-gate# 80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate# See the License for the specific language governing permissions 110Sstevel@tonic-gate# and limitations under the License. 120Sstevel@tonic-gate# 130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate# 190Sstevel@tonic-gate# CDDL HEADER END 200Sstevel@tonic-gate# 21*1618Srie 22*1618Srie# 23*1618Srie# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24*1618Srie# Use is subject to license terms. 25*1618Srie# 26*1618Srie# ident "%Z%%M% %I% %E% SMI" 27*1618Srie# 280Sstevel@tonic-gate# Note: This mapfile is used to place r_debug as the 290Sstevel@tonic-gate# very first data item inside of the run-time linker. 300Sstevel@tonic-gate# This is required for the ld.so.1 <--> rtld_db bootstraping 310Sstevel@tonic-gate# for debuggers. 320Sstevel@tonic-gate# 330Sstevel@tonic-gate# The issue with this is that gcc/devpro do not agree on the 340Sstevel@tonic-gate# name of the section this data should be placed in. So - 350Sstevel@tonic-gate# we must have a mapfile for each. 360Sstevel@tonic-gate# 370Sstevel@tonic-gate# If you update this file - make sure you update 380Sstevel@tonic-gate# the matching file: 390Sstevel@tonic-gate# 400Sstevel@tonic-gate# gcc mapfile: rtld/common/mapfile-order-gcc 410Sstevel@tonic-gate# devpro mapfile: rtld/common/mapfile-order-devpro 420Sstevel@tonic-gate# 430Sstevel@tonic-gate 440Sstevel@tonic-gatedata = LOAD ?RWXO; 450Sstevel@tonic-gatedata : .data.rel : pics/debugdata.o; 460Sstevel@tonic-gatedata | .data.rel; 47