Re: Linking object files in Microtec format with GNU ld



Pete Fenelon wrote:
Karl-Heinz <karl-heinz.rossmann@xxxxxxxxxxxx> wrote:

does anybody know where to find information about different object file
formats?

http://en.wikipedia.org/wiki/Object_code has links to pages on lots of object code formats, most of which have links to the proper specs. Treat the proper specs as definitive; treat Wikipedia as "possibly correct today".

Is there an object format which every linker understands?

No. Standards are wonderful, that's why there's so many of them.

I'm
especially interested if there is a way to link object files in
Microtec format with GNU ld.

The GNU binary utilities (binutils), including assembler, linker, librarian, copy and format conversion tools, all use a common object format handler library, BFD. It determines which object file formats can be handled.

The linker, as such, does not know about the details of the
binary file format. It just handles the virtual object file
interface provided by BFD.

For more information, see
<http://www.gnu.org/software/binutils/manual/bfd-2.9.1/bfd.html>.

--

Tauno Voipio
tauno voipio (at) iki fi


.



Relevant Pages

  • Re: TASM, MASM etc
    ... mov ax,seg string ... I think the "/c" switch will cause Masm to stop at object files, then you can invoke the linker yourself. ... There are two object formats used in the dos/doze world - OMF and COFF. ...
    (alt.lang.asm)
  • Re: OpenVMS I64 Compilers (was: Re: Intel to chip away at Itanium prices <- or ... )
    ... :object files as UNIX, so keeping the compilers current should be a lot ... OpenVMS is using the Intel Itanium Executable and Linkable Format ...
    (comp.os.vms)
  • Re: Source code of .obj capable assembler?
    ... > I, unfortunately, know nothing about object files beyond my general ... > figuring that they contain mostly compiled code with various hard ... > like to create an assembler that can create LINK.exe compatible WIN32 ... > format files are used by Borland's Win32 compilers, ...
    (comp.lang.asm.x86)
  • Re: Cross platform Assembly for use with C project
    ... > object files. ... So one doesn't need to understand the format of the PDB ... > file, just the format that debugging info is put in the object file, ... If Joshua can do a compare of the Masm and Nasm .objs, ...
    (comp.lang.asm.x86)
  • Re: Delphi 2006 and C++
    ... "C normally generates object files, that are to be linked to an executable. ... These can't be used in Delphi. ... files to OMF, so you will need the source, and a compiler that generates OMF ... The COFF format is much simpler than the Intel OMF, ...
    (borland.public.delphi.non-technical)