1 #objdump: -dr --prefix-addresses --show-raw-insn 2 #skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* *-*-vxworks 3 #name: Group relocation tests (ldrs) 4 5 .*: +file format .*arm.* 6 7 Disassembly of section .text: 8 0[0-9a-f]+ <[^>]+> e1c00fdf ldrd r0, \[r0, #255\] ; 0xff 9 0: R_ARM_LDRS_PC_G1 f 10 0[0-9a-f]+ <[^>]+> e1c00fdf ldrd r0, \[r0, #255\] ; 0xff 11 4: R_ARM_LDRS_PC_G2 f 12 0[0-9a-f]+ <[^>]+> e1c00fdf ldrd r0, \[r0, #255\] ; 0xff 13 8: R_ARM_LDRS_SB_G0 f 14 0[0-9a-f]+ <[^>]+> e1c00fdf ldrd r0, \[r0, #255\] ; 0xff 15 c: R_ARM_LDRS_SB_G1 f 16 0[0-9a-f]+ <[^>]+> e1c00fdf ldrd r0, \[r0, #255\] ; 0xff 17 10: R_ARM_LDRS_SB_G2 f 18 0[0-9a-f]+ <[^>]+> e1c00fff strd r0, \[r0, #255\] ; 0xff 19 14: R_ARM_LDRS_PC_G1 f 20 0[0-9a-f]+ <[^>]+> e1c00fff strd r0, \[r0, #255\] ; 0xff 21 18: R_ARM_LDRS_PC_G2 f 22 0[0-9a-f]+ <[^>]+> e1c00fff strd r0, \[r0, #255\] ; 0xff 23 1c: R_ARM_LDRS_SB_G0 f 24 0[0-9a-f]+ <[^>]+> e1c00fff strd r0, \[r0, #255\] ; 0xff 25 20: R_ARM_LDRS_SB_G1 f 26 0[0-9a-f]+ <[^>]+> e1c00fff strd r0, \[r0, #255\] ; 0xff 27 24: R_ARM_LDRS_SB_G2 f 28 0[0-9a-f]+ <[^>]+> e1d00fbf ldrh r0, \[r0, #255\] ; 0xff 29 28: R_ARM_LDRS_PC_G1 f 30 0[0-9a-f]+ <[^>]+> e1d00fbf ldrh r0, \[r0, #255\] ; 0xff 31 2c: R_ARM_LDRS_PC_G2 f 32 0[0-9a-f]+ <[^>]+> e1d00fbf ldrh r0, \[r0, #255\] ; 0xff 33 30: R_ARM_LDRS_SB_G0 f 34 0[0-9a-f]+ <[^>]+> e1d00fbf ldrh r0, \[r0, #255\] ; 0xff 35 34: R_ARM_LDRS_SB_G1 f 36 0[0-9a-f]+ <[^>]+> e1d00fbf ldrh r0, \[r0, #255\] ; 0xff 37 38: R_ARM_LDRS_SB_G2 f 38 0[0-9a-f]+ <[^>]+> e1c00fbf strh r0, \[r0, #255\] ; 0xff 39 3c: R_ARM_LDRS_PC_G1 f 40 0[0-9a-f]+ <[^>]+> e1c00fbf strh r0, \[r0, #255\] ; 0xff 41 40: R_ARM_LDRS_PC_G2 f 42 0[0-9a-f]+ <[^>]+> e1c00fbf strh r0, \[r0, #255\] ; 0xff 43 44: R_ARM_LDRS_SB_G0 f 44 0[0-9a-f]+ <[^>]+> e1c00fbf strh r0, \[r0, #255\] ; 0xff 45 48: R_ARM_LDRS_SB_G1 f 46 0[0-9a-f]+ <[^>]+> e1c00fbf strh r0, \[r0, #255\] ; 0xff 47 4c: R_ARM_LDRS_SB_G2 f 48 0[0-9a-f]+ <[^>]+> e1d00fff ldrsh r0, \[r0, #255\] ; 0xff 49 50: R_ARM_LDRS_PC_G1 f 50 0[0-9a-f]+ <[^>]+> e1d00fff ldrsh r0, \[r0, #255\] ; 0xff 51 54: R_ARM_LDRS_PC_G2 f 52 0[0-9a-f]+ <[^>]+> e1d00fff ldrsh r0, \[r0, #255\] ; 0xff 53 58: R_ARM_LDRS_SB_G0 f 54 0[0-9a-f]+ <[^>]+> e1d00fff ldrsh r0, \[r0, #255\] ; 0xff 55 5c: R_ARM_LDRS_SB_G1 f 56 0[0-9a-f]+ <[^>]+> e1d00fff ldrsh r0, \[r0, #255\] ; 0xff 57 60: R_ARM_LDRS_SB_G2 f 58 0[0-9a-f]+ <[^>]+> e1d00fdf ldrsb r0, \[r0, #255\] ; 0xff 59 64: R_ARM_LDRS_PC_G1 f 60 0[0-9a-f]+ <[^>]+> e1d00fdf ldrsb r0, \[r0, #255\] ; 0xff 61 68: R_ARM_LDRS_PC_G2 f 62 0[0-9a-f]+ <[^>]+> e1d00fdf ldrsb r0, \[r0, #255\] ; 0xff 63 6c: R_ARM_LDRS_SB_G0 f 64 0[0-9a-f]+ <[^>]+> e1d00fdf ldrsb r0, \[r0, #255\] ; 0xff 65 70: R_ARM_LDRS_SB_G1 f 66 0[0-9a-f]+ <[^>]+> e1d00fdf ldrsb r0, \[r0, #255\] ; 0xff 67 74: R_ARM_LDRS_SB_G2 f 68 0[0-9a-f]+ <[^>]+> e1400fdf ldrd r0, \[r0, #-255\] ; 0xffffff01 69 78: R_ARM_LDRS_PC_G1 f 70 0[0-9a-f]+ <[^>]+> e1400fdf ldrd r0, \[r0, #-255\] ; 0xffffff01 71 7c: R_ARM_LDRS_PC_G2 f 72 0[0-9a-f]+ <[^>]+> e1400fdf ldrd r0, \[r0, #-255\] ; 0xffffff01 73 80: R_ARM_LDRS_SB_G0 f 74 0[0-9a-f]+ <[^>]+> e1400fdf ldrd r0, \[r0, #-255\] ; 0xffffff01 75 84: R_ARM_LDRS_SB_G1 f 76 0[0-9a-f]+ <[^>]+> e1400fdf ldrd r0, \[r0, #-255\] ; 0xffffff01 77 88: R_ARM_LDRS_SB_G2 f 78 0[0-9a-f]+ <[^>]+> e1400fff strd r0, \[r0, #-255\] ; 0xffffff01 79 8c: R_ARM_LDRS_PC_G1 f 80 0[0-9a-f]+ <[^>]+> e1400fff strd r0, \[r0, #-255\] ; 0xffffff01 81 90: R_ARM_LDRS_PC_G2 f 82 0[0-9a-f]+ <[^>]+> e1400fff strd r0, \[r0, #-255\] ; 0xffffff01 83 94: R_ARM_LDRS_SB_G0 f 84 0[0-9a-f]+ <[^>]+> e1400fff strd r0, \[r0, #-255\] ; 0xffffff01 85 98: R_ARM_LDRS_SB_G1 f 86 0[0-9a-f]+ <[^>]+> e1400fff strd r0, \[r0, #-255\] ; 0xffffff01 87 9c: R_ARM_LDRS_SB_G2 f 88 0[0-9a-f]+ <[^>]+> e1500fbf ldrh r0, \[r0, #-255\] ; 0xffffff01 89 a0: R_ARM_LDRS_PC_G1 f 90 0[0-9a-f]+ <[^>]+> e1500fbf ldrh r0, \[r0, #-255\] ; 0xffffff01 91 a4: R_ARM_LDRS_PC_G2 f 92 0[0-9a-f]+ <[^>]+> e1500fbf ldrh r0, \[r0, #-255\] ; 0xffffff01 93 a8: R_ARM_LDRS_SB_G0 f 94 0[0-9a-f]+ <[^>]+> e1500fbf ldrh r0, \[r0, #-255\] ; 0xffffff01 95 ac: R_ARM_LDRS_SB_G1 f 96 0[0-9a-f]+ <[^>]+> e1500fbf ldrh r0, \[r0, #-255\] ; 0xffffff01 97 b0: R_ARM_LDRS_SB_G2 f 98 0[0-9a-f]+ <[^>]+> e1400fbf strh r0, \[r0, #-255\] ; 0xffffff01 99 b4: R_ARM_LDRS_PC_G1 f 100 0[0-9a-f]+ <[^>]+> e1400fbf strh r0, \[r0, #-255\] ; 0xffffff01 101 b8: R_ARM_LDRS_PC_G2 f 102 0[0-9a-f]+ <[^>]+> e1400fbf strh r0, \[r0, #-255\] ; 0xffffff01 103 bc: R_ARM_LDRS_SB_G0 f 104 0[0-9a-f]+ <[^>]+> e1400fbf strh r0, \[r0, #-255\] ; 0xffffff01 105 c0: R_ARM_LDRS_SB_G1 f 106 0[0-9a-f]+ <[^>]+> e1400fbf strh r0, \[r0, #-255\] ; 0xffffff01 107 c4: R_ARM_LDRS_SB_G2 f 108 0[0-9a-f]+ <[^>]+> e1500fff ldrsh r0, \[r0, #-255\] ; 0xffffff01 109 c8: R_ARM_LDRS_PC_G1 f 110 0[0-9a-f]+ <[^>]+> e1500fff ldrsh r0, \[r0, #-255\] ; 0xffffff01 111 cc: R_ARM_LDRS_PC_G2 f 112 0[0-9a-f]+ <[^>]+> e1500fff ldrsh r0, \[r0, #-255\] ; 0xffffff01 113 d0: R_ARM_LDRS_SB_G0 f 114 0[0-9a-f]+ <[^>]+> e1500fff ldrsh r0, \[r0, #-255\] ; 0xffffff01 115 d4: R_ARM_LDRS_SB_G1 f 116 0[0-9a-f]+ <[^>]+> e1500fff ldrsh r0, \[r0, #-255\] ; 0xffffff01 117 d8: R_ARM_LDRS_SB_G2 f 118 0[0-9a-f]+ <[^>]+> e1500fdf ldrsb r0, \[r0, #-255\] ; 0xffffff01 119 dc: R_ARM_LDRS_PC_G1 f 120 0[0-9a-f]+ <[^>]+> e1500fdf ldrsb r0, \[r0, #-255\] ; 0xffffff01 121 e0: R_ARM_LDRS_PC_G2 f 122 0[0-9a-f]+ <[^>]+> e1500fdf ldrsb r0, \[r0, #-255\] ; 0xffffff01 123 e4: R_ARM_LDRS_SB_G0 f 124 0[0-9a-f]+ <[^>]+> e1500fdf ldrsb r0, \[r0, #-255\] ; 0xffffff01 125 e8: R_ARM_LDRS_SB_G1 f 126 0[0-9a-f]+ <[^>]+> e1500fdf ldrsb r0, \[r0, #-255\] ; 0xffffff01 127 ec: R_ARM_LDRS_SB_G2 f 128 0[0-9a-f]+ <[^>]+> e1c00fdf ldrd r0, \[r0, #255\] ; 0xff 129 f0: R_ARM_LDRS_PC_G1 localsym 130 0[0-9a-f]+ <[^>]+> e1c00fdf ldrd r0, \[r0, #255\] ; 0xff 131 f4: R_ARM_LDRS_PC_G2 localsym 132 0[0-9a-f]+ <[^>]+> e1c00fdf ldrd r0, \[r0, #255\] ; 0xff 133 f8: R_ARM_LDRS_SB_G0 localsym 134 0[0-9a-f]+ <[^>]+> e1c00fdf ldrd r0, \[r0, #255\] ; 0xff 135 fc: R_ARM_LDRS_SB_G1 localsym 136 0[0-9a-f]+ <[^>]+> e1c00fdf ldrd r0, \[r0, #255\] ; 0xff 137 100: R_ARM_LDRS_SB_G2 localsym 138 0[0-9a-f]+ <[^>]+> e1c00fff strd r0, \[r0, #255\] ; 0xff 139 104: R_ARM_LDRS_PC_G1 localsym 140 0[0-9a-f]+ <[^>]+> e1c00fff strd r0, \[r0, #255\] ; 0xff 141 108: R_ARM_LDRS_PC_G2 localsym 142 0[0-9a-f]+ <[^>]+> e1c00fff strd r0, \[r0, #255\] ; 0xff 143 10c: R_ARM_LDRS_SB_G0 localsym 144 0[0-9a-f]+ <[^>]+> e1c00fff strd r0, \[r0, #255\] ; 0xff 145 110: R_ARM_LDRS_SB_G1 localsym 146 0[0-9a-f]+ <[^>]+> e1c00fff strd r0, \[r0, #255\] ; 0xff 147 114: R_ARM_LDRS_SB_G2 localsym 148 0[0-9a-f]+ <[^>]+> e1d00fbf ldrh r0, \[r0, #255\] ; 0xff 149 118: R_ARM_LDRS_PC_G1 localsym 150 0[0-9a-f]+ <[^>]+> e1d00fbf ldrh r0, \[r0, #255\] ; 0xff 151 11c: R_ARM_LDRS_PC_G2 localsym 152 0[0-9a-f]+ <[^>]+> e1d00fbf ldrh r0, \[r0, #255\] ; 0xff 153 120: R_ARM_LDRS_SB_G0 localsym 154 0[0-9a-f]+ <[^>]+> e1d00fbf ldrh r0, \[r0, #255\] ; 0xff 155 124: R_ARM_LDRS_SB_G1 localsym 156 0[0-9a-f]+ <[^>]+> e1d00fbf ldrh r0, \[r0, #255\] ; 0xff 157 128: R_ARM_LDRS_SB_G2 localsym 158 0[0-9a-f]+ <[^>]+> e1c00fbf strh r0, \[r0, #255\] ; 0xff 159 12c: R_ARM_LDRS_PC_G1 localsym 160 0[0-9a-f]+ <[^>]+> e1c00fbf strh r0, \[r0, #255\] ; 0xff 161 130: R_ARM_LDRS_PC_G2 localsym 162 0[0-9a-f]+ <[^>]+> e1c00fbf strh r0, \[r0, #255\] ; 0xff 163 134: R_ARM_LDRS_SB_G0 localsym 164 0[0-9a-f]+ <[^>]+> e1c00fbf strh r0, \[r0, #255\] ; 0xff 165 138: R_ARM_LDRS_SB_G1 localsym 166 0[0-9a-f]+ <[^>]+> e1c00fbf strh r0, \[r0, #255\] ; 0xff 167 13c: R_ARM_LDRS_SB_G2 localsym 168 0[0-9a-f]+ <[^>]+> e1d00fff ldrsh r0, \[r0, #255\] ; 0xff 169 140: R_ARM_LDRS_PC_G1 localsym 170 0[0-9a-f]+ <[^>]+> e1d00fff ldrsh r0, \[r0, #255\] ; 0xff 171 144: R_ARM_LDRS_PC_G2 localsym 172 0[0-9a-f]+ <[^>]+> e1d00fff ldrsh r0, \[r0, #255\] ; 0xff 173 148: R_ARM_LDRS_SB_G0 localsym 174 0[0-9a-f]+ <[^>]+> e1d00fff ldrsh r0, \[r0, #255\] ; 0xff 175 14c: R_ARM_LDRS_SB_G1 localsym 176 0[0-9a-f]+ <[^>]+> e1d00fff ldrsh r0, \[r0, #255\] ; 0xff 177 150: R_ARM_LDRS_SB_G2 localsym 178 0[0-9a-f]+ <[^>]+> e1d00fdf ldrsb r0, \[r0, #255\] ; 0xff 179 154: R_ARM_LDRS_PC_G1 localsym 180 0[0-9a-f]+ <[^>]+> e1d00fdf ldrsb r0, \[r0, #255\] ; 0xff 181 158: R_ARM_LDRS_PC_G2 localsym 182 0[0-9a-f]+ <[^>]+> e1d00fdf ldrsb r0, \[r0, #255\] ; 0xff 183 15c: R_ARM_LDRS_SB_G0 localsym 184 0[0-9a-f]+ <[^>]+> e1d00fdf ldrsb r0, \[r0, #255\] ; 0xff 185 160: R_ARM_LDRS_SB_G1 localsym 186 0[0-9a-f]+ <[^>]+> e1d00fdf ldrsb r0, \[r0, #255\] ; 0xff 187 164: R_ARM_LDRS_SB_G2 localsym 188 0[0-9a-f]+ <[^>]+> e1400fdf ldrd r0, \[r0, #-255\] ; 0xffffff01 189 168: R_ARM_LDRS_PC_G1 localsym 190 0[0-9a-f]+ <[^>]+> e1400fdf ldrd r0, \[r0, #-255\] ; 0xffffff01 191 16c: R_ARM_LDRS_PC_G2 localsym 192 0[0-9a-f]+ <[^>]+> e1400fdf ldrd r0, \[r0, #-255\] ; 0xffffff01 193 170: R_ARM_LDRS_SB_G0 localsym 194 0[0-9a-f]+ <[^>]+> e1400fdf ldrd r0, \[r0, #-255\] ; 0xffffff01 195 174: R_ARM_LDRS_SB_G1 localsym 196 0[0-9a-f]+ <[^>]+> e1400fdf ldrd r0, \[r0, #-255\] ; 0xffffff01 197 178: R_ARM_LDRS_SB_G2 localsym 198 0[0-9a-f]+ <[^>]+> e1400fff strd r0, \[r0, #-255\] ; 0xffffff01 199 17c: R_ARM_LDRS_PC_G1 localsym 200 0[0-9a-f]+ <[^>]+> e1400fff strd r0, \[r0, #-255\] ; 0xffffff01 201 180: R_ARM_LDRS_PC_G2 localsym 202 0[0-9a-f]+ <[^>]+> e1400fff strd r0, \[r0, #-255\] ; 0xffffff01 203 184: R_ARM_LDRS_SB_G0 localsym 204 0[0-9a-f]+ <[^>]+> e1400fff strd r0, \[r0, #-255\] ; 0xffffff01 205 188: R_ARM_LDRS_SB_G1 localsym 206 0[0-9a-f]+ <[^>]+> e1400fff strd r0, \[r0, #-255\] ; 0xffffff01 207 18c: R_ARM_LDRS_SB_G2 localsym 208 0[0-9a-f]+ <[^>]+> e1500fbf ldrh r0, \[r0, #-255\] ; 0xffffff01 209 190: R_ARM_LDRS_PC_G1 localsym 210 0[0-9a-f]+ <[^>]+> e1500fbf ldrh r0, \[r0, #-255\] ; 0xffffff01 211 194: R_ARM_LDRS_PC_G2 localsym 212 0[0-9a-f]+ <[^>]+> e1500fbf ldrh r0, \[r0, #-255\] ; 0xffffff01 213 198: R_ARM_LDRS_SB_G0 localsym 214 0[0-9a-f]+ <[^>]+> e1500fbf ldrh r0, \[r0, #-255\] ; 0xffffff01 215 19c: R_ARM_LDRS_SB_G1 localsym 216 0[0-9a-f]+ <[^>]+> e1500fbf ldrh r0, \[r0, #-255\] ; 0xffffff01 217 1a0: R_ARM_LDRS_SB_G2 localsym 218 0[0-9a-f]+ <[^>]+> e1400fbf strh r0, \[r0, #-255\] ; 0xffffff01 219 1a4: R_ARM_LDRS_PC_G1 localsym 220 0[0-9a-f]+ <[^>]+> e1400fbf strh r0, \[r0, #-255\] ; 0xffffff01 221 1a8: R_ARM_LDRS_PC_G2 localsym 222 0[0-9a-f]+ <[^>]+> e1400fbf strh r0, \[r0, #-255\] ; 0xffffff01 223 1ac: R_ARM_LDRS_SB_G0 localsym 224 0[0-9a-f]+ <[^>]+> e1400fbf strh r0, \[r0, #-255\] ; 0xffffff01 225 1b0: R_ARM_LDRS_SB_G1 localsym 226 0[0-9a-f]+ <[^>]+> e1400fbf strh r0, \[r0, #-255\] ; 0xffffff01 227 1b4: R_ARM_LDRS_SB_G2 localsym 228 0[0-9a-f]+ <[^>]+> e1500fff ldrsh r0, \[r0, #-255\] ; 0xffffff01 229 1b8: R_ARM_LDRS_PC_G1 localsym 230 0[0-9a-f]+ <[^>]+> e1500fff ldrsh r0, \[r0, #-255\] ; 0xffffff01 231 1bc: R_ARM_LDRS_PC_G2 localsym 232 0[0-9a-f]+ <[^>]+> e1500fff ldrsh r0, \[r0, #-255\] ; 0xffffff01 233 1c0: R_ARM_LDRS_SB_G0 localsym 234 0[0-9a-f]+ <[^>]+> e1500fff ldrsh r0, \[r0, #-255\] ; 0xffffff01 235 1c4: R_ARM_LDRS_SB_G1 localsym 236 0[0-9a-f]+ <[^>]+> e1500fff ldrsh r0, \[r0, #-255\] ; 0xffffff01 237 1c8: R_ARM_LDRS_SB_G2 localsym 238 0[0-9a-f]+ <[^>]+> e1500fdf ldrsb r0, \[r0, #-255\] ; 0xffffff01 239 1cc: R_ARM_LDRS_PC_G1 localsym 240 0[0-9a-f]+ <[^>]+> e1500fdf ldrsb r0, \[r0, #-255\] ; 0xffffff01 241 1d0: R_ARM_LDRS_PC_G2 localsym 242 0[0-9a-f]+ <[^>]+> e1500fdf ldrsb r0, \[r0, #-255\] ; 0xffffff01 243 1d4: R_ARM_LDRS_SB_G0 localsym 244 0[0-9a-f]+ <[^>]+> e1500fdf ldrsb r0, \[r0, #-255\] ; 0xffffff01 245 1d8: R_ARM_LDRS_SB_G1 localsym 246 0[0-9a-f]+ <[^>]+> e1500fdf ldrsb r0, \[r0, #-255\] ; 0xffffff01 247 1dc: R_ARM_LDRS_SB_G2 localsym 248 0[0-9a-f]+ <[^>]+> e3a00000 mov r0, #0 249