Commit | Line | Data |
---|---|---|
06e77878 AO |
1 | #objdump: -r |
2 | #name: weakref tests, relocations | |
3 | # ecoff (OSF/alpha) lacks .weak support | |
4 | # pdp11 lacks .long | |
34dd18bc | 5 | # darwin (mach-o) reverses the order of relocs. |
06e77878 | 6 | # the following must be present in all weakref1*.d |
b47b60aa | 7 | #notarget: alpha*-*-osf* *-*-ecoff pdp11-*-aout *-*-darwin* |
06e77878 AO |
8 | |
9 | #... | |
9af14372 | 10 | RELOCATION RECORDS FOR \[(\.text|\$CODE\$)\]: |
06e77878 AO |
11 | OFFSET +TYPE +VALUE * |
12 | # the rest of this file is generated with the following script: | |
13 | # # script begin | |
14 | # echo \#... | |
b54788f8 | 15 | # sed -n 's:^[ ]*\.long \(W\|\)\(.*[^a-z]\)[a-z]*\(\| - .*\)$:\2:p' weakref1.s | sed -e 's,^[lg].*,(&|\\.text)(\\+0x[0-9a-f]+)?,' | sed 's,^,[0-9a-f]+ [^ ]* +,' |
06e77878 AO |
16 | # # script output: |
17 | #... | |
18 | [0-9a-f]+ [^ ]* +wa1 | |
19 | [0-9a-f]+ [^ ]* +ua2 | |
20 | [0-9a-f]+ [^ ]* +ua3 | |
21 | [0-9a-f]+ [^ ]* +ua3 | |
22 | [0-9a-f]+ [^ ]* +ua4 | |
23 | [0-9a-f]+ [^ ]* +ua4 | |
24 | [0-9a-f]+ [^ ]* +wb1 | |
25 | [0-9a-f]+ [^ ]* +ub2 | |
26 | [0-9a-f]+ [^ ]* +ub3 | |
27 | [0-9a-f]+ [^ ]* +ub3 | |
28 | [0-9a-f]+ [^ ]* +ub4 | |
29 | [0-9a-f]+ [^ ]* +ub4 | |
30 | [0-9a-f]+ [^ ]* +wc1 | |
31 | [0-9a-f]+ [^ ]* +wc1 | |
32 | [0-9a-f]+ [^ ]* +uc2 | |
33 | [0-9a-f]+ [^ ]* +uc2 | |
34 | [0-9a-f]+ [^ ]* +uc3 | |
35 | [0-9a-f]+ [^ ]* +uc3 | |
36 | [0-9a-f]+ [^ ]* +uc3 | |
37 | [0-9a-f]+ [^ ]* +uc3 | |
38 | [0-9a-f]+ [^ ]* +uc4 | |
39 | [0-9a-f]+ [^ ]* +uc4 | |
40 | [0-9a-f]+ [^ ]* +uc4 | |
41 | [0-9a-f]+ [^ ]* +uc4 | |
42 | [0-9a-f]+ [^ ]* +uc5 | |
43 | [0-9a-f]+ [^ ]* +uc5 | |
44 | [0-9a-f]+ [^ ]* +uc5 | |
45 | [0-9a-f]+ [^ ]* +uc5 | |
46 | [0-9a-f]+ [^ ]* +uc6 | |
47 | [0-9a-f]+ [^ ]* +uc6 | |
48 | [0-9a-f]+ [^ ]* +uc6 | |
49 | [0-9a-f]+ [^ ]* +uc6 | |
50 | [0-9a-f]+ [^ ]* +uc7 | |
51 | [0-9a-f]+ [^ ]* +uc7 | |
52 | [0-9a-f]+ [^ ]* +uc8 | |
53 | [0-9a-f]+ [^ ]* +uc8 | |
54 | [0-9a-f]+ [^ ]* +uc9 | |
55 | [0-9a-f]+ [^ ]* +uc9 | |
56 | [0-9a-f]+ [^ ]* +uc9 | |
57 | [0-9a-f]+ [^ ]* +ww1 | |
58 | [0-9a-f]+ [^ ]* +ww2 | |
59 | [0-9a-f]+ [^ ]* +ww3 | |
60 | [0-9a-f]+ [^ ]* +ww3 | |
61 | [0-9a-f]+ [^ ]* +ww4 | |
62 | [0-9a-f]+ [^ ]* +ww4 | |
63 | [0-9a-f]+ [^ ]* +ww5 | |
64 | [0-9a-f]+ [^ ]* +ww5 | |
65 | [0-9a-f]+ [^ ]* +ww6 | |
66 | [0-9a-f]+ [^ ]* +ww7 | |
67 | [0-9a-f]+ [^ ]* +ww8 | |
68 | [0-9a-f]+ [^ ]* +ww8 | |
69 | [0-9a-f]+ [^ ]* +ww9 | |
70 | [0-9a-f]+ [^ ]* +ww9 | |
71 | [0-9a-f]+ [^ ]* +ww10 | |
72 | [0-9a-f]+ [^ ]* +ww10 | |
06e77878 AO |
73 | [0-9a-f]+ [^ ]* +um5 |
74 | [0-9a-f]+ [^ ]* +wm6 | |
75 | [0-9a-f]+ [^ ]* +wm7 | |
76 | [0-9a-f]+ [^ ]* +wm8 | |
77 | [0-9a-f]+ [^ ]* +wh2 | |
78 | [0-9a-f]+ [^ ]* +wh3 | |
79 | [0-9a-f]+ [^ ]* +wh4 | |
80 | [0-9a-f]+ [^ ]* +wh5 | |
81 | [0-9a-f]+ [^ ]* +wh6 | |
82 | [0-9a-f]+ [^ ]* +wh7 | |
83 | [0-9a-f]+ [^ ]* +uh8 | |
84 | [0-9a-f]+ [^ ]* +uh8 | |
85 | [0-9a-f]+ [^ ]* +uh9 | |
86 | [0-9a-f]+ [^ ]* +uh9 | |
88856d20 DA |
87 | [0-9a-f]+ [^ ]* +(ld1|\.text|\$CODE\$)(\+0x[0-9a-f]+)? |
88 | [0-9a-f]+ [^ ]* +(ld2|\.text|\$CODE\$)(\+0x[0-9a-f]+)? | |
89 | [0-9a-f]+ [^ ]* +(ld3|\.text|\$CODE\$)(\+0x[0-9a-f]+)? | |
90 | [0-9a-f]+ [^ ]* +(ld4|\.text|\$CODE\$)(\+0x[0-9a-f]+)? | |
06e77878 | 91 | [0-9a-f]+ [^ ]* +ud5 |
046e56f7 L |
92 | [0-9a-f]+ [^ ]* +(gd6|\.text|\$CODE\$)((\+|-)0x[0-9a-f]+)? |
93 | [0-9a-f]+ [^ ]* +(gd7|\.text|\$CODE\$)((\+|-)0x[0-9a-f]+)? | |
88856d20 DA |
94 | [0-9a-f]+ [^ ]* +(ld8|\.text|\$CODE\$)(\+0x[0-9a-f]+)? |
95 | [0-9a-f]+ [^ ]* +(ld8|\.text|\$CODE\$)(\+0x[0-9a-f]+)? | |
96 | [0-9a-f]+ [^ ]* +(ld9|\.text|\$CODE\$)(\+0x[0-9a-f]+)? | |
97 | [0-9a-f]+ [^ ]* +(ld9|\.text|\$CODE\$)(\+0x[0-9a-f]+)? |