int test1() { char *temp="Test1"; fprintf(stderr,"Test1:%s",temp); }; int test2() { char *temp="Test2"; fprintf(stderr,"Test2:%s",temp); }; int main( int argc, char** argv ) { test1(); test2(); Assembler: .text:00400A88 li $gp, 0xFC075E8 .text:00400A90 addu $gp, $t9 .text:00400A94 addiu $sp, -0x68 .text:00400A98 sw $ra, 0x68+var_4($sp) .text:00400A9C sw $fp, 0x68+var_8($sp) .text:00400AA0 move $fp, $sp .text:00400AA4 sw $gp, 0x68+var_50($sp) .text:00400AA8 sw $a0, 0x68+arg_0($fp) .text:00400AAC sw $a1, 0x68+arg_4($fp) .text:00400AB0 lw $t9, -0x7F88($gp) # test1 ist bei 400990 .text:00400AB4 nop .text:00400AB8 jalr $t9 .text:00400ABC nop .text:00400AC0 lw $gp, 0x68+var_50($fp) .text:00400AC4 nop .text:00400AC8 lw $t9, -0x7FBC($gp) # test2 ist bei 400a0c .text:00400ACC nop .text:00400AD0 jalr $t9 .text:00400AD4 nop .text:00400AD8 lw $gp, 0x68+var_50($fp)