object

Module xcoff

source
Expand description

XCOFF definitions

These definitions are independent of read/write support, although we do implement some traits useful for those.

This module is the equivalent of /usr/include/xcoff.h, and is based heavily on it.

Structs§

  • The auxiliary header immediately following file header. If the value of the f_opthdr field in the file header is 0, the auxiliary header does not exist.
  • The auxiliary header immediately following file header. If the value of the f_opthdr field in the file header is 0, the auxiliary header does not exist.
  • Block auxiliary entry for the C_BLOCK and C_FCN Symbols.
  • Block auxiliary entry for the C_BLOCK and C_FCN Symbols.
  • Csect auxiliary entry for C_EXT, C_WEAKEXT, and C_HIDEXT symbols.
  • Csect auxiliary entry for C_EXT, C_WEAKEXT, and C_HIDEXT symbols.
  • Section auxiliary entry Format for C_DWARF symbols.
  • Section auxiliary entry Format for C_DWARF symbols.
  • Exception auxiliary entry. (XCOFF64 only)
  • File Auxiliary Entry for C_FILE Symbols.
  • File Auxiliary Entry for C_FILE Symbols.
  • The header at the start of every 32-bit XCOFF file.
  • The header at the start of every 64-bit XCOFF file.
  • Function auxiliary entry.
  • Function auxiliary entry.
  • Relocation table entry
  • Relocation table entry
  • Section header.
  • Section header.
  • Section auxiliary entry for the C_STAT Symbol. (XCOFF32 Only)
  • Symbol table entry.
  • Symbol table entry.

Constants§

  • Some AIX programs generate auxiliary headers for 32-bit object files that end after the data_start field.
  • Identifies a csect auxiliary entry.
  • Identifies an exception auxiliary entry.
  • Identifies a function auxiliary entry.
  • Identifies a file auxiliary entry.
  • Identifies a SECT auxiliary entry.
  • Identifies a symbol auxiliary entry.
  • Duplicate tag.
  • Function argument.
  • Automatic variable.
  • Beginning of common block.
  • Beginning of include file.
  • Beginning or end of inner block.
  • Beginning of static block.
  • Declaration of object (type).
  • DWARF section symbol.
  • Local member of common block.
  • End of common block.
  • Physical end of function.
  • Ending of include file.
  • Enumeration tag.
  • Alternate entry.
  • End of structure.
  • End of static block.
  • External symbol.
  • External definition.
  • Beginning or end of function.
  • Bit field.
  • Source file name and compiler information.
  • Function or procedure.
  • Global variable.
  • Global thread-local variable.
  • Special storage class for external.
  • Un-named external symbol.
  • Comment string in .info section.
  • Label.
  • Automatic variable allocated on stack.
  • Member of enumeration.
  • Member of structure.
  • Member of union.
  • Symbol table entry marked for deletion.
  • Argument to subroutine allocated on stack.
  • Register variable.
  • Register parameter.
  • Argument to function or procedure stored in register.
  • Register variable.
  • Static.
  • Structure tag.
  • Statically allocated symbol.
  • Static thread-local variable.
  • Reserved.
  • Type definition.
  • Undefined label.
  • Union tag.
  • Undefined static.
  • Weak external symbol.
  • Indicates that the file uses Very Large Program Support.
  • Indicates the file is dynamically loadable and executable. External references are resolved by way of imports, and the file might contain exports and loader relocation.
  • Indicates that the file is executable. No unresolved external references exist.
  • Indicates that the file was reordered with the fdpr command.
  • Indicates that the file was profiled with the fdpr command.
  • Indicates that line numbers have been stripped from the file by a utility program.
  • If the object file is a member of an archive, it can be loaded by the system loader, but the member is ignored by the binder. If the object file is not in an archive, this flag has no effect.
  • Indicates that the relocation information for binding has been removed from the file.
  • Indicates the file is a shared object (shared library). The file is separately loadable. That is, it is not normally bound with other objects, and its loader exports symbols are used as automatic import symbols for other object files.
  • Indicates that one of the members of the auxiliary header specifying the medium page sizes is non-zero.
  • the 32-bit mach magic number
  • the 64-bit mach magic number
  • An absolute symbol. The symbol has a value but is not relocatable.
  • A special symbolic debugging symbol.
  • An undefined external symbol.
  • Branch absolute relocation. References a non-modifiable instruction.
  • Branch relative to self relocation. References a non-modifiable instruction.
  • Global linkage-external TOC address relocation.
  • Negative relocation.
  • Positive relocation.
  • Branch absolute relocation. References a modifiable instruction.
  • Branch relative to self relocation. References a modifiable instruction.
  • A non-relocating relocation.
  • Relative to self relocation.
  • Positive indirect load relocation.
  • Positive load address relocation. Modifiable instruction.
  • Local object TOC address relocation.
  • General-dynamic reference to TLS symbol.
  • Module reference to TLS.
  • Module reference to the local TLS storage.
  • Initial-exec reference to TLS symbol.
  • Local-dynamic reference to TLS symbol.
  • Local-exec reference to TLS symbol.
  • Relative to the TOC relocation.
  • Relative to TOC lower.
  • Relative to TOC upper.
  • TOC relative indirect load relocation.
  • Relative to the TOC or to the thread-local storage base relocation.
  • Specifies an uninitialized data section. A section header of this type defines the uninitialized data of a program.
  • Specifies an initialized data section. A section of this type contains the initialized data and the TOC of a program.
  • Specifies a debug section. A section of this type contains stabstring information used by the symbolic debugger.
  • Specifies a DWARF debugging section, which provide source file and symbol information for the symbolic debugger.
  • Specifies an exception section. A section of this type provides information to identify the reason that a trap or exception occurred within an executable object program.
  • Specifies a comment section. A section of this type provides comments or data to special processing utility programs.
  • Specifies a loader section. A section of this type contains object file information for the system loader to load an XCOFF executable. The information includes imported symbols, exported symbols, relocation data, type-check information, and shared object names.
  • Specifies a relocation or line-number field overflow section. A section header of this type contains the count of relocation entries and line number entries for some other section. This section header is required when either of the counts exceeds 65,534.
  • Specifies a pad section. A section of this type is used to provide alignment padding between sections within an XCOFF executable object file. This section header type is obsolete since padding is allowed in an XCOFF file without a corresponding pad section header.
  • “regular” section
  • Specifies an uninitialized thread-local data section.
  • Specifies an initialized thread-local data section.
  • Specifies an executable text (code) section. A section of this type contains the executable instructions of a program.
  • Specifies a type-check section. A section of this type contains parameter/argument type-check strings used by the binder.
  • Values for visibility as they would appear when encoded in the high 4 bits of the 16-bit unsigned n_type field of symbol table entries. Valid for 32-bit XCOFF only when the o_vstamp in the auxiliary header is greater than 1.
  • Specifies compiler-defined information.
  • Specifies the compiler time stamp.
  • Specifies the compiler version number.
  • Specifies the source-file name.
  • BSS class (uninitialized static internal)
  • Debug Dictionary Table
  • Descriptor csect
  • Global Linkage (Interfile Interface Code)
  • Program Code
  • Read Only Constant
  • Read Write Data
  • Supervisor Call (32-bit process only)
  • Supervisor Call for 64-bit process
  • Supervisor Call for both 32- and 64-bit processes
  • Traceback Table csect
  • General TOC item
  • TOC Anchor for TOC Addressability
  • Scalar data item in the TOC
  • Symbol mapped at the end of TOC
  • Traceback Index csect
  • Initialized thread-local variable
  • Unclassified - Treated as Read Write
  • Un-named Fortran Common
  • Uninitialized thread-local variable
  • Extended Operation (Pseudo Machine Instruction)
  • Common csect definition. For uninitialized storage.
  • External reference.
  • Defines an entry point to an initialized csect.
  • Csect definition for initialized storage.