Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cof2elf(1) — DG/UX 5.4.2A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ld(1)

elf(3E)

a.out(4)

ar(4)



cof2elf(1)                       DG/UX 5.4.2                      cof2elf(1)


NAME
       cof2elf - translate object file from COFF to ELF

SYNOPSIS
       cof2elf [-iqV] [-Q{yn}] [-s directory] files

DESCRIPTION
       Cof2elf converts one or more COFF object files to ELF.  This
       translation occurs in place, meaning the original file contents are
       modified.  If an input file is an archive, each member will be
       translated as necessary, and the archive will be rebuilt with its
       members in the original order.  Cof2elf does not change input files
       that are not COFF.

       Options have the following meanings:

       -i     Normally, the files are modified only when full translation
              occurs.  Unrecognized data, such as unknown relocation types,
              are treated as errors and prevent translation.  When -i is
              specified, cof2elf ignores these partial translation
              conditions and modifies the file anyway.

       -q     Normally, cof2elf prints a message for each file it examines,
              telling whether the file was translated, ignored, etc.  The -q
              option (for quiet) suppresses these messages.

       -Qarg  If arg is y, identification information about cof2elf will be
              added to the output files; this can be useful for software
              administration.  If arg is n (the default), this information
              is suppressed.

       -sdirectory
              By default, cof2elf modifies the input files.  This option
              directs cof2elf to save a copy of the original files in the
              specified directory, which must exist.  Cof2elf does not save
              files it does not modify.

       -V     This option directs cof2elf to print a version message on
              standard error.

SEE ALSO
       ld(1), elf(3E), a.out(4), ar(4).

NOTES
       Some debugging information is discarded.  Although this does not
       affect the behavior of a running program, it may affect the
       information available for symbolic debugging.

       Cof2elf translates only COFF relocatable files.  It does not
       translate executable or static shared library files for two main
       reasons.  First, the operating system supports executable files and
       static shared libraries, making translation unnecessary.  Second,
       those files have specific address and alignment constraints
       determined by the file format.  Matching the constraints with a



Licensed material--property of copyright holder(s)                         1




cof2elf(1)                       DG/UX 5.4.2                      cof2elf(1)


       different object file format is problematic.

       When possible, programmers should recompile their source code to
       build new object files.  Cof2elf is provided for those situations
       where source code is unavailable.




















































Licensed material--property of copyright holder(s)                         2


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