]>
Commit | Line | Data |
---|---|---|
6d2010ae A |
1 | void mystart(void) __asm__("mystart"); |
2 | ||
3 | void mystart(void) { | |
4 | #if defined(__x86_64__) | |
5 | asm volatile ("andq $0xfffffffffffffff0, %rsp\n"); | |
6 | #elif defined(__i386__) | |
7 | asm volatile ("andl $0xfffffff0, %esp\n"); | |
8 | #else | |
9 | #error Unsupported architecture | |
10 | #endif | |
11 | _Exit(42); | |
12 | } |