Last change
on this file was 607, checked in by bird, 22 years ago |
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
697 bytes
|
Line | |
---|
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 |
|
---|
20 | .text
|
---|
21 | .globl _start
|
---|
22 | .ent _start
|
---|
23 | _start:
|
---|
24 | rduniq
|
---|
25 | mov $0, $9
|
---|
26 |
|
---|
27 | /* IE */
|
---|
28 | ldq $1, sG2($gp) !gottprel
|
---|
29 | addq $1, $9, $1
|
---|
30 |
|
---|
31 | /* IE against global symbol in exec */
|
---|
32 | ldq $1, bl1($gp) !gottprel
|
---|
33 | addq $1, $9, $1
|
---|
34 |
|
---|
35 | /* LE */
|
---|
36 | lda $1, sg1($9) !tprel
|
---|
37 | lda $1, bl2+2($9) !tprel
|
---|
38 |
|
---|
39 | ldah $1, sh2+3($9) !tprelhi
|
---|
40 | lda $1, sh2+3($1) !tprello
|
---|
41 |
|
---|
42 | ldq $1, bl2+4($gp) !gottprel
|
---|
43 | addq $1, $9, $1
|
---|
44 |
|
---|
45 | ret
|
---|
46 | .end _start
|
---|
Note:
See
TracBrowser
for help on using the repository browser.