/branches/dynload/uspace/lib/rtld/rtld.c |
---|
34,6 → 34,8 |
* @file |
*/ |
#include <stdio.h> |
static void kputint(unsigned i) |
{ |
unsigned dummy; |
46,9 → 48,18 |
); |
} |
int z = 42; |
void test_func(void); |
void test_func(void) |
{ |
kputint(-1); |
kputint(z); |
printf("Hello, world! (from rtld)\n"); |
getchar(); |
printf("x\n"); |
while(1); |
asm ( |
"movl $253, %%eax;" |
"int $0x30" |