|
|
1.1 root 1: #ifdef SPARC
2: # define GLOBAL(x) .global x
3: # define TEXT .seg "text"
4: # define DATA .seg "data"
5: # define ALIGN .align 4
6: # define longword(x) .word x
7: # define DATALIST _datalist
8: #else
9: # define GLOBAL(x) .globl x
10: # define TEXT .text
11: # define DATA .data
12: # define ALIGN .align 2
13: #ifdef MIPS
14: # define longword(x) .word x
15: # define DATALIST datalist
16: #else
17: # define DATALIST _datalist
18: #ifdef NS32
19: # define longword(x) .double x
20: #else
21: # define longword(x) .long x
22: #endif
23: #endif
24: #endif
25:
26: /* we have a DATALIST with one garbage entry, because some linkers
27: are too stupid to define an absolute symbol for the end of list. */
28:
29: GLOBAL(DATALIST)
30: TEXT
31: longword(0x0000010f) /* String tag */
32: LC0:
33: .ascii "%never%^match\0\0\0"
34: longword(0x0000010f) /* String tag */
35: LC1:
36: .ascii "%bad%^%^data%\0\0\0"
37: DATA
38: ALIGN
39: DATALIST:
40: longword(LC0)
41: longword(LC1)
42: longword(1) /* Next link: null */
43:
44: GLOBAL(_endmo)
45: _endmo:
46:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.