flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Programming Language Design > Can I get .obj .lib (and maybe .o .a) file format reference?

Author
Thread Post new topic Reply to topic
vivik



Joined: 29 Oct 2016
Posts: 376

Can I get .obj .lib (and maybe .o .a) file format reference?

object files and libraries
Post 31 Mar 2018, 08:50
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6812
Location: Kraków, Poland

For the COFF format the best reference is the official PE/COFF specification from Microsoft.
There is also this nice old website about the DJGPP COFF variant if you'd like something simpler to begin with. Note that DJGPP COFF (generated by fasm with "format COFF" setting) is generally a subset of modern Microsoft's COFF (generated by fasm with "format MS COFF" setting), with some minor differences in how relative relocations are computed.

As for the ELF format, the original specification, though dated, should still suffice (with supplements for things like x86-64 ABI).
Post 31 Mar 2018, 09:33
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2018, Tomasz Grysztar.
Powered by rwasa.