Artifact
a7d931da0f5d62e4b8b8938f84da9161ffdf91f4:
0000: 40 20 54 72 61 6d 70 6f 6c 69 6e 65 20 66 6f 72 @ Trampoline for
0010: 20 61 72 6d 20 43 50 55 0a 0a 40 20 43 6f 70 79 arm CPU..@ Copy
0020: 72 69 67 68 74 20 31 39 39 35 2d 31 39 39 37 20 right 1995-1997
0030: 42 72 75 6e 6f 20 48 61 69 62 6c 65 2c 20 3c 62 Bruno Haible, <b
0040: 72 75 6e 6f 40 63 6c 69 73 70 2e 6f 72 67 3e 0a runo@clisp.org>.
0050: 40 0a 40 20 54 68 69 73 20 69 73 20 66 72 65 65 @.@ This is free
0060: 20 73 6f 66 74 77 61 72 65 20 64 69 73 74 72 69 software distri
0070: 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 buted under the
0080: 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c GNU General Publ
0090: 69 63 20 4c 69 63 65 6e 63 65 0a 40 20 64 65 73 ic Licence.@ des
00a0: 63 72 69 62 65 64 20 69 6e 20 74 68 65 20 66 69 cribed in the fi
00b0: 6c 65 20 43 4f 50 59 49 4e 47 2e 20 43 6f 6e 74 le COPYING. Cont
00c0: 61 63 74 20 74 68 65 20 61 75 74 68 6f 72 20 69 act the author i
00d0: 66 20 79 6f 75 20 64 6f 6e 27 74 20 68 61 76 65 f you don't have
00e0: 20 74 68 69 73 0a 40 20 6f 72 20 63 61 6e 27 74 this.@ or can't
00f0: 20 6c 69 76 65 20 77 69 74 68 20 69 74 2e 20 54 live with it. T
0100: 68 65 72 65 20 69 73 20 41 42 53 4f 4c 55 54 45 here is ABSOLUTE
0110: 4c 59 20 4e 4f 20 57 41 52 52 41 4e 54 59 2c 20 LY NO WARRANTY,
0120: 65 78 70 6c 69 63 69 74 20 6f 72 20 69 6d 70 6c explicit or impl
0130: 69 65 64 2c 0a 40 20 6f 6e 20 74 68 69 73 20 73 ied,.@ on this s
0140: 6f 66 74 77 61 72 65 2e 0a 0a 40 20 41 76 61 69 oftware...@ Avai
0150: 6c 61 62 6c 65 20 72 65 67 69 73 74 65 72 73 3a lable registers:
0160: 20 69 70 2e 0a 0a 72 66 70 09 2e 72 65 71 09 72 ip...rfp..req.r
0170: 39 0a 73 6c 09 2e 72 65 71 09 72 31 30 0a 66 70 9.sl..req.r10.fp
0180: 09 2e 72 65 71 09 72 31 31 0a 69 70 09 2e 72 65 ..req.r11.ip..re
0190: 71 09 72 31 32 0a 73 70 09 2e 72 65 71 09 72 31 q.r12.sp..req.r1
01a0: 33 0a 6c 72 09 2e 72 65 71 09 72 31 34 0a 70 63 3.lr..req.r14.pc
01b0: 09 2e 72 65 71 09 72 31 35 0a 2e 74 65 78 74 0a ..req.r15..text.
01c0: 09 2e 61 6c 69 67 6e 09 30 0a 09 2e 67 6c 6f 62 ..align.0...glob
01d0: 61 6c 09 5f 74 72 61 6d 70 0a 5f 74 72 61 6d 70 al._tramp._tramp
01e0: 3a 0a 09 40 20 49 6d 6d 65 64 69 61 74 65 20 63 :..@ Immediate c
01f0: 6f 6e 73 74 61 6e 74 73 20 61 72 65 20 61 20 70 onstants are a p
0200: 72 6f 62 6c 65 6d 2e 20 49 20 74 61 6b 65 20 74 roblem. I take t
0210: 68 65 20 69 6e 64 69 72 65 63 74 20 6c 6f 61 64 he indirect load
0220: 20 61 70 70 72 6f 61 63 68 0a 09 40 20 62 65 63 approach..@ bec
0230: 61 75 73 65 20 49 20 64 6f 6e 27 74 20 77 61 6e ause I don't wan
0240: 74 20 34 20 69 6e 73 74 72 75 63 74 69 6f 6e 73 t 4 instructions
0250: 20 66 6f 72 20 65 61 63 68 20 63 6f 6e 73 74 61 for each consta
0260: 6e 74 2e 0a 09 61 64 64 09 69 70 2c 70 63 2c 23 nt...add.ip,pc,#
0270: 38 0a 09 6c 64 72 09 70 63 2c 5b 70 63 5d 0a 0a 8..ldr.pc,[pc]..
0280: 09 2e 67 6c 6f 62 61 6c 09 5f 64 61 74 61 0a 09 ..global._data..
0290: 2e 61 6c 69 67 6e 09 30 0a 5f 64 61 74 61 3a 0a .align.0._data:.
02a0: 09 2e 77 6f 72 64 09 30 78 37 33 35 35 34 37 31 ..word.0x7355471
02b0: 31 0a 0a 09 2e 61 6c 69 67 6e 09 30 0a 5f 66 75 1....align.0._fu
02c0: 6e 63 74 69 6f 6e 3a 0a 09 2e 77 6f 72 64 09 30 nction:...word.0
02d0: 78 62 61 62 65 62 65 63 30 0a 09 2e 67 6c 6f 62 xbabebec0...glob
02e0: 61 6c 09 5f 66 75 6e 63 74 69 6f 6e 0a al._function.