Changes

Jump to: navigation, search

Syscalls

26 bytes added, 22:03, 25 January 2014
Using the syscall macro definitions in asm code
gcc foo.S -o foo
{{Admon/important|Initialization Code and Entry Point|When the assembler is invoked through gcc, C initialization code is inserted into the binary, which increases its size. This initialization will look for uses the entry point <code>main_start</code> instead of and expects your code to have the entry point <code>_startmain</code>.}}
Using either of these approaches, you can use the <code>__NR_''xxxx''</code> macros in your assembler code:

Navigation menu