- System Object Model (file format)
In computing, the System Object Model (SOM) is a proprietary executable
file format developed byHewlett-Packard for itsHP-UX and MPE/ix operating systems.In particular, SOM is the native format used for32-bit applicationexecutable s,object code , and shared libraries running under thePA-RISC family of processors.With the introduction of
64-bit processors, Hewlett Packard adopted theExecutable and Linkable Format (ELF) format to represent the wider 64-bit program code, while still using SOM for applications running in 32-bit mode. Later, with the introduction of theItanium processor family, HP-UX has abandoned the SOM format in favor of ELF for both 32-bit and 64-bit application code.In HP-UX the SOM file format is sometimes called the a.out format and is described by
C programming language structures in the header file "/usr/include/a.out.h". However the SOM format is technically not the same as the standarda.out format used by many other Unix operating systems.Overview of the SOM file format
A SOM file consists of a fixed-size header record followed by a number of sections, some of which are optional. The header always appears at the beginning of the file and contains the byte offsets and sizes of where the other sections are located within the file. Except for the header the other sections may appear anywhere in the file, although the typical layout of a SOM file (assuming all sections are present) is as follows:
* Header Record
* Auxiliary Header Record
* Space Records
* Subspace Records
* Loader Fixup Records
* Space Strings
* Symbol Records
* Fixup Records
* Symbol Strings
* Compiler Records
* Data for Loadable Spaces
* Data for Unloadable SpacesNumeric fields are stored in big endian byte order, the native byte order of the PA-RISC, with most being 32-bit wide. Character strings are generally encoded in 8-bit
ASCII and both prefixed with a 32-bit length indicator as well as being NUL-terminated (likeC string s). Most records are word-aligned (start at even-byte offsets) with padding introduced as necessary.External links
* [http://docs.hp.com/en/B2355-90696/a.out.4.html "HP-UX a.out(4) manual page"] , Hewlett-Packard
* [http://devresource.hp.com/drc/STK/docs/archive/rad_11_0_32.pdf "The 32-bit PA-RISC Run-time Architecture Document, HP-UX 11.0 Version 1.0"] , Hewlett-Packard, 1997
* [http://devresource.hp.com/drc/STK/docs/archive/rad_10_20.pdf "The 32-bit PA-RISC Run-time Architecture Document, HP-UX 10.20 version 3.0"] , Hewlett-Packard, 1997. Also available at [http://ftp.parisc-linux.org/docs/arch/pa-runtime-32-SOM.pdf parisc-linux.org]
* [http://devrsrc1.external.hp.com/STK/gloss.html#SOM "HP-UX Software Transition Kit Glossary"] , Hewlett-Packard (online)
* [http://www.parisc-linux.org/documentation/index.html#pa11 PA-RISC 1.1 Architecture Specifications]
Wikimedia Foundation. 2010.