Artifact
66cbdea82ff1341bb20f1a7043d1283ad833d2bb:
0000: 2f 2a 20 54 72 61 6d 70 6f 6c 69 6e 65 20 66 6f /* Trampoline fo
0010: 72 20 6d 69 70 73 20 43 50 55 20 2a 2f 0a 0a 2f r mips CPU */../
0020: 2a 0a 20 2a 20 43 6f 70 79 72 69 67 68 74 20 31 *. * Copyright 1
0030: 39 39 35 20 42 72 75 6e 6f 20 48 61 69 62 6c 65 995 Bruno Haible
0040: 2c 20 3c 62 72 75 6e 6f 40 63 6c 69 73 70 2e 6f , <bruno@clisp.o
0050: 72 67 3e 0a 20 2a 0a 20 2a 20 54 68 69 73 20 69 rg>. *. * This i
0060: 73 20 66 72 65 65 20 73 6f 66 74 77 61 72 65 20 s free software
0070: 64 69 73 74 72 69 62 75 74 65 64 20 75 6e 64 65 distributed unde
0080: 72 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 r the GNU Genera
0090: 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 63 65 l Public Licence
00a0: 0a 20 2a 20 64 65 73 63 72 69 62 65 64 20 69 6e . * described in
00b0: 20 74 68 65 20 66 69 6c 65 20 43 4f 50 59 49 4e the file COPYIN
00c0: 47 2e 20 43 6f 6e 74 61 63 74 20 74 68 65 20 61 G. Contact the a
00d0: 75 74 68 6f 72 20 69 66 20 79 6f 75 20 64 6f 6e uthor if you don
00e0: 27 74 20 68 61 76 65 20 74 68 69 73 0a 20 2a 20 't have this. *
00f0: 6f 72 20 63 61 6e 27 74 20 6c 69 76 65 20 77 69 or can't live wi
0100: 74 68 20 69 74 2e 20 54 68 65 72 65 20 69 73 20 th it. There is
0110: 41 42 53 4f 4c 55 54 45 4c 59 20 4e 4f 20 57 41 ABSOLUTELY NO WA
0120: 52 52 41 4e 54 59 2c 20 65 78 70 6c 69 63 69 74 RRANTY, explicit
0130: 20 6f 72 20 69 6d 70 6c 69 65 64 2c 0a 20 2a 20 or implied,. *
0140: 6f 6e 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 on this software
0150: 2e 0a 20 2a 2f 0a 0a 2f 2a 20 41 76 61 69 6c 61 .. */../* Availa
0160: 62 6c 65 20 72 65 67 69 73 74 65 72 73 3a 20 24 ble registers: $
0170: 32 2c 20 24 33 2e 20 2a 2f 0a 0a 09 2e 73 65 74 2, $3. */....set
0180: 09 6e 6f 62 6f 70 74 0a 09 2e 73 65 74 09 6e 6f .nobopt...set.no
0190: 72 65 6f 72 64 65 72 0a 09 2e 74 65 78 74 0a 09 reorder...text..
01a0: 2e 67 6c 6f 62 6c 09 74 72 61 6d 70 0a 09 2e 65 .globl.tramp...e
01b0: 6e 74 09 74 72 61 6d 70 0a 74 72 61 6d 70 3a 0a nt.tramp.tramp:.
01c0: 09 6c 69 09 24 32 2c 30 78 37 33 35 35 30 30 30 .li.$2,0x7355000
01d0: 30 0a 09 6f 72 69 09 24 32 2c 24 32 2c 30 78 34 0..ori.$2,$2,0x4
01e0: 37 31 31 0a 09 73 77 09 24 32 2c 30 78 31 32 33 711..sw.$2,0x123
01f0: 34 35 36 37 38 0a 09 6c 69 09 24 32 35 2c 30 78 45678..li.$25,0x
0200: 62 61 62 65 30 30 30 30 0a 09 6f 72 69 09 24 32 babe0000..ori.$2
0210: 35 2c 24 32 35 2c 30 78 62 65 63 30 0a 09 2f 2a 5,$25,0xbec0../*
0220: 20 54 68 65 20 63 61 6c 6c 65 64 20 66 75 6e 63 The called func
0230: 74 69 6f 6e 20 65 78 70 65 63 74 73 20 74 6f 20 tion expects to
0240: 73 65 65 20 69 74 73 20 6f 77 6e 20 61 64 64 72 see its own addr
0250: 65 73 73 20 69 6e 20 24 32 35 2e 20 2a 2f 0a 09 ess in $25. */..
0260: 6a 09 24 32 35 0a 09 2f 2a 20 53 6f 6d 65 20 4d j.$25../* Some M
0270: 69 70 73 20 68 61 72 64 77 61 72 65 20 72 75 6e ips hardware run
0280: 6e 69 6e 67 20 49 72 69 78 2d 34 2e 30 2e 35 20 ning Irix-4.0.5
0290: 6e 65 65 64 73 20 74 68 69 73 20 6e 6f 70 2e 20 needs this nop.
02a0: 2a 2f 0a 09 6e 6f 70 0a 09 2e 65 6e 64 09 74 72 */..nop...end.tr
02b0: 61 6d 70 0a amp.