What does a ELF64 File look like?
<p>Ok. </p>

<p>So i have been messing around with Assembly, and i was wondering: just HOW does a linkes ELF64 File look like, and can i directly write a linked file in plain-text? (like create a file e.G "main", write the hex-values of the system-calls, and then run it without linking or assembling.)</p>

<p>I have tried <code>objdump -x main</code> but i don't think, this is the entire ELF-File, because there is too less information, as i think.</p>

<p>Here the output:</p>

<pre><code>main:     Dateiformat elf64-x86-64

Inhalt von Abschnitt .text:
 4000b0 b8040000 00bb0100 0000b9d0 006000ba  .............`..
 4000c0 0c000000 cd80b801 000000cd 80        .............   
Inhalt von Abschnitt .data:
 6000d0 48454c4c 4f2c2057 4f524c44           HELLO, WORLD  
</code></pre>

<p>my Assembler Code:</p>

<pre><code>section .data
        msg: db "HELLO, WORLD"
        len: equ $-msg

section .text


        ;write
        mov eax, 4
        mov ebx, 1
        mov ecx, msg
        mov edx, len
        int 80h;

        ;quit
        mov eax, 1
        int 80h;
</code></pre>

<p>EDIT: My Compiler is finished now, I just stuck with assembler and let NASM/ld do the job</p>