summaryrefslogtreecommitdiff
path: root/usr/src/psm/stand/bootlst/sparc/mapfile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/psm/stand/bootlst/sparc/mapfile')
-rw-r--r--usr/src/psm/stand/bootlst/sparc/mapfile44
1 files changed, 29 insertions, 15 deletions
diff --git a/usr/src/psm/stand/bootlst/sparc/mapfile b/usr/src/psm/stand/bootlst/sparc/mapfile
index 22dc304042..91fb4bfcd6 100644
--- a/usr/src/psm/stand/bootlst/sparc/mapfile
+++ b/usr/src/psm/stand/bootlst/sparc/mapfile
@@ -1,7 +1,4 @@
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
@@ -21,20 +18,37 @@
#
# CDDL HEADER END
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
# psm/stand/bootlst/sparc/mapfile
#
-text = LOAD ?RX V0x100000;
-text : $PROGBITS ?A!W;
-
-data = LOAD ?RWX A0x8;
-data : $PROGBITS ?AW;
-data : $NOBITS ?AW;
+$mapfile_version 2
+
+LOAD_SEGMENT text {
+ FLAGS = READ EXECUTE;
+ VADDR = 0x100000;
+ ASSIGN_SECTION {
+ TYPE = PROGBITS;
+ FLAGS = ALLOC !WRITE;
+ };
+};
-note = NOTE;
-note : $NOTE;
+LOAD_SEGMENT data {
+ FLAGS = READ WRITE EXECUTE;
+ ALIGN = 0x8;
+ ASSIGN_SECTION {
+ TYPE = PROGBITS;
+ FLAGS = ALLOC WRITE;
+ };
+ ASSIGN_SECTION {
+ TYPE = NOBITS;
+ FLAGS = ALLOC WRITE;
+ };
+ };
+
+NOTE_SEGMENT note {
+ ASSIGN_SECTION {
+ TYPE = NOTE;
+ };
+};