map.above4G revision 7c478bd95313f5f23a4c958a745db2134aa03244
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Use is subject to license terms.
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# CDDL HEADER START
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# The contents of this file are subject to the terms of the
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Common Development and Distribution License, Version 1.0 only
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews# (the "License"). You may not use this file except in compliance
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# with the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# See the License for the specific language governing permissions
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# and limitations under the License.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# If applicable, add the following below this CDDL HEADER, with the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# fields enclosed by brackets "[]" replaced with your own identifying
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# CDDL HEADER END
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# ident "%Z%%M% %I% %E% SMI"
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Linker mapfile for loading 64-bit programs above 4 gigabytes.
d856585f5fe37cc2ea82115c10339578d2b517b1Automatic Updater# The linker does not use this file automatically, so one must
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User# use the -M option to cc or ld:
d856585f5fe37cc2ea82115c10339578d2b517b1Automatic Updater# cc -xarch=generic64 -M /usr/lib/ld/amd64/map.above4G myprogram.c
d856585f5fe37cc2ea82115c10339578d2b517b1Automatic Updatertext = V0x100000000;