@@ -15,14 +15,14 @@ .set noreorder .text .globl tramp .ent tramp tramp: - /* We can assume that our own address (=tramp) is in $25. */ - lw $2,$LC0-tramp($25) - lw $25,$LC1-tramp($25) + li $2,0x73550000 + ori $2,$2,0x4711 + li $25,0xbabe0000 + ori $25,$25,0xbec0 /* The called function expects to see its own address in $25. */ j $25 - nop -$LC0: .word 0x73554711 -$LC1: .word 0xbabebec0 + /* Some Mips hardware running Irix-4.0.5 needs this nop. */ + nop .end tramp