Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Why GCC executable are so bloated?

Name: Anonymous 2010-07-20 8:24

7kb of code for hello world?

Name: Anonymous 2010-07-25 8:41


section    .text
    global    _start

_start:
    mov    eax, 0x4
    mov    ebx, 0x1
    mov    ecx, msg
    mov    edx, 0xF
    int    0x80

    mov    eax, 0x1
    mov    ebx, 0x0
    int    0x80

section    .data
msg:    dw    "Hello, world!", 0xa



 _________________________________________
/ Assembles and links to 364 bytes. Maybe \
\ you guys are doing something wrong
!     /
 -----------------------------------------
     \
      \
             ,;;;;;;;,
            ;;;;;;;;;;;,
           ;;;;;'_____;'
           ;;;(/))))|((\
           _;;((((((|))))
          / |_\\\\\\\\\\\\
     .--~(  \ ~))))))))))))
    /     \  `\-(((((((((((\\
    |    | `\   ) |\       /|)
     |    |  `. _/  \_____/ |
      |    , `\~            /
       |    \  \           /
      | `.   `\|          /
      |   ~-   `\        /
       \____~._/~ -_,   (\
        |-----|\   \    ';;
       |      | :;;;'     \
      |  /    |            |
      |       |            |

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List