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 LOAD_SEGMENT exception_vector { 20 FLAGS = READ EXECUTE; 21 NOHDR; 22 PADDR = 0xFFFF0000; 23 VADDR = 0xFFFF0000; 24 OS_ORDER = .exception_vector; 25 ASSIGN_SECTION { IS_NAME = .exception_vector }; 26 }; 27 28 LOAD_SEGMENT text { 29 FLAGS = READ EXECUTE; 30 NOHDR; 31 # PADDR = 0x8080; 32 # VADDR = 0x8080; 33 PADDR = 0x0c100000; 34 VADDR = 0x0c100000; 35 OS_ORDER = .text; 36 ASSIGN_SECTION { 37 TYPE = PROGBITS; 38 FLAGS = ALLOC !WRITE; 39 }; 40 }; 41 42 LOAD_SEGMENT data { 43 FLAGS = READ WRITE EXECUTE; 44 NOHDR; 45 # PADDR = 0x80000; 46 # VADDR = 0x80000; 47 PADDR = 0x0c200000; 48 VADDR = 0x0c200000; 49 OS_ORDER = .data; 50 ASSIGN_SECTION { 51 TYPE = PROGBITS; 52 FLAGS = ALLOC WRITE; 53 }; 54 };