Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

a.out(4)



  aligntrap(1)                        CLIX                        aligntrap(1)



  NAME

    aligntrap - Sets and reports alignment trap disposition per executable

  SYNOPSIS

    aligntrap [-y|-n] file ...

  DESCRIPTION

    The aligntrap command reports alignment trap disposition per executable.
    Intergraph C200 and C300 processors will optionally trap and provide a
    signal to a process on misaligned memory accesses.  The disposition of
    alignment traps is controlled per executable through a flag in the CLIX
    system header of the common object (COFF) file.  This flag is read by the
    operating system during the exec() function and determines the alignment
    trap action for the created process.  The aligntrap command with no flag
    will report the current state of the alignment trap enable flag for each
    specified file.  Specifying -y enables the alignment trap for processes
    created from file.  Specifying -n disables the alignment trap for
    processes created from file.

  EXAMPLES

    1.  To determine whether or not alignment trapping is enabled for the
        /bin/ls executable:

        aligntrap /bin/ls


    2.  To turn alignment trapping on for the a.out executable:

        aligntrap -y a.out


  NOTES

    Checks are performed to verify that each file operated on is actually an
    executable.

  DIAGNOSTICS

    The following message is issued if the file given on the command line was
    not an executable:

    file: bad magic

    The following message is issued if the executable has a corrupted COFF
    format:

    file: cannot read a.out header



  2/94 - Intergraph Corporation                                              1






  aligntrap(1)                        CLIX                        aligntrap(1)



  EXIT VALUES

    The aligntrap command exits with a value of -1 if an invalid flag is
    given.  Otherwise, aligntrap exits with a value of 0.

  RELATED INFORMATION

    Files: a.out(4)














































  2                                              Intergraph Corporation - 2/94




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026