From: Hans-Peter Nilsson Date: Wed, 7 Dec 2005 06:43:17 +0000 (+0000) Subject: * gas/cris/rd-bcnst-pic.d, gas/cris/rd-branch-pic.d, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76956aa342a3d51136781267df84fa83d5a6a46c;p=binutils-gdb.git * gas/cris/rd-bcnst-pic.d, gas/cris/rd-branch-pic.d, gas/cris/rd-brokw-pic-1.d, gas/cris/rd-brokw-pic-2.d, gas/cris/rd-brokw-pic-3.d, gas/cris/rd-fragtest-pic.d: New tests. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 43f05881177..11d4489f6ef 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2005-12-07 Hans-Peter Nilsson + + * gas/cris/rd-bcnst-pic.d, gas/cris/rd-branch-pic.d, + gas/cris/rd-brokw-pic-1.d, gas/cris/rd-brokw-pic-2.d, + gas/cris/rd-brokw-pic-3.d, gas/cris/rd-fragtest-pic.d: New tests. + 2005-12-06 H.J. Lu PR gas/1874 diff --git a/gas/testsuite/gas/cris/rd-bcnst-pic.d b/gas/testsuite/gas/cris/rd-bcnst-pic.d new file mode 100644 index 00000000000..365a6a4c723 --- /dev/null +++ b/gas/testsuite/gas/cris/rd-bcnst-pic.d @@ -0,0 +1,28 @@ +#objdump: -dr +#as: --pic --underscore --em=criself +#source: rd-bcnst.s + +# Catches an error in the relaxation machinery and checks that there's no +# confusion between section offset and absolute address. + +.*: file format elf32.*-cris + +Disassembly of section \.text: + +0+ <\.text>: +[ ]+0:[ ]+0ae0[ ]+ba 0xc +[ ]+2:[ ]+0f05[ ]+nop +[ ]+4:[ ]+6ffd 0000 0000 3f0e[ ]+move \[pc=pc\+0x0\],p0 +[ ]+6:[ ]+R_CRIS_32_PCREL[ ]+\*ABS\*\+0xbadb00 +[ ]+c:[ ]+f770[ ]+bmi 0x4 +[ ]+e:[ ]+0ae0[ ]+ba 0x1a +[ ]+10:[ ]+0f05[ ]+nop +[ ]+12:[ ]+6ffd 0000 0000 3f0e[ ]+move \[pc=pc\+0x0\],p0 +[ ]+14:[ ]+R_CRIS_32_PCREL[ ]+\*ABS\*\+0xb00 +[ ]+1a:[ ]+f770[ ]+bmi 0x12 +[ ]+1c:[ ]+0ae0[ ]+ba 0x28 +[ ]+1e:[ ]+0f05[ ]+nop +[ ]+20:[ ]+6ffd 0000 0000 3f0e[ ]+move \[pc=pc\+0x0\],p0 +[ ]+22:[ ]+R_CRIS_32_PCREL[ ]+\*ABS\*\+0x42 +[ ]+28:[ ]+f770[ ]+bmi 0x20 +[ ]+2a:[ ]+0000[ ]+bcc \.\+2 diff --git a/gas/testsuite/gas/cris/rd-branch-pic.d b/gas/testsuite/gas/cris/rd-branch-pic.d new file mode 100644 index 00000000000..4c6b59abc79 --- /dev/null +++ b/gas/testsuite/gas/cris/rd-branch-pic.d @@ -0,0 +1,450 @@ +#objdump: -dr +#as: --pic --underscore --em=criself +#source: branch.s + +.*: file format .*-cris + +Disassembly of section \.text: +0+ : +[ ]+0:[ ]+0f05[ ]+nop[ ]* +0+2 : +[ ]+2:[ ]+0f05[ ]+nop[ ]* +^[ ]+\.\.\. +0+7e6a : +[ ]+7e6a:[ ]+0f05[ ]+nop[ ]* +^[ ]+\.\.\. +0+7f2e : +[ ]+7f2e:[ ]+0f05[ ]+nop[ ]* +[ ]+7f30:[ ]+fde0[ ]+ba[ ]+(0x7f2e|7f2e ) +[ ]+7f32:[ ]+fb00[ ]+bcc[ ]+(0x7f2e|7f2e ) +[ ]+7f34:[ ]+f910[ ]+bcs[ ]+(0x7f2e|7f2e ) +[ ]+7f36:[ ]+f730[ ]+beq[ ]+(0x7f2e|7f2e ) +[ ]+7f38:[ ]+f5f0[ ]+bwf[ ]+(0x7f2e|7f2e ) +[ ]+7f3a:[ ]+f3f0[ ]+bwf[ ]+(0x7f2e|7f2e ) +[ ]+7f3c:[ ]+f1f0[ ]+bwf[ ]+(0x7f2e|7f2e ) +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pc\+ffff7fda \],p0 +[ ]+802a:[ ]+f7a0[ ]+bge 8022 +[ ]+802c:[ ]+0ae0[ ]+ba 8038 +[ ]+802e:[ ]+0f05[ ]+nop[ ]* +[ ]+8030:[ ]+6ffd cc7f ffff 3f0e[ ]+move \[pc=pc\+ffff7fcc \],p0 +[ ]+8038:[ ]+f7c0[ ]+bgt 8030 +[ ]+803a:[ ]+0ae0[ ]+ba 8046 +[ ]+803c:[ ]+0f05[ ]+nop[ ]* +[ ]+803e:[ ]+6ffd be7f ffff 3f0e[ ]+move \[pc=pc\+ffff7fbe \],p0 +[ ]+8046:[ ]+f790[ ]+bhi 803e +[ ]+8048:[ ]+0ae0[ ]+ba 8054 +[ ]+804a:[ ]+0f05[ ]+nop[ ]* +[ ]+804c:[ ]+6ffd b07f ffff 3f0e[ ]+move \[pc=pc\+ffff7fb0 \],p0 +[ ]+8054:[ ]+f700[ ]+bcc 804c +[ ]+8056:[ ]+0ae0[ ]+ba 8062 +[ ]+8058:[ ]+0f05[ ]+nop[ ]* +[ ]+805a:[ ]+6ffd a27f ffff 3f0e[ ]+move \[pc=pc\+ffff7fa2 \],p0 +[ ]+8062:[ ]+f7d0[ ]+ble 805a +[ ]+8064:[ ]+0ae0[ ]+ba 8070 +[ ]+8066:[ ]+0f05[ ]+nop[ ]* +[ ]+8068:[ ]+6ffd 947f ffff 3f0e[ ]+move \[pc=pc\+ffff7f94 \],p0 +[ ]+8070:[ ]+f710[ ]+bcs 8068 +[ ]+8072:[ ]+0ae0[ ]+ba 807e +[ ]+8074:[ ]+0f05[ ]+nop[ ]* +[ ]+8076:[ ]+6ffd 867f ffff 3f0e[ ]+move \[pc=pc\+ffff7f86 \],p0 +[ ]+807e:[ ]+f780[ ]+bls 8076 +[ ]+8080:[ ]+0ae0[ ]+ba 808c +[ ]+8082:[ ]+0f05[ ]+nop[ ]* +[ ]+8084:[ ]+6ffd 787f ffff 3f0e[ ]+move \[pc=pc\+ffff7f78 \],p0 +[ ]+808c:[ ]+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81b8 \],p0 +[ ]+8218:[ ]+f710[ ]+bcs 8210 +[ ]+821a:[ ]+0ae0[ ]+ba 8226 +[ ]+821c:[ ]+0f05[ ]+nop[ ]* +[ ]+821e:[ ]+6ffd aa81 0000 3f0e[ ]+move \[pc=pc\+81aa \],p0 +[ ]+8226:[ ]+f730[ ]+beq 821e +[ ]+8228:[ ]+0ae0[ ]+ba 8234 +[ ]+822a:[ ]+0f05[ ]+nop[ ]* +[ ]+822c:[ ]+6ffd 9c81 0000 3f0e[ ]+move \[pc=pc\+819c \],p0 +[ ]+8234:[ ]+f7f0[ ]+bwf 822c +[ ]+8236:[ ]+0ae0[ ]+ba 8242 +[ ]+8238:[ ]+0f05[ ]+nop[ ]* +[ ]+823a:[ ]+6ffd 8e81 0000 3f0e[ ]+move \[pc=pc\+818e \],p0 +[ ]+8242:[ ]+f7f0[ ]+bwf 823a +[ ]+8244:[ ]+0ae0[ ]+ba 8250 +[ ]+8246:[ ]+0f05[ ]+nop[ ]* +[ ]+8248:[ ]+6ffd 8081 0000 3f0e[ ]+move \[pc=pc\+8180 \],p0 +[ ]+8250:[ ]+f7f0[ ]+bwf 8248 +[ ]+8252:[ ]+0ae0[ ]+ba 825e +[ ]+8254:[ ]+0f05[ ]+nop[ ]* +[ ]+8256:[ ]+6ffd 7281 0000 3f0e[ ]+move \[pc=pc\+8172 \],p0 +[ ]+825e:[ ]+f7a0[ ]+bge 8256 +[ ]+8260:[ ]+0ae0[ ]+ba 826c +[ ]+8262:[ ]+0f05[ ]+nop[ ]* +[ ]+8264:[ ]+6ffd 6481 0000 3f0e[ ]+move \[pc=pc\+8164 \],p0 +[ ]+826c:[ ]+f7c0[ ]+bgt 8264 +[ ]+826e:[ ]+0ae0[ ]+ba 827a +[ ]+8270:[ ]+0f05[ ]+nop[ ]* +[ ]+8272:[ ]+6ffd 5681 0000 3f0e[ ]+move \[pc=pc\+8156 \],p0 +[ ]+827a:[ ]+f790[ ]+bhi 8272 +[ ]+827c:[ ]+0ae0[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]+6ffd 8280 0000 3f0e[ ]+move \[pc=pc\+8082 \],p0 +[ ]+834e:[ ]+f7f0[ ]+bwf 8346 +[ ]+8350:[ ]+0ae0[ ]+ba 835c +[ ]+8352:[ ]+0f05[ ]+nop[ ]* +[ ]+8354:[ ]+6ffd 7480 0000 3f0e[ ]+move \[pc=pc\+8074 \],p0 +[ ]+835c:[ ]+f7f0[ ]+bwf 8354 +[ ]+835e:[ ]+0ae0[ ]+ba 836a +[ ]+8360:[ ]+0f05[ ]+nop[ ]* +[ ]+8362:[ ]+6ffd 6680 0000 3f0e[ ]+move \[pc=pc\+8066 \],p0 +[ ]+836a:[ ]+f7f0[ ]+bwf 8362 +[ ]+836c:[ ]+0ae0[ ]+ba 8378 +[ ]+836e:[ ]+0f05[ ]+nop[ ]* +[ ]+8370:[ ]+6ffd 5880 0000 3f0e[ ]+move \[pc=pc\+8058 \],p0 +[ ]+8378:[ ]+f7a0[ ]+bge 8370 +[ ]+837a:[ ]+0ae0[ ]+ba 8386 +[ ]+837c:[ ]+0f05[ ]+nop[ ]* +[ ]+837e:[ ]+6ffd 4a80 0000 3f0e[ ]+move \[pc=pc\+804a \],p0 +[ ]+8386:[ ]+f7c0[ ]+bgt 837e +[ ]+8388:[ ]+0ae0[ ]+ba 8394 +[ ]+838a:[ ]+0f05[ ]+nop[ ]* +[ ]+838c:[ ]+6ffd 3c80 0000 3f0e[ ]+move \[pc=pc\+803c \],p0 +[ ]+8394:[ ]+f790[ ]+bhi 838c +[ ]+8396:[ ]+0ae0[ ]+ba 83a2 +[ ]+8398:[ ]+0f05[ ]+nop[ ]* +[ ]+839a:[ ]+6ffd 2e80 0000 3f0e[ ]+move \[pc=pc\+802e \],p0 +[ ]+83a2:[ ]+f700[ ]+bcc 839a +[ ]+83a4:[ ]+0ae0[ ]+ba 83b0 +[ ]+83a6:[ ]+0f05[ ]+nop[ ]* +[ ]+83a8:[ ]+6ffd 2080 0000 3f0e[ ]+move \[pc=pc\+8020 \],p0 +[ ]+83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 ]+1cf0[ ]+bwf 84a2 +[ ]+8486:[ ]+1aa0[ ]+bge 84a2 +[ ]+8488:[ ]+18c0[ ]+bgt 84a2 +[ ]+848a:[ ]+1690[ ]+bhi 84a2 +[ ]+848c:[ ]+1400[ ]+bcc 84a2 +[ ]+848e:[ ]+12d0[ ]+ble 84a2 +[ ]+8490:[ ]+1010[ ]+bcs 84a2 +[ ]+8492:[ ]+0e80[ ]+bls 84a2 +[ ]+8494:[ ]+0cb0[ ]+blt 84a2 +[ ]+8496:[ ]+0a70[ ]+bmi 84a2 +[ ]+8498:[ ]+0820[ ]+bne 84a2 +[ ]+849a:[ ]+0660[ ]+bpl 84a2 +[ ]+849c:[ ]+0440[ ]+bvc 84a2 +[ ]+849e:[ ]+0250[ ]+bvs 84a2 +[ ]+84a0:[ ]+0f05[ ]+nop[ ]* +0+84a2 : +[ ]+84a2:[ ]+0f05[ ]+nop[ ]* +^[ ]+\.\.\. +0+8566 : +[ ]+8566:[ ]+0f05[ ]+nop[ ]* +^[ ]+\.\.\. +0+103ce : +[ ]+103ce:[ ]+0f05[ ]+nop[ ]* diff --git a/gas/testsuite/gas/cris/rd-brokw-pic-1.d b/gas/testsuite/gas/cris/rd-brokw-pic-1.d new file mode 100644 index 00000000000..502796817bf --- /dev/null +++ b/gas/testsuite/gas/cris/rd-brokw-pic-1.d @@ -0,0 +1,21 @@ +#objdump: -dr +#as: --pic +#source: brokw-1.s + +.*: file format .*-cris + +Disassembly of section \.text: +0+ : +[ ]+0:[ ]+4002[ ]+moveq[ ]+0,\$?r0 +[ ]+2:[ ]+0c00[ ]+bcc[ ]+(0x10|10 ) +[ ]+4:[ ]+4102[ ]+moveq[ ]+1,\$?r0 +[ ]+6:[ ]+0ce0[ ]+ba[ ]+(0x14|14 ) +[ ]+8:[ ]+0f05[ ]+nop[ ]* +[ ]+a:[ ]+0f05[ ]+nop[ ]* +[ ]+c:[ ]+6ffd 0280 0000 3f0e[ ]+move \[\$?pc=\$?pc\+8002 \],\$?p0 +0+14 : +[ ]+14:[ ]+4202[ ]+moveq[ ]+2,\$?r0 +^[ ]+\.\.\. +0+8014 : +[ ]+8014:[ ]+4302[ ]+moveq[ ]+3,\$?r0 +^[ ]+\.\.\. diff --git a/gas/testsuite/gas/cris/rd-brokw-pic-2.d b/gas/testsuite/gas/cris/rd-brokw-pic-2.d new file mode 100644 index 00000000000..30ca1f5b83d --- /dev/null +++ b/gas/testsuite/gas/cris/rd-brokw-pic-2.d @@ -0,0 +1,24 @@ +#objdump: -dr +#as: --pic +#source: brokw-2.s + +.*: file format .*-cris +Disassembly of section \.text: +0+ : +[ ]+0:[ ]+4002[ ]+moveq[ ]+0,\$?r0 +[ ]+2:[ ]+1600[ ]+bcc[ ]+(0x1a|1a ) +[ ]+4:[ ]+0e00[ ]+bcc[ ]+(0x14|14 ) +[ ]+6:[ ]+4102[ ]+moveq[ ]+1,\$?r0 +[ ]+8:[ ]+14e0[ ]+ba[ ]+(0x1e|1e ) +[ ]+a:[ ]+0f05[ ]+nop[ ]* +[ ]+c:[ ]+0f05[ ]+nop[ ]* +[ ]+e:[ ]+6ffd 0c80 0000 3f0e[ ]+move \[\$?pc=\$?pc\+800c \],\$?p0 +[ ]+16:[ ]+6ffd 0280 0000 3f0e[ ]+move \[\$?pc=\$?pc\+8002 \],\$?p0 +0+1e : +[ ]+1e:[ ]+4202[ ]+moveq[ ]+2,\$?r0 +^[ ]+\.\.\. +0+801e : +[ ]+801e:[ ]+4302[ ]+moveq[ ]+3,\$?r0 +0+8020 : +[ ]+8020:[ ]+4402[ ]+moveq[ ]+4,\$?r0 +^[ ]+\.\.\. diff --git a/gas/testsuite/gas/cris/rd-brokw-pic-3.d b/gas/testsuite/gas/cris/rd-brokw-pic-3.d new file mode 100644 index 00000000000..bf3170cb25f --- /dev/null +++ b/gas/testsuite/gas/cris/rd-brokw-pic-3.d @@ -0,0 +1,187 @@ +#objdump: -dr +#as: --underscore --pic --em=criself +#source: brokw-3.s + +.*: file format .*-cris +Disassembly of section \.text: +0+ : +[ ]+0:[ ]+4002[ ]+moveq[ ]+0,\$?r0 +[ ]+2:[ ]+af0c 5700[ ]+subs\.b 87,\$?r0 +[ ]+6:[ ]+cf0d 2900[ ]+bound\.b 0x29,\$?r0 +[ ]+a:[ ]+5f05 3ff8[ ]+adds\.w \[\$?pc\+\$?r0\.w\],\$?pc +0+e : +[ ]+e:[ ]+b401[ ]+case 87: -> 1c2 +[ ]+10:[ ]+ac01[ ]+case 88: -> 1ba +[ ]+12:[ ]+a401[ ]+case 89: -> 1b2 +[ ]+14:[ ]+9c01[ ]+case 90: -> 1aa +[ ]+16:[ ]+9401[ ]+case 91: -> 1a2 +[ ]+18:[ ]+8c01[ ]+case 92: -> 19a +[ ]+1a:[ ]+8401[ ]+case 93: -> 192 +[ ]+1c:[ ]+7c01[ ]+case 94: -> 18a +[ ]+1e:[ ]+7401[ ]+case 95: -> 182 +[ ]+20:[ ]+6c01[ ]+case 96: -> 17a +[ ]+22:[ ]+6401[ ]+case 97: -> 172 +[ ]+24:[ ]+5c01[ ]+case 98: -> 16a +[ ]+26:[ ]+5401[ ]+case 99: -> 162 +[ ]+28:[ ]+4c01[ ]+case 100: -> 15a +[ ]+2a:[ ]+4401[ ]+case 101: -> 152 +[ ]+2c:[ ]+3c01[ ]+case 102: -> 14a +[ ]+2e:[ ]+3401[ ]+case 103: -> 142 +[ ]+30:[ ]+2c01[ ]+case 104: -> 13a +[ ]+32:[ ]+2401[ ]+case 105: -> 132 +[ ]+34:[ ]+1c01[ ]+case 106: -> 12a +[ ]+36:[ ]+1401[ ]+case 107: -> 122 +[ ]+38:[ ]+0c01[ ]+case 108: -> 11a +[ ]+3a:[ ]+0401[ ]+case 109: -> 112 +[ ]+3c:[ ]+fc00[ ]+case 110: -> 10a +[ ]+3e:[ ]+f400[ ]+case 111: -> 102 +[ ]+40:[ ]+ec00[ ]+case 112: -> fa +[ ]+42:[ ]+e400[ ]+case 113: -> f2 +[ ]+44:[ ]+dc00[ ]+case 114: -> ea +[ ]+46:[ ]+d400[ ]+case 115: -> e2 +[ ]+48:[ ]+cc00[ ]+case 116: -> da +[ ]+4a:[ ]+c400[ ]+case 117: -> d2 +[ ]+4c:[ ]+bc00[ ]+case 118: -> ca +[ ]+4e:[ ]+b400[ ]+case 119: -> c2 +[ ]+50:[ ]+ac00[ ]+case 120: -> ba +[ ]+52:[ ]+a400[ ]+case 121: -> b2 +[ ]+54:[ ]+9c00[ ]+case 122: -> aa +[ ]+56:[ ]+9400[ ]+case 123: -> a2 +[ ]+58:[ ]+8c00[ ]+case 124: -> 9a +[ ]+5a:[ ]+8400[ ]+case 125: -> 92 +[ ]+5c:[ ]+7c00[ ]+case 126: -> 8a +[ ]+5e:[ ]+7400[ ]+case 127: -> 82 +[ ]+60:[ ]+6c00[ ]+case 128/default: -> 7a +^[ ]+\.\.\. +[ ]+72:[ ]+4102[ ]+moveq[ ]+1,\$?r0 +[ ]+74:[ ]+ffed 5201[ ]+ba 1ca +[ ]+78:[ ]+0f05[ ]+nop[ ]* +[ ]+7a:[ ]+6ffd 9e81 0000 3f0e[ ]+move \[pc=pc\+819e \],p0 +[ ]+82:[ ]+6ffd 9481 0000 3f0e[ ]+move \[pc=pc\+8194 \],p0 +[ ]+8a:[ ]+6ffd 8a81 0000 3f0e[ ]+move \[pc=pc\+818a \],p0 +[ ]+92:[ ]+6ffd 8081 0000 3f0e[ ]+move \[pc=pc\+8180 \],p0 +[ ]+9a:[ ]+6ffd 7681 0000 3f0e[ ]+move \[pc=pc\+8176 \],p0 +[ ]+a2:[ ]+6ffd 6c81 0000 3f0e[ ]+move \[pc=pc\+816c \],p0 +[ ]+aa:[ ]+6ffd 6281 0000 3f0e[ ]+move \[pc=pc\+8162 \],p0 +[ ]+b2:[ ]+6ffd 5881 0000 3f0e[ ]+move \[pc=pc\+8158 \],p0 +[ ]+ba:[ ]+6ffd 4e81 0000 3f0e[ ]+move \[pc=pc\+814e \],p0 +[ ]+c2:[ ]+6ffd 4481 0000 3f0e[ ]+move \[pc=pc\+8144 \],p0 +[ ]+ca:[ ]+6ffd 3a81 0000 3f0e[ ]+move \[pc=pc\+813a \],p0 +[ ]+d2:[ ]+6ffd 3081 0000 3f0e[ ]+move \[pc=pc\+8130 \],p0 +[ ]+da:[ ]+6ffd 2681 0000 3f0e[ ]+move \[pc=pc\+8126 \],p0 +[ ]+e2:[ ]+6ffd 1c81 0000 3f0e[ ]+move \[pc=pc\+811c \],p0 +[ ]+ea:[ ]+6ffd 1281 0000 3f0e[ ]+move \[pc=pc\+8112 \],p0 +[ ]+f2:[ ]+6ffd 0881 0000 3f0e[ ]+move \[pc=pc\+8108 \],p0 +[ ]+fa:[ ]+6ffd fe80 0000 3f0e[ ]+move \[pc=pc\+80fe \],p0 +[ ]+102:[ ]+6ffd f480 0000 3f0e[ ]+move \[pc=pc\+80f4 \],p0 +[ ]+10a:[ ]+6ffd ea80 0000 3f0e[ ]+move \[pc=pc\+80ea \],p0 +[ ]+112:[ ]+6ffd e080 0000 3f0e[ ]+move \[pc=pc\+80e0 \],p0 +[ ]+11a:[ ]+6ffd d680 0000 3f0e[ ]+move \[pc=pc\+80d6 \],p0 +[ ]+122:[ ]+6ffd cc80 0000 3f0e[ ]+move \[pc=pc\+80cc \],p0 +[ ]+12a:[ ]+6ffd c280 0000 3f0e[ ]+move \[pc=pc\+80c2 \],p0 +[ ]+132:[ ]+6ffd b880 0000 3f0e[ ]+move \[pc=pc\+80b8 \],p0 +[ ]+13a:[ ]+6ffd ae80 0000 3f0e[ ]+move \[pc=pc\+80ae \],p0 +[ ]+142:[ ]+6ffd a480 0000 3f0e[ ]+move \[pc=pc\+80a4 \],p0 +[ ]+14a:[ ]+6ffd 9a80 0000 3f0e[ ]+move \[pc=pc\+809a \],p0 +[ ]+152:[ ]+6ffd 9080 0000 3f0e[ ]+move \[pc=pc\+8090 \],p0 +[ ]+15a:[ ]+6ffd 8680 0000 3f0e[ ]+move \[pc=pc\+8086 \],p0 +[ ]+162:[ ]+6ffd 7c80 0000 3f0e[ ]+move \[pc=pc\+807c \],p0 +[ ]+16a:[ ]+6ffd 7280 0000 3f0e[ ]+move \[pc=pc\+8072 \],p0 +[ ]+172:[ ]+6ffd 6880 0000 3f0e[ ]+move \[pc=pc\+8068 \],p0 +[ ]+17a:[ ]+6ffd 5e80 0000 3f0e[ ]+move \[pc=pc\+805e \],p0 +[ ]+182:[ ]+6ffd 5480 0000 3f0e[ ]+move \[pc=pc\+8054 \],p0 +[ ]+18a:[ ]+6ffd 4a80 0000 3f0e[ ]+move \[pc=pc\+804a \],p0 +[ ]+192:[ ]+6ffd 4080 0000 3f0e[ ]+move \[pc=pc\+8040 \],p0 +[ ]+19a:[ ]+6ffd 3680 0000 3f0e[ ]+move \[pc=pc\+8036 \],p0 +[ ]+1a2:[ ]+6ffd 2c80 0000 3f0e[ ]+move \[pc=pc\+802c \],p0 +[ ]+1aa:[ ]+6ffd 2280 0000 3f0e[ ]+move \[pc=pc\+8022 \],p0 +[ ]+1b2:[ ]+6ffd 1880 0000 3f0e[ ]+move \[pc=pc\+8018 \],p0 +[ ]+1ba:[ ]+6ffd 0e80 0000 3f0e[ ]+move \[pc=pc\+800e \],p0 +[ ]+1c2:[ ]+6ffd 0480 0000 3f0e[ ]+move \[pc=pc\+8004 \],p0 +0+1ca : +[ ]+1ca:[ ]+4202[ ]+moveq[ ]+2,\$?r0 +^[ ]+\.\.\. +0+81cc : +[ ]+81cc:[ ]+7d02[ ]+moveq -3,\$?r0 +0+81ce : +[ ]+81ce:[ ]+4302[ ]+moveq 3,\$?r0 +0+81d0 : +[ ]+81d0:[ ]+4402[ ]+moveq 4,\$?r0 +0+81d2 : +[ ]+81d2:[ ]+4502[ ]+moveq 5,\$?r0 +0+81d4 : +[ ]+81d4:[ ]+4602[ ]+moveq 6,\$?r0 +0+81d6 : +[ ]+81d6:[ ]+4702[ ]+moveq 7,\$?r0 +0+81d8 : +[ ]+81d8:[ ]+4802[ ]+moveq 8,\$?r0 +0+81da : +[ ]+81da:[ ]+4902[ ]+moveq 9,\$?r0 +0+81dc : +[ ]+81dc:[ ]+4a02[ ]+moveq 10,\$?r0 +0+81de : +[ ]+81de:[ ]+4b02[ ]+moveq 11,\$?r0 +0+81e0 : +[ ]+81e0:[ ]+4c02[ ]+moveq 12,\$?r0 +0+81e2 : +[ ]+81e2:[ ]+4d02[ ]+moveq 13,\$?r0 +0+81e4 : +[ ]+81e4:[ ]+4e02[ ]+moveq 14,\$?r0 +0+81e6 : +[ ]+81e6:[ ]+4f02[ ]+moveq 15,\$?r0 +0+81e8 : +[ ]+81e8:[ ]+5002[ ]+moveq 16,\$?r0 +0+81ea : +[ ]+81ea:[ ]+5102[ ]+moveq 17,\$?r0 +0+81ec : +[ ]+81ec:[ ]+5202[ ]+moveq 18,\$?r0 +0+81ee : +[ ]+81ee:[ ]+5302[ ]+moveq 19,\$?r0 +0+81f0 : +[ ]+81f0:[ ]+5402[ ]+moveq 20,\$?r0 +0+81f2 : +[ ]+81f2:[ ]+5502[ ]+moveq 21,\$?r0 +0+81f4 : +[ ]+81f4:[ ]+5602[ ]+moveq 22,\$?r0 +0+81f6 : +[ ]+81f6:[ ]+5702[ ]+moveq 23,\$?r0 +0+81f8 : +[ ]+81f8:[ ]+5802[ ]+moveq 24,\$?r0 +0+81fa : +[ ]+81fa:[ ]+5902[ ]+moveq 25,\$?r0 +0+81fc : +[ ]+81fc:[ ]+5a02[ ]+moveq 26,\$?r0 +0+81fe : +[ ]+81fe:[ ]+5b02[ ]+moveq 27,\$?r0 +0+8200 : +[ ]+8200:[ ]+5c02[ ]+moveq 28,\$?r0 +0+8202 : +[ ]+8202:[ ]+5d02[ ]+moveq 29,\$?r0 +0+8204 : +[ ]+8204:[ ]+5e02[ ]+moveq 30,\$?r0 +0+8206 : +[ ]+8206:[ ]+5f02[ ]+moveq 31,\$?r0 +0+8208 : +[ ]+8208:[ ]+6002[ ]+moveq -32,\$?r0 +0+820a : +[ ]+820a:[ ]+6102[ ]+moveq -31,\$?r0 +0+820c : +[ ]+820c:[ ]+6202[ ]+moveq -30,\$?r0 +0+820e : +[ ]+820e:[ ]+6302[ ]+moveq -29,\$?r0 +0+8210 : +[ ]+8210:[ ]+6402[ ]+moveq -28,\$?r0 +0+8212 : +[ ]+8212:[ ]+6502[ ]+moveq -27,\$?r0 +0+8214 : +[ ]+8214:[ ]+6602[ ]+moveq -26,\$?r0 +0+8216 : +[ ]+8216:[ ]+6702[ ]+moveq -25,\$?r0 +0+8218 : +[ ]+8218:[ ]+6802[ ]+moveq -24,\$?r0 +0+821a : +[ ]+821a:[ ]+6902[ ]+moveq -23,\$?r0 +0+821c : +[ ]+821c:[ ]+6a02[ ]+moveq -22,\$?r0 +0+821e : +[ ]+821e:[ ]+6b02[ ]+moveq -21,\$?r0 diff --git a/gas/testsuite/gas/cris/rd-fragtest-pic.d b/gas/testsuite/gas/cris/rd-fragtest-pic.d new file mode 100644 index 00000000000..0e4c2f16a39 --- /dev/null +++ b/gas/testsuite/gas/cris/rd-fragtest-pic.d @@ -0,0 +1,66 @@ +#objdump: -dr +#as: --pic +#source: fragtest.s + +.*: file format .*-cris +Disassembly of section \.text: +0+ : +[ ]+0:[ ]+fee0[ ]+ba[ ]+(0x[0]?100|100 ) +[ ]+2:[ ]+0f05[ ]+nop[ ]* +^[ ]+\.\.\. +[ ]+80:[ ]+e2e0[ ]+ba[ ]+(0x[0]?164|164 ) +^[ ]+82:[ ]+0f05[ ]+nop[ ]* +^[ ]+\.\.\. +0+100 : +^[ ]+\.\.\. +0+164 : +[ ]+164:[ ]+ffed 0001[ ]+ba (0x[0]?268|268 ) +[ ]+168:[ ]+0f05[ ]+nop[ ]* +^[ ]+\.\.\. +[ ]+1e6:[ ]+ffed 6604[ ]+ba (0x[0]?650|650 ) +[ ]+1ea:[ ]+0f05[ ]+nop[ ]* +^[ ]+\.\.\. +0+268 : +^[ ]+\.\.\. +0+650 : +[ ]+650:[ ]+ffed 0a01[ ]+ba (0x[0]?75e|75e ) +[ ]+654:[ ]+0f05[ ]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