| 1 | .section ".tbss", "awT", @nobits |
| 2 | .globl bg1, bg2, bg3, bg4, bg5, bg6, bg7, bg8 |
| 3 | bg1: .space 4 |
| 4 | bg2: .space 4 |
| 5 | bg3: .space 4 |
| 6 | bg4: .space 4 |
| 7 | bg5: .space 4 |
| 8 | bg6: .space 4 |
| 9 | bg7: .space 4 |
| 10 | bg8: .space 4 |
| 11 | bl1: .space 4 |
| 12 | bl2: .space 4 |
| 13 | bl3: .space 4 |
| 14 | bl4: .space 4 |
| 15 | bl5: .space 4 |
| 16 | bl6: .space 4 |
| 17 | bl7: .space 4 |
| 18 | bl8: .space 4 |
| 19 | .explicit |
| 20 | .pred.safe_across_calls p1-p5,p16-p63 |
| 21 | .text |
| 22 | .globl _start# |
| 23 | .proc _start# |
| 24 | _start: |
| 25 | /* IE */ |
| 26 | addl r14 = @ltoff(@tprel(sG2#)), gp |
| 27 | ;; |
| 28 | ld8 r14 = [r14] |
| 29 | ;; |
| 30 | add r14 = r14, r13 |
| 31 | ;; |
| 32 | |
| 33 | /* IE against global symbol in exec */ |
| 34 | addl r14 = @ltoff(@tprel(bl1#)), gp |
| 35 | ;; |
| 36 | ld8 r14 = [r14] |
| 37 | ;; |
| 38 | add r14 = r14, r13 |
| 39 | ;; |
| 40 | |
| 41 | /* LE */ |
| 42 | mov r2 = r13 |
| 43 | ;; |
| 44 | addl r14 = @tprel(sg1#), r2 |
| 45 | addl r15 = @tprel(bl2#) + 2, r2 |
| 46 | ;; |
| 47 | adds r14 = @tprel(sh2#) + 3, r13 |
| 48 | movl r15 = @tprel(bl2#) + 1 |
| 49 | ;; |
| 50 | add r15 = r15, r13 |
| 51 | ;; |
| 52 | |
| 53 | br.ret.sptk.many b0 |
| 54 | .endp _start# |