Skip Navigation Links | |
Exit Print View | |
SPARC Assembly Language Reference Manual Oracle Solaris 11.1 Information Library |
2. Executable and Linking Format
3. Directives and Pseudo-Operations
3.1.1 Section Control Directives
3.1.2 Symbol Attribute Directives
3.1.4 Data Generating Directives
3.3 Alphabetized Listing with Descriptions
3.5.1 Example 1: Binding to C Variables
3.5.2 Example 2: Generating Ident Strings
3.5.3 Example 3: Data Alignment, Size, Scope, and Type
3.5.4 Example 4: "Hello World"
6. Writing Functions -- The SPARC ABI
7. Assembler Inline Functions and __asm Code
A. Using the Assembler Command Line
Pseudo-ops .global, .section, .register, and .type accept specific attributes that correspond to linker attribute flags, as shown in the following table.
Example: .type sum, #function
Table 3-1 Pseudo-op Linker Attributes
|
See the Oracle Solaris 11.1 Linkers and Libraries Guide for details.