[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Difference between ELF & Binary



On 07/12/06, Ajay Jain <ajain@xxxxxxxxxxxx> wrote:
Hello,

I have a few questions:
1. What are the differences between ELF & Binary file formats? [I know
some, but I want to know all.]
2. Why do we need a loader for ELF and not for Binary.. ?


What do you mean by "Binary" in this question? Most binary files *are* ELF files :

$ file /bin/ls
/bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), stripped

$ file /lib/libc-2.3.6.so
/lib/libc-2.3.6.so: ELF 32-bit LSB shared object, Intel 80386, version
1 (SYSV), not stripped


-- Jesper Juhl <jesper.juhl@xxxxxxxxx> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/