1. SPARC Assembler for SunOS 5.x
3.2.2 Predefined User Sections
3.2.2.1 Creating an .init Section in an Object File
3.2.2.2 Creating a .fini Section in an Object File
3.2.3 Predefined Non-User Sections
3.8.1 Section Control Directives
3.8.2 Symbol Attribute Directives
3.8.4 Data Generating Directives
4. Converting Files to the New Format
B. Examples of Pseudo-Operations
C. Using the Assembler Command Line
The type of object files created by the SPARC assembler version for SunOS 5.x are now Executable and Linking Format (ELF) files. These relocatable ELF files hold code and data suitable for linking with other object files to create an executable or a shared object file, and are the assembler normal output. The assembler can also write information to standard output (for example, under the -S option) and to standard error (for example, under the -V option). The SPARC assembler creates a default output file when standard input or multiple files are used.
This chapter is organized into the following sections:
The ELF object file format consists of:
Header
Sections
Locations
Addresses
Relocation tables
Symbol tables
String tables
For more information, see the System V Application Binary Interface: SPARC Processor Supplement.