This chapter discusses features of the SunOS 5.x SPARC assembler. This document is distributed as part of the developer documentation set with every SunOS operating system release.
This document is also distributed with the on-line documentation set for the convenience of SPARCworksTM and SPARCompilerTM 4.0 users who have products that run on the SunOS 5.x operating system. It is included as part of the SPARCworks/SPARCompiler Floating Point and Common Tools AnswerBook, which is the on-line information retrieval system.
This document contains information from The SPARC Architecture Manual, Version 8. Information about Version 9 support is summarized in Appendix E, SPARC-V9 Instruction Set.
The SunOS SPARC assembler runs under the SunOS 5.x operating system or the SolarisTM 2.x operating environment. SunOS 5.x refers to SunOS 5.2 operating system and later releases. Solaris 2.x refers to the Solaris 2.2 operating environment and later releases.
This section describes the differences between the SunOS 4.1 SPARC assembler and the SunOS 5.x SPARC assembler.
Symbol names beginning with a dot (.) are assumed to be local symbols.
Names beginning with an underscore (_) are reserved by ANSI C.
The type of object files created by the SPARC assembler are ELF (Executable and Linking Format) files. These relocatable object files hold code and data suitable for linking with other object files to create an executable file or a shared object file, and are the assembler normal output.
See Appendix A, Pseudo-Operations for a detailed description of the pseudo-operations (pseudo-ops).
See Appendix C, Using the Assembler Command Line for a detailed description of command line options and a list of SPARC architectures.