1# 2#pragma ident "%Z%%M% %I% %E% SMI" 3# 4# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 5# Use is subject to license terms. 6# 7# CDDL HEADER START 8# 9# The contents of this file are subject to the terms of the 10# Common Development and Distribution License, Version 1.0 only 11# (the "License"). You may not use this file except in compliance 12# with the License. 13# 14# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 15# or http://www.opensolaris.org/os/licensing. 16# See the License for the specific language governing permissions 17# and limitations under the License. 18# 19# When distributing Covered Code, include this CDDL HEADER in each 20# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 21# If applicable, add the following below this CDDL HEADER, with the 22# fields enclosed by brackets "[]" replaced with your own identifying 23# information: Portions Copyright [yyyy] [name of copyright owner] 24# 25# CDDL HEADER END 26# 27# Note: This mapfile is used to place r_debug as the 28# very first data item inside of the run-time linker. 29# This is required for the ld.so.1 <--> rtld_db bootstraping 30# for debuggers. 31# 32# The issue with this is that gcc/devpro do not agree on the 33# name of the section this data should be placed in. So - 34# we must have a mapfile for each. 35# 36# If you update this file - make sure you update 37# the matching file: 38# 39# gcc mapfile: rtld/common/mapfile-order-gcc 40# devpro mapfile: rtld/common/mapfile-order-devpro 41# 42 43data = LOAD ?RWXO; 44data : .data.rel : pics/debugdata.o; 45data | .data.rel; 46