Artifact
eb5f8cb4c4f85bee4d41ef37f465f451db67184e:
0000: 21 20 54 72 61 6d 70 6f 6c 69 6e 65 20 66 6f 72 ! Trampoline for
0010: 20 73 70 61 72 63 36 34 20 43 50 55 0a 0a 21 20 sparc64 CPU..!
0020: 43 6f 70 79 72 69 67 68 74 20 31 39 39 39 20 42 Copyright 1999 B
0030: 72 75 6e 6f 20 48 61 69 62 6c 65 2c 20 3c 62 72 runo Haible, <br
0040: 75 6e 6f 40 63 6c 69 73 70 2e 6f 72 67 3e 0a 21 uno@clisp.org>.!
0050: 0a 21 20 54 68 69 73 20 69 73 20 66 72 65 65 20 .! This is free
0060: 73 6f 66 74 77 61 72 65 20 64 69 73 74 72 69 62 software distrib
0070: 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 47 uted under the G
0080: 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 NU General Publi
0090: 63 20 4c 69 63 65 6e 63 65 0a 21 20 64 65 73 63 c Licence.! desc
00a0: 72 69 62 65 64 20 69 6e 20 74 68 65 20 66 69 6c ribed in the fil
00b0: 65 20 43 4f 50 59 49 4e 47 2e 20 43 6f 6e 74 61 e COPYING. Conta
00c0: 63 74 20 74 68 65 20 61 75 74 68 6f 72 20 69 66 ct the author if
00d0: 20 79 6f 75 20 64 6f 6e 27 74 20 68 61 76 65 20 you don't have
00e0: 74 68 69 73 0a 21 20 6f 72 20 63 61 6e 27 74 20 this.! or can't
00f0: 6c 69 76 65 20 77 69 74 68 20 69 74 2e 20 54 68 live with it. Th
0100: 65 72 65 20 69 73 20 41 42 53 4f 4c 55 54 45 4c ere is ABSOLUTEL
0110: 59 20 4e 4f 20 57 41 52 52 41 4e 54 59 2c 20 65 Y NO WARRANTY, e
0120: 78 70 6c 69 63 69 74 20 6f 72 20 69 6d 70 6c 69 xplicit or impli
0130: 65 64 2c 0a 21 20 6f 6e 20 74 68 69 73 20 73 6f ed,.! on this so
0140: 66 74 77 61 72 65 2e 0a 0a 21 20 41 76 61 69 6c ftware...! Avail
0150: 61 62 6c 65 20 72 65 67 69 73 74 65 72 73 3a 20 able registers:
0160: 25 67 31 2c 20 25 67 32 2c 20 25 67 33 2e 0a 0a %g1, %g2, %g3...
0170: 09 2e 67 6c 6f 62 61 6c 20 5f 74 72 61 6d 70 0a ..global _tramp.
0180: 09 2e 70 72 6f 63 09 30 34 0a 5f 74 72 61 6d 70 ..proc.04._tramp
0190: 3a 0a 09 72 64 20 25 70 63 2c 25 67 31 09 09 21 :..rd %pc,%g1..!
01a0: 20 50 75 74 20 74 68 65 20 61 64 64 72 65 73 73 Put the address
01b0: 20 6f 66 20 5f 74 72 61 6d 70 20 69 6e 74 6f 20 of _tramp into
01c0: 25 67 31 0a 09 6c 64 78 20 5b 25 67 31 2b 28 5f %g1..ldx [%g1+(_
01d0: 66 75 6e 63 74 69 6f 6e 2d 5f 74 72 61 6d 70 29 function-_tramp)
01e0: 5d 2c 25 67 32 0a 09 6a 6d 70 20 25 67 32 0a 09 ],%g2..jmp %g2..
01f0: 20 6c 64 78 20 5b 25 67 31 2b 28 5f 64 61 74 61 ldx [%g1+(_data
0200: 2d 5f 74 72 61 6d 70 29 5d 2c 25 67 35 0a 5f 64 -_tramp)],%g5._d
0210: 61 74 61 3a 0a 09 2e 6c 6f 6e 67 20 30 78 37 33 ata:...long 0x73
0220: 35 35 34 37 31 31 0a 09 2e 6c 6f 6e 67 20 30 78 554711...long 0x
0230: 34 33 36 32 32 31 35 35 0a 5f 66 75 6e 63 74 69 43622155._functi
0240: 6f 6e 3a 0a 09 2e 6c 6f 6e 67 20 30 78 62 61 62 on:...long 0xbab
0250: 65 62 65 63 30 0a 09 2e 6c 6f 6e 67 20 30 78 64 ebec0...long 0xd
0260: 65 61 30 66 66 61 62 0a ea0ffab.