1# Test expressions not representable by relocations. 2.globl a 3.globl b 4.data 5d: 6 .word $DSBT_INDEX(__c6xabi_DSBT_BASE) 7 .word $got(b) 8 .word $dpr_got(a) 9 .word $dpr_byte(b) 10 .word $dpr_hword(a) 11 .word $dpr_word(b) 12 .word $pcr_offset(b,f) 13.text 14.nocmp 15.globl f 16f: 17 addab .D1X b14,$dsbt_index(__c6xabi_DSBT_BASE),a5 18 addab .D1X b14,$GOT(b),a5 19 addab .D1X b14,$DPR_GOT(b),a5 20 addab .D1X b14,$DPR_BYTE(b),a5 21 addab .D1X b14,$DPR_HWORD(b),a5 22 addab .D1X b14,$DPR_WORD(b),a5 23 addab .D1X b14,$PCR_OFFSET(b,f),a5 24 addah .D1X b14,$dsbt_index(__c6xabi_DSBT_BASE),a5 25 addah .D1X b14,$GOT(b),a5 26 addah .D1X b14,$DPR_GOT(b),a5 27 addah .D1X b14,$DPR_BYTE(b),a5 28 addah .D1X b14,$DPR_HWORD(b),a5 29 addah .D1X b14,$DPR_WORD(b),a5 30 addah .D1X b14,$PCR_OFFSET(b,f),a5 31 addaw .D1X b14,$DPR_GOT(b),a5 32 addaw .D1X b14,$DPR_BYTE(b),a5 33 addaw .D1X b14,$DPR_HWORD(b),a5 34 addaw .D1X b14,$DPR_WORD(b),a5 35 addaw .D1X b14,$PCR_OFFSET(b,f),a5 36 addk .S1 $dsbt_index(__c6xabi_DSBT_BASE),a7 37 addk .S1 $got(b),a7 38 addk .S1 $dpr_got(b),a7 39 addk .S1 $dpr_hword(b),a7 40 addk .S1 $dpr_word(b),a7 41 addk .S1 $pcr_offset(b,f),a7 42 mvk .S1 $dsbt_index(__c6xabi_DSBT_BASE),a7 43 mvk .S1 $got(b),a7 44 mvk .S1 $dpr_got(b),a7 45 mvk .S1 $dpr_hword(b),a7 46 mvk .S1 $dpr_word(b),a7 47 mvkh .S1 $dsbt_index(__c6xabi_DSBT_BASE),a7 48 mvkh .S1 $got(b),a7 49 mvklh .S1 $dsbt_index(__c6xabi_DSBT_BASE),a7 50 mvklh .S1 $got(b),a7 51 mvkl .S1 $dsbt_index(__c6xabi_DSBT_BASE),a7 52 mvkl .S1 $got(b),a7 53 addkpc .S2 $dsbt_index(__c6xabi_DSBT_BASE),b3,0 54 addkpc .S2 $GOT(b),b3,0 55 addkpc .S2 $DPR_GOT(b),b3,0 56 addkpc .S2 $DPR_BYTE(b),b3,0 57 addkpc .S2 $DPR_HWORD(b),b3,0 58 addkpc .S2 $DPR_WORD(b),b3,0 59 addkpc .S2 $PCR_OFFSET(b,f),b3,0 60 b .S1 $dsbt_index(__c6xabi_DSBT_BASE) 61 b .S1 $GOT(b) 62 b .S1 $DPR_GOT(b) 63 b .S1 $DPR_BYTE(b) 64 b .S1 $DPR_HWORD(b) 65 b .S1 $DPR_WORD(b) 66 b .S1 $PCR_OFFSET(b,f) 67 call .S1 $dsbt_index(__c6xabi_DSBT_BASE) 68 call .S1 $GOT(b) 69 call .S1 $DPR_GOT(b) 70 call .S1 $DPR_BYTE(b) 71 call .S1 $DPR_HWORD(b) 72 call .S1 $DPR_WORD(b) 73 call .S1 $PCR_OFFSET(b,f) 74 bdec .S1 $dsbt_index(__c6xabi_DSBT_BASE),a1 75 bdec .S1 $GOT(b),a1 76 bdec .S1 $DPR_GOT(b),a1 77 bdec .S1 $DPR_BYTE(b),a1 78 bdec .S1 $DPR_HWORD(b),a1 79 bdec .S1 $DPR_WORD(b),a1 80 bdec .S1 $PCR_OFFSET(b,f),a1 81 bpos .S2 $dsbt_index(__c6xabi_DSBT_BASE),b1 82 bpos .S2 $GOT(b),b1 83 bpos .S2 $DPR_GOT(b),b1 84 bpos .S2 $DPR_BYTE(b),b1 85 bpos .S2 $DPR_HWORD(b),b1 86 bpos .S2 $DPR_WORD(b),b1 87 bpos .S2 $PCR_OFFSET(b,f),b1 88 bnop .S1 $dsbt_index(__c6xabi_DSBT_BASE),1 89 bnop .S1 $GOT(b),1 90 bnop .S1 $DPR_GOT(b),1 91 bnop .S1 $DPR_BYTE(b),1 92 bnop .S1 $DPR_HWORD(b),1 93 bnop .S1 $DPR_WORD(b),1 94 bnop .S1 $PCR_OFFSET(b,f),1 95 callnop $dsbt_index(__c6xabi_DSBT_BASE),1 96 callnop $GOT(b),1 97 callnop $DPR_GOT(b),1 98 callnop $DPR_BYTE(b),1 99 callnop $DPR_HWORD(b),1 100 callnop $DPR_WORD(b),1 101 callnop $PCR_OFFSET(b,f),1 102 callp .S1 $dsbt_index(__c6xabi_DSBT_BASE),a3 103 callp .S1 $GOT(b),a3 104 callp .S1 $DPR_GOT(b),a3 105 callp .S1 $DPR_BYTE(b),a3 106 callp .S1 $DPR_HWORD(b),a3 107 callp .S1 $DPR_WORD(b),a3 108 callp .S1 $PCR_OFFSET(b,f),a3 109 callret .S1 $dsbt_index(__c6xabi_DSBT_BASE) 110 callret .S1 $GOT(b) 111 callret .S1 $DPR_GOT(b) 112 callret .S1 $DPR_BYTE(b) 113 callret .S1 $DPR_HWORD(b) 114 callret .S1 $DPR_WORD(b) 115 callret .S1 $PCR_OFFSET(b,f) 116 ret .S1 $dsbt_index(__c6xabi_DSBT_BASE) 117 ret .S1 $GOT(b) 118 ret .S1 $DPR_GOT(b) 119 ret .S1 $DPR_BYTE(b) 120 ret .S1 $DPR_HWORD(b) 121 ret .S1 $DPR_WORD(b) 122 ret .S1 $PCR_OFFSET(b,f) 123 retp .S1 $dsbt_index(__c6xabi_DSBT_BASE),a3 124 retp .S1 $GOT(b),a3 125 retp .S1 $DPR_GOT(b),a3 126 retp .S1 $DPR_BYTE(b),a3 127 retp .S1 $DPR_HWORD(b),a3 128 retp .S1 $DPR_WORD(b),a3 129 retp .S1 $PCR_OFFSET(b,f),a3 130 ldb .D2T2 *+b14($dsbt_index(__c6xabi_DSBT_BASE)),b1 131 ldb .D2T2 *+b14($GOT(b)),b1 132 ldb .D2T2 *+b14($DPR_GOT(b)),b1 133 ldb .D2T2 *+b14($DPR_BYTE(b)),b1 134 ldb .D2T2 *+b14($DPR_HWORD(b)),b1 135 ldb .D2T2 *+b14($DPR_WORD(b)),b1 136 ldb .D2T2 *+b14($PCR_OFFSET(b,f)),b1 137 ldbu .D2T2 *+b14($dsbt_index(__c6xabi_DSBT_BASE)),b1 138 ldbu .D2T2 *+b14($GOT(b)),b1 139 ldbu .D2T2 *+b14($DPR_GOT(b)),b1 140 ldbu .D2T2 *+b14($DPR_BYTE(b)),b1 141 ldbu .D2T2 *+b14($DPR_HWORD(b)),b1 142 ldbu .D2T2 *+b14($DPR_WORD(b)),b1 143 ldbu .D2T2 *+b14($PCR_OFFSET(b,f)),b1 144 ldh .D2T2 *+b14($dsbt_index(__c6xabi_DSBT_BASE)),b1 145 ldh .D2T2 *+b14($GOT(b)),b1 146 ldh .D2T2 *+b14($DPR_GOT(b)),b1 147 ldh .D2T2 *+b14($DPR_BYTE(b)),b1 148 ldh .D2T2 *+b14($DPR_HWORD(b)),b1 149 ldh .D2T2 *+b14($DPR_WORD(b)),b1 150 ldh .D2T2 *+b14($PCR_OFFSET(b,f)),b1 151 ldhu .D2T2 *+b14($dsbt_index(__c6xabi_DSBT_BASE)),b1 152 ldhu .D2T2 *+b14($GOT(b)),b1 153 ldhu .D2T2 *+b14($DPR_GOT(b)),b1 154 ldhu .D2T2 *+b14($DPR_BYTE(b)),b1 155 ldhu .D2T2 *+b14($DPR_HWORD(b)),b1 156 ldhu .D2T2 *+b14($DPR_WORD(b)),b1 157 ldhu .D2T2 *+b14($PCR_OFFSET(b,f)),b1 158 ldw .D2T2 *+b14($DPR_GOT(b)),b1 159 ldw .D2T2 *+b14($DPR_BYTE(b)),b1 160 ldw .D2T2 *+b14($DPR_HWORD(b)),b1 161 ldw .D2T2 *+b14($DPR_WORD(b)),b1 162 ldw .D2T2 *+b14($PCR_OFFSET(b,f)),b1 163 stb .D2T2 b1,*+b14($dsbt_index(__c6xabi_DSBT_BASE)) 164 stb .D2T2 b1,*+b14($GOT(b)) 165 stb .D2T2 b1,*+b14($DPR_GOT(b)) 166 stb .D2T2 b1,*+b14($DPR_BYTE(b)) 167 stb .D2T2 b1,*+b14($DPR_HWORD(b)) 168 stb .D2T2 b1,*+b14($DPR_WORD(b)) 169 stb .D2T2 b1,*+b14($PCR_OFFSET(b,f)) 170 sth .D2T2 b1,*+b14($dsbt_index(__c6xabi_DSBT_BASE)) 171 sth .D2T2 b1,*+b14($GOT(b)) 172 sth .D2T2 b1,*+b14($DPR_GOT(b)) 173 sth .D2T2 b1,*+b14($DPR_BYTE(b)) 174 sth .D2T2 b1,*+b14($DPR_HWORD(b)) 175 sth .D2T2 b1,*+b14($DPR_WORD(b)) 176 sth .D2T2 b1,*+b14($PCR_OFFSET(b,f)) 177 stw .D2T2 b1,*+b14($DPR_GOT(b)) 178 stw .D2T2 b1,*+b14($DPR_BYTE(b)) 179 stw .D2T2 b1,*+b14($DPR_HWORD(b)) 180 stw .D2T2 b1,*+b14($DPR_WORD(b)) 181 stw .D2T2 b1,*+b14($PCR_OFFSET(b,f)) 182