Oracle® Solaris 11.2 Linkers and Libraries Guide

Exit Print View

Updated: July 2014
 
 

Mapfile Directives

The following directives are accepted by the link-editor.

Table 8-6  Mapfile Directives
Directive
Purpose
CAPABILITY
Hardware, software, machine, and platform capabilities
DEPEND_VERSIONS
Specify allowed versions from sharable object dependencies
HDR_NOALLOC
ELF header and program headers are not allocable
LOAD_SEGMENT
Create new loadable segment, or modify an existing load segment
NOTE_SEGMENT
Create note segment, or modify an existing note segment
NULL_SEGMENT
Create null segment, or modify an existing null segment
PHDR_ADD_NULL
Add Null Program Header Entries
SEGMENT_ORDER
Specify the order of segments in the output object and program header array
STACK
Process Stack Attributes
STUB_OBJECT
Specify that object can be built as a stub object
SYMBOL_SCOPE
Set symbol attributes and scope within the unnamed global version
SYMBOL_VERSION
Set symbol attributes and scope within an explicitly named version

The specific syntax for each supported mapfile directive is shown in the sections that follow.