1 # 2 # This file and its contents are supplied under the terms of the 3 # Common Development and Distribution License ("CDDL"), version 1.0. 4 # You may only use this file in accordance with the terms of version 5 # 1.0 of the CDDL. 6 # 7 # A full copy of the text of the CDDL should have accompanied this 8 # source. A copy of the CDDL is also available via the Internet at 9 # http://www.illumos.org/license/CDDL. 10 # 11 12 # 13 # Copyright (c) 2013, Joyent, Inc. All rights reserved. 14 # 15 16 $mapfile_version 2 17 18 # NB: Order matters for name-based entry! 19 20 LOAD_SEGMENT exception_vector { 21 FLAGS = READ EXECUTE; 22 NOHDR; 23 VADDR = 0xFFFF0000; 24 ALIGN = 0x1000; 25 OS_ORDER = .exception_vector; 26 ASSIGN_SECTION { IS_NAME = .exception_vector }; 27 }; 28 29 LOAD_SEGMENT text { 30 FLAGS = READ EXECUTE; 31 NOHDR; 32 VADDR = 0xFE800000; 33 OS_ORDER = .text; 34 ASSIGN_SECTION { 35 TYPE = PROGBITS; 36 FLAGS = ALLOC !WRITE; 37 }; 38 }; 39 40 # 41 # start the data segment on a new 4MB page boundary 42 # 43 LOAD_SEGMENT data { 44 FLAGS = READ WRITE EXECUTE; 45 NOHDR; 46 VADDR = 0xFEC00000; 47 OS_ORDER = .data; 48 ASSIGN_SECTION { 49 TYPE = PROGBITS; 50 FLAGS = ALLOC WRITE; 51 }; 52 };