About ELF and COFF

libra mr924352@cs.nthu.edu.tw
Wed May 5 02:49:00 GMT 2004


Thanks for your reply.

Is there any documentation about ELF is better than COFF?
Which problems the ELF correct that exist with COFF?


                                            thanks a lot !!

> The COFF is used by System V Release 3(SVR3) UNIX.
> The ELF is used by System V Release 4(SVR4) UNIX.
> 
> What is different between these two object file format?

The differences are extensive.  In fact, they are no more similar than
any other two object file formats.

> In other words, which one is better?

ELF is better.

> I think there are some reasons why the SVR4 use ELF,not use COFF as it's 
> object file format.

Yes, there are.  ELF was written after experience with COFF, and
corrects the problems which exist with COFF.

Ian




More information about the Binutils mailing list