# # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # # Linker mapfile to create page-aligned data within an executable. # The linker does not use this file automatically, so one must use the -M # option to cc or ld: # # cc -M /usr/lib/ld/map.pagealign myprogram.c # $mapfile_version 2 $if _sparc LOAD_SEGMENT data { ROUND = 0x2000 }; $elif _x86 LOAD_SEGMENT data { ROUND = 0x1000 }; $else $error unknown platform $endif