mapfile-order-gcc revision 7c478bd95313f5f23a4c958a745db2134aa03244
55c79512242fd281202cd57ca18defac696440f5kess#
55c79512242fd281202cd57ca18defac696440f5kess#pragma ident "%Z%%M% %I% %E% SMI"
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd#
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd# Use is subject to license terms.
55c79512242fd281202cd57ca18defac696440f5kess#
55c79512242fd281202cd57ca18defac696440f5kess# CDDL HEADER START
55c79512242fd281202cd57ca18defac696440f5kess#
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd# The contents of this file are subject to the terms of the
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletc# Common Development and Distribution License, Version 1.0 only
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd# (the "License"). You may not use this file except in compliance
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd# with the License.
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen#
2e545ce2450a9953665f701bb05350f0d3f26275nd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# or http://www.opensolaris.org/os/licensing.
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# See the License for the specific language governing permissions
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd# and limitations under the License.
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd#
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen# When distributing Covered Code, include this CDDL HEADER in each
3f08db06526d6901aa08c110b5bc7dde6bc39905nd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd# If applicable, add the following below this CDDL HEADER, with the
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd# fields enclosed by brackets "[]" replaced with your own identifying
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd# information: Portions Copyright [yyyy] [name of copyright owner]
3f08db06526d6901aa08c110b5bc7dde6bc39905nd#
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd# CDDL HEADER END
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd#
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd# Note: This mapfile is used to place r_debug as the
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd# very first data item inside of the run-time linker.
bc9d4698fce0238d2f6f2682e99423ebb1149976rbowen# This is required for the ld.so.1 <--> rtld_db bootstraping
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd# for debuggers.
63f06dce77bb2d9b1c5aa5deeb47a1069987fd1end#
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# The issue with this is that gcc/devpro do not agree on the
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# name of the section this data should be placed in. So -
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd# we must have a mapfile for each.
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd#
55c79512242fd281202cd57ca18defac696440f5kess# If you update this file - make sure you update
ec1d455940a366b63e1cce2f442a445347394a90nd# the matching file:
ec1d455940a366b63e1cce2f442a445347394a90nd#
ec1d455940a366b63e1cce2f442a445347394a90nd# gcc mapfile: rtld/common/mapfile-order-gcc
ec1d455940a366b63e1cce2f442a445347394a90nd# devpro mapfile: rtld/common/mapfile-order-devpro
ec1d455940a366b63e1cce2f442a445347394a90nd#
55c79512242fd281202cd57ca18defac696440f5kess
1ce7f356a70d1d9961ec315c212e2f83a1452456nddata = LOAD ?RWXO;
8f057347a12e831fdf567da83de2fa581580298dnddata : .data.rel : pics/debugdata.o;
5b10fd3977e6dfff19afe770e612e276962f7950nddata | .data.rel;
5b10fd3977e6dfff19afe770e612e276962f7950nd