* gas/cris/rd-bcnst-pic.d, gas/cris/rd-branch-pic.d,
authorHans-Peter Nilsson <hp@axis.com>
Wed, 7 Dec 2005 06:43:17 +0000 (06:43 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Wed, 7 Dec 2005 06:43:17 +0000 (06:43 +0000)
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.

gas/testsuite/ChangeLog
gas/testsuite/gas/cris/rd-bcnst-pic.d [new file with mode: 0644]
gas/testsuite/gas/cris/rd-branch-pic.d [new file with mode: 0644]
gas/testsuite/gas/cris/rd-brokw-pic-1.d [new file with mode: 0644]
gas/testsuite/gas/cris/rd-brokw-pic-2.d [new file with mode: 0644]
gas/testsuite/gas/cris/rd-brokw-pic-3.d [new file with mode: 0644]
gas/testsuite/gas/cris/rd-fragtest-pic.d [new file with mode: 0644]

index 43f058811770632de3dd551be3dbac18332d2d74..11d4489f6eff93fade6a9bc76767c75b0f4f0428 100644 (file)
@@ -1,3 +1,9 @@
+2005-12-07  Hans-Peter Nilsson  <hp@axis.com>
+
+       * 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  <hongjiu.lu@intel.com>
 
        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 (file)
index 0000000..365a6a4
--- /dev/null
@@ -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 (file)
index 0000000..4c6b59a
--- /dev/null
@@ -0,0 +1,450 @@
+#objdump: -dr
+#as: --pic --underscore --em=criself
+#source: branch.s
+
+.*:     file format .*-cris
+
+Disassembly of section \.text:
+0+ <start_original>:
+[       ]+0:[   ]+0f05[        ]+nop[ ]*
+0+2 <startm32>:
+[       ]+2:[   ]+0f05[        ]+nop[ ]*
+^[     ]+\.\.\.
+0+7e6a <startm16>:
+[       ]+7e6a:[        ]+0f05[        ]+nop[ ]*
+^[     ]+\.\.\.
+0+7f2e <start>:
+[       ]+7f2e:[        ]+0f05[        ]+nop[ ]*
+[       ]+7f30:[        ]+fde0[        ]+ba[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f32:[        ]+fb00[        ]+bcc[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f34:[        ]+f910[        ]+bcs[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f36:[        ]+f730[        ]+beq[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f38:[        ]+f5f0[        ]+bwf[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f3a:[        ]+f3f0[        ]+bwf[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f3c:[        ]+f1f0[        ]+bwf[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f3e:[        ]+efa0[        ]+bge[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f40:[        ]+edc0[        ]+bgt[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f42:[        ]+eb90[        ]+bhi[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f44:[        ]+e900[        ]+bcc[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f46:[        ]+e7d0[        ]+ble[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f48:[        ]+e510[        ]+bcs[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f4a:[        ]+e380[        ]+bls[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f4c:[        ]+e1b0[        ]+blt[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f4e:[        ]+df70[        ]+bmi[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f50:[        ]+dd20[        ]+bne[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f52:[        ]+db60[        ]+bpl[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f54:[        ]+d940[        ]+bvc[ ]+(0x7f2e|7f2e <start>)
+[       ]+7f56:[        ]+d750[        ]+bvs[ ]+(0x7f2e|7f2e <start>)
+0+7f58 <start2>:
+[       ]+7f58:[        ]+0f05[        ]+nop[ ]*
+[       ]+7f5a:[        ]+0fe0[        ]+ba[ ]+(0x7e6a|7e6a <startm16>)
+[       ]+7f5c:[        ]+0d00[        ]+bcc[ ]+(0x7e6a|7e6a <startm16>)
+[       ]+7f5e:[        ]+0b10[        ]+bcs[ ]+(0x7e6a|7e6a <startm16>)
+[       ]+7f60:[        ]+0930[        ]+beq[ ]+(0x7e6a|7e6a <startm16>)
+[       ]+7f62:[        ]+07f0[        ]+bwf[ ]+(0x7e6a|7e6a <startm16>)
+[       ]+7f64:[        ]+05f0[        ]+bwf[ ]+(0x7e6a|7e6a <startm16>)
+[       ]+7f66:[        ]+03f0[        ]+bwf[ ]+(0x7e6a|7e6a <startm16>)
+[       ]+7f68:[        ]+01a0[        ]+bge[ ]+(0x7e6a|7e6a <startm16>)
+[       ]+7f6a:[        ]+ffcd fcfe[   ]+bgt (0x7e6a|7e6a <startm16>)
+[       ]+7f6e:[        ]+ff9d f8fe[   ]+bhi (0x7e6a|7e6a <startm16>)
+[       ]+7f72:[        ]+ff0d f4fe[   ]+bhs (0x7e6a|7e6a <startm16>)
+[       ]+7f76:[        ]+ffdd f0fe[   ]+ble (0x7e6a|7e6a <startm16>)
+[       ]+7f7a:[        ]+ff1d ecfe[   ]+blo (0x7e6a|7e6a <startm16>)
+[       ]+7f7e:[        ]+ff8d e8fe[   ]+bls (0x7e6a|7e6a <startm16>)
+[       ]+7f82:[        ]+ffbd e4fe[   ]+blt (0x7e6a|7e6a <startm16>)
+[       ]+7f86:[        ]+ff7d e0fe[   ]+bmi (0x7e6a|7e6a <startm16>)
+[       ]+7f8a:[        ]+ff2d dcfe[   ]+bne (0x7e6a|7e6a <startm16>)
+[       ]+7f8e:[        ]+ff6d d8fe[   ]+bpl (0x7e6a|7e6a <startm16>)
+[       ]+7f92:[        ]+ff4d d4fe[   ]+bvc (0x7e6a|7e6a <startm16>)
+[       ]+7f96:[        ]+ff5d d0fe[   ]+bvs (0x7e6a|7e6a <startm16>)
+0+7f9a <start3>:
+[       ]+7f9a:[        ]+0f05[        ]+nop[ ]*
+[       ]+7f9c:[        ]+ffed cafe[   ]+ba (0x7e6a|7e6a <startm16>)
+[       ]+7fa0:[        ]+ff0d c6fe[   ]+bhs (0x7e6a|7e6a <startm16>)
+[       ]+7fa4:[        ]+ff1d c2fe[   ]+blo (0x7e6a|7e6a <startm16>)
+[       ]+7fa8:[        ]+ff3d befe[   ]+beq (0x7e6a|7e6a <startm16>)
+[       ]+7fac:[        ]+fffd bafe[   ]+bwf (0x7e6a|7e6a <startm16>)
+[       ]+7fb0:[        ]+fffd b6fe[   ]+bwf (0x7e6a|7e6a <startm16>)
+[       ]+7fb4:[        ]+fffd b2fe[   ]+bwf (0x7e6a|7e6a <startm16>)
+[       ]+7fb8:[        ]+ffad aefe[   ]+bge (0x7e6a|7e6a <startm16>)
+[       ]+7fbc:[        ]+ffcd aafe[   ]+bgt (0x7e6a|7e6a <startm16>)
+[       ]+7fc0:[        ]+ff9d a6fe[   ]+bhi (0x7e6a|7e6a <startm16>)
+[       ]+7fc4:[        ]+ff0d a2fe[   ]+bhs (0x7e6a|7e6a <startm16>)
+[       ]+7fc8:[        ]+ffdd 9efe[   ]+ble (0x7e6a|7e6a <startm16>)
+[       ]+7fcc:[        ]+ff1d 9afe[   ]+blo (0x7e6a|7e6a <startm16>)
+[       ]+7fd0:[        ]+ff8d 96fe[   ]+bls (0x7e6a|7e6a <startm16>)
+[       ]+7fd4:[        ]+ffbd 92fe[   ]+blt (0x7e6a|7e6a <startm16>)
+[       ]+7fd8:[        ]+ff7d 8efe[   ]+bmi (0x7e6a|7e6a <startm16>)
+[       ]+7fdc:[        ]+ff2d 8afe[   ]+bne (0x7e6a|7e6a <startm16>)
+[       ]+7fe0:[        ]+ff6d 86fe[   ]+bpl (0x7e6a|7e6a <startm16>)
+[       ]+7fe4:[        ]+ff4d 82fe[   ]+bvc (0x7e6a|7e6a <startm16>)
+[       ]+7fe8:[        ]+ff5d 7efe[   ]+bvs (0x7e6a|7e6a <startm16>)
+0+7fec <start4>:
+[       ]+7fec:[        ]+0f05[        ]+nop[ ]*
+[       ]+7fee:[        ]+ffed 1080[   ]+ba (0x2|2 <startm32>)
+[       ]+7ff2:[        ]+ff0d 0c80[   ]+bhs (0x2|2 <startm32>)
+[       ]+7ff6:[        ]+ff1d 0880[   ]+blo (0x2|2 <startm32>)
+[       ]+7ffa:[        ]+ff3d 0480[   ]+beq (0x2|2 <startm32>)
+[       ]+7ffe:[        ]+fffd 0080[   ]+bwf (0x2|2 <startm32>)
+[      ]+8002:[        ]+0ae0[         ]+ba 800e <start4\+0x22>
+[      ]+8004:[        ]+0f05[         ]+nop[  ]*
+[      ]+8006:[        ]+6ffd f67f ffff 3f0e[  ]+move \[pc=pc\+ffff7ff6 <endp32\+0xfffe7c28>\],p0
+[      ]+800e:[        ]+f7f0[         ]+bwf 8006 <start4\+0x1a>
+[      ]+8010:[        ]+0ae0[         ]+ba 801c <start4\+0x30>
+[      ]+8012:[        ]+0f05[         ]+nop[  ]*
+[      ]+8014:[        ]+6ffd e87f ffff 3f0e[  ]+move \[pc=pc\+ffff7fe8 <endp32\+0xfffe7c1a>\],p0
+[      ]+801c:[        ]+f7f0[         ]+bwf 8014 <start4\+0x28>
+[      ]+801e:[        ]+0ae0[         ]+ba 802a <start4\+0x3e>
+[      ]+8020:[        ]+0f05[         ]+nop[  ]*
+[      ]+8022:[        ]+6ffd da7f ffff 3f0e[  ]+move \[pc=pc\+ffff7fda <endp32\+0xfffe7c0c>\],p0
+[      ]+802a:[        ]+f7a0[         ]+bge 8022 <start4\+0x36>
+[      ]+802c:[        ]+0ae0[         ]+ba 8038 <start4\+0x4c>
+[      ]+802e:[        ]+0f05[         ]+nop[  ]*
+[      ]+8030:[        ]+6ffd cc7f ffff 3f0e[  ]+move \[pc=pc\+ffff7fcc <endp32\+0xfffe7bfe>\],p0
+[      ]+8038:[        ]+f7c0[         ]+bgt 8030 <start4\+0x44>
+[      ]+803a:[        ]+0ae0[         ]+ba 8046 <start4\+0x5a>
+[      ]+803c:[        ]+0f05[         ]+nop[  ]*
+[      ]+803e:[        ]+6ffd be7f ffff 3f0e[  ]+move \[pc=pc\+ffff7fbe <endp32\+0xfffe7bf0>\],p0
+[      ]+8046:[        ]+f790[         ]+bhi 803e <start4\+0x52>
+[      ]+8048:[        ]+0ae0[         ]+ba 8054 <start4\+0x68>
+[      ]+804a:[        ]+0f05[         ]+nop[  ]*
+[      ]+804c:[        ]+6ffd b07f ffff 3f0e[  ]+move \[pc=pc\+ffff7fb0 <endp32\+0xfffe7be2>\],p0
+[      ]+8054:[        ]+f700[         ]+bcc 804c <start4\+0x60>
+[      ]+8056:[        ]+0ae0[         ]+ba 8062 <start4\+0x76>
+[      ]+8058:[        ]+0f05[         ]+nop[  ]*
+[      ]+805a:[        ]+6ffd a27f ffff 3f0e[  ]+move \[pc=pc\+ffff7fa2 <endp32\+0xfffe7bd4>\],p0
+[      ]+8062:[        ]+f7d0[         ]+ble 805a <start4\+0x6e>
+[      ]+8064:[        ]+0ae0[         ]+ba 8070 <start4\+0x84>
+[      ]+8066:[        ]+0f05[         ]+nop[  ]*
+[      ]+8068:[        ]+6ffd 947f ffff 3f0e[  ]+move \[pc=pc\+ffff7f94 <endp32\+0xfffe7bc6>\],p0
+[      ]+8070:[        ]+f710[         ]+bcs 8068 <start4\+0x7c>
+[      ]+8072:[        ]+0ae0[         ]+ba 807e <start4\+0x92>
+[      ]+8074:[        ]+0f05[         ]+nop[  ]*
+[      ]+8076:[        ]+6ffd 867f ffff 3f0e[  ]+move \[pc=pc\+ffff7f86 <endp32\+0xfffe7bb8>\],p0
+[      ]+807e:[        ]+f780[         ]+bls 8076 <start4\+0x8a>
+[      ]+8080:[        ]+0ae0[         ]+ba 808c <start4\+0xa0>
+[      ]+8082:[        ]+0f05[         ]+nop[  ]*
+[      ]+8084:[        ]+6ffd 787f ffff 3f0e[  ]+move \[pc=pc\+ffff7f78 <endp32\+0xfffe7baa>\],p0
+[      ]+808c:[        ]+f7b0[         ]+blt 8084 <start4\+0x98>
+[      ]+808e:[        ]+0ae0[         ]+ba 809a <start4\+0xae>
+[      ]+8090:[        ]+0f05[         ]+nop[  ]*
+[      ]+8092:[        ]+6ffd 6a7f ffff 3f0e[  ]+move \[pc=pc\+ffff7f6a <endp32\+0xfffe7b9c>\],p0
+[      ]+809a:[        ]+f770[         ]+bmi 8092 <start4\+0xa6>
+[      ]+809c:[        ]+0ae0[         ]+ba 80a8 <start4\+0xbc>
+[      ]+809e:[        ]+0f05[         ]+nop[  ]*
+[      ]+80a0:[        ]+6ffd 5c7f ffff 3f0e[  ]+move \[pc=pc\+ffff7f5c <endp32\+0xfffe7b8e>\],p0
+[      ]+80a8:[        ]+f720[         ]+bne 80a0 <start4\+0xb4>
+[      ]+80aa:[        ]+0ae0[         ]+ba 80b6 <start4\+0xca>
+[      ]+80ac:[        ]+0f05[         ]+nop[  ]*
+[      ]+80ae:[        ]+6ffd 4e7f ffff 3f0e[  ]+move \[pc=pc\+ffff7f4e <endp32\+0xfffe7b80>\],p0
+[      ]+80b6:[        ]+f760[         ]+bpl 80ae <start4\+0xc2>
+[      ]+80b8:[        ]+0ae0[         ]+ba 80c4 <start4\+0xd8>
+[      ]+80ba:[        ]+0f05[         ]+nop[  ]*
+[      ]+80bc:[        ]+6ffd 407f ffff 3f0e[  ]+move \[pc=pc\+ffff7f40 <endp32\+0xfffe7b72>\],p0
+[      ]+80c4:[        ]+f740[         ]+bvc 80bc <start4\+0xd0>
+[      ]+80c6:[        ]+0ae0[         ]+ba 80d2 <start4\+0xe6>
+[      ]+80c8:[        ]+0f05[         ]+nop[  ]*
+[      ]+80ca:[        ]+6ffd 327f ffff 3f0e[  ]+move \[pc=pc\+ffff7f32 <endp32\+0xfffe7b64>\],p0
+[      ]+80d2:[        ]+f750[         ]+bvs 80ca <start4\+0xde>
+0+80d4 <start5>:
+[      ]+80d4:[        ]+0f05[         ]+nop[  ]*
+[      ]+80d6:[        ]+0ae0[         ]+ba 80e2 <start5\+0xe>
+[      ]+80d8:[        ]+0f05[         ]+nop[  ]*
+[      ]+80da:[        ]+6ffd 227f ffff 3f0e[  ]+move \[pc=pc\+ffff7f22 <endp32\+0xfffe7b54>\],p0
+[      ]+80e2:[        ]+f7e0[         ]+ba 80da <start5\+0x6>
+[      ]+80e4:[        ]+0ae0[         ]+ba 80f0 <start5\+0x1c>
+[      ]+80e6:[        ]+0f05[         ]+nop[  ]*
+[      ]+80e8:[        ]+6ffd 147f ffff 3f0e[  ]+move \[pc=pc\+ffff7f14 <endp32\+0xfffe7b46>\],p0
+[      ]+80f0:[        ]+f700[         ]+bcc 80e8 <start5\+0x14>
+[      ]+80f2:[        ]+0ae0[         ]+ba 80fe <start5\+0x2a>
+[      ]+80f4:[        ]+0f05[         ]+nop[  ]*
+[      ]+80f6:[        ]+6ffd 067f ffff 3f0e[  ]+move \[pc=pc\+ffff7f06 <endp32\+0xfffe7b38>\],p0
+[      ]+80fe:[        ]+f710[         ]+bcs 80f6 <start5\+0x22>
+[      ]+8100:[        ]+0ae0[         ]+ba 810c <start5\+0x38>
+[      ]+8102:[        ]+0f05[         ]+nop[  ]*
+[      ]+8104:[        ]+6ffd f87e ffff 3f0e[  ]+move \[pc=pc\+ffff7ef8 <endp32\+0xfffe7b2a>\],p0
+[      ]+810c:[        ]+f730[         ]+beq 8104 <start5\+0x30>
+[      ]+810e:[        ]+0ae0[         ]+ba 811a <start5\+0x46>
+[      ]+8110:[        ]+0f05[         ]+nop[  ]*
+[      ]+8112:[        ]+6ffd ea7e ffff 3f0e[  ]+move \[pc=pc\+ffff7eea <endp32\+0xfffe7b1c>\],p0
+[      ]+811a:[        ]+f7f0[         ]+bwf 8112 <start5\+0x3e>
+[      ]+811c:[        ]+0ae0[         ]+ba 8128 <start5\+0x54>
+[      ]+811e:[        ]+0f05[         ]+nop[  ]*
+[      ]+8120:[        ]+6ffd dc7e ffff 3f0e[  ]+move \[pc=pc\+ffff7edc <endp32\+0xfffe7b0e>\],p0
+[      ]+8128:[        ]+f7f0[         ]+bwf 8120 <start5\+0x4c>
+[      ]+812a:[        ]+0ae0[         ]+ba 8136 <start5\+0x62>
+[      ]+812c:[        ]+0f05[         ]+nop[  ]*
+[      ]+812e:[        ]+6ffd ce7e ffff 3f0e[  ]+move \[pc=pc\+ffff7ece <endp32\+0xfffe7b00>\],p0
+[      ]+8136:[        ]+f7f0[         ]+bwf 812e <start5\+0x5a>
+[      ]+8138:[        ]+0ae0[         ]+ba 8144 <start5\+0x70>
+[      ]+813a:[        ]+0f05[         ]+nop[  ]*
+[      ]+813c:[        ]+6ffd c07e ffff 3f0e[  ]+move \[pc=pc\+ffff7ec0 <endp32\+0xfffe7af2>\],p0
+[      ]+8144:[        ]+f7a0[         ]+bge 813c <start5\+0x68>
+[      ]+8146:[        ]+0ae0[         ]+ba 8152 <start5\+0x7e>
+[      ]+8148:[        ]+0f05[         ]+nop[  ]*
+[      ]+814a:[        ]+6ffd b27e ffff 3f0e[  ]+move \[pc=pc\+ffff7eb2 <endp32\+0xfffe7ae4>\],p0
+[      ]+8152:[        ]+f7c0[         ]+bgt 814a <start5\+0x76>
+[      ]+8154:[        ]+0ae0[         ]+ba 8160 <start5\+0x8c>
+[      ]+8156:[        ]+0f05[         ]+nop[  ]*
+[      ]+8158:[        ]+6ffd a47e ffff 3f0e[  ]+move \[pc=pc\+ffff7ea4 <endp32\+0xfffe7ad6>\],p0
+[      ]+8160:[        ]+f790[         ]+bhi 8158 <start5\+0x84>
+[      ]+8162:[        ]+0ae0[         ]+ba 816e <start5\+0x9a>
+[      ]+8164:[        ]+0f05[         ]+nop[  ]*
+[      ]+8166:[        ]+6ffd 967e ffff 3f0e[  ]+move \[pc=pc\+ffff7e96 <endp32\+0xfffe7ac8>\],p0
+[      ]+816e:[        ]+f700[         ]+bcc 8166 <start5\+0x92>
+[      ]+8170:[        ]+0ae0[         ]+ba 817c <start5\+0xa8>
+[      ]+8172:[        ]+0f05[         ]+nop[  ]*
+[      ]+8174:[        ]+6ffd 887e ffff 3f0e[  ]+move \[pc=pc\+ffff7e88 <endp32\+0xfffe7aba>\],p0
+[      ]+817c:[        ]+f7d0[         ]+ble 8174 <start5\+0xa0>
+[      ]+817e:[        ]+0ae0[         ]+ba 818a <start5\+0xb6>
+[      ]+8180:[        ]+0f05[         ]+nop[  ]*
+[      ]+8182:[        ]+6ffd 7a7e ffff 3f0e[  ]+move \[pc=pc\+ffff7e7a <endp32\+0xfffe7aac>\],p0
+[      ]+818a:[        ]+f710[         ]+bcs 8182 <start5\+0xae>
+[      ]+818c:[        ]+0ae0[         ]+ba 8198 <start5\+0xc4>
+[      ]+818e:[        ]+0f05[         ]+nop[  ]*
+[      ]+8190:[        ]+6ffd 6c7e ffff 3f0e[  ]+move \[pc=pc\+ffff7e6c <endp32\+0xfffe7a9e>\],p0
+[      ]+8198:[        ]+f780[         ]+bls 8190 <start5\+0xbc>
+[      ]+819a:[        ]+0ae0[         ]+ba 81a6 <start5\+0xd2>
+[      ]+819c:[        ]+0f05[         ]+nop[  ]*
+[      ]+819e:[        ]+6ffd 5e7e ffff 3f0e[  ]+move \[pc=pc\+ffff7e5e <endp32\+0xfffe7a90>\],p0
+[      ]+81a6:[        ]+f7b0[         ]+blt 819e <start5\+0xca>
+[      ]+81a8:[        ]+0ae0[         ]+ba 81b4 <start5\+0xe0>
+[      ]+81aa:[        ]+0f05[         ]+nop[  ]*
+[      ]+81ac:[        ]+6ffd 507e ffff 3f0e[  ]+move \[pc=pc\+ffff7e50 <endp32\+0xfffe7a82>\],p0
+[      ]+81b4:[        ]+f770[         ]+bmi 81ac <start5\+0xd8>
+[      ]+81b6:[        ]+0ae0[         ]+ba 81c2 <start5\+0xee>
+[      ]+81b8:[        ]+0f05[         ]+nop[  ]*
+[      ]+81ba:[        ]+6ffd 427e ffff 3f0e[  ]+move \[pc=pc\+ffff7e42 <endp32\+0xfffe7a74>\],p0
+[      ]+81c2:[        ]+f720[         ]+bne 81ba <start5\+0xe6>
+[      ]+81c4:[        ]+0ae0[         ]+ba 81d0 <start5\+0xfc>
+[      ]+81c6:[        ]+0f05[         ]+nop[  ]*
+[      ]+81c8:[        ]+6ffd 347e ffff 3f0e[  ]+move \[pc=pc\+ffff7e34 <endp32\+0xfffe7a66>\],p0
+[      ]+81d0:[        ]+f760[         ]+bpl 81c8 <start5\+0xf4>
+[      ]+81d2:[        ]+0ae0[         ]+ba 81de <start5\+0x10a>
+[      ]+81d4:[        ]+0f05[         ]+nop[  ]*
+[      ]+81d6:[        ]+6ffd 267e ffff 3f0e[  ]+move \[pc=pc\+ffff7e26 <endp32\+0xfffe7a58>\],p0
+[      ]+81de:[        ]+f740[         ]+bvc 81d6 <start5\+0x102>
+[      ]+81e0:[        ]+0ae0[         ]+ba 81ec <start5\+0x118>
+[      ]+81e2:[        ]+0f05[         ]+nop[  ]*
+[      ]+81e4:[        ]+6ffd 187e ffff 3f0e[  ]+move \[pc=pc\+ffff7e18 <endp32\+0xfffe7a4a>\],p0
+[      ]+81ec:[        ]+f750[         ]+bvs 81e4 <start5\+0x110>
+0+81ee <start6>:
+[      ]+81ee:[        ]+0f05[         ]+nop[  ]*
+[      ]+81f0:[        ]+0ae0[         ]+ba 81fc <start6\+0xe>
+[      ]+81f2:[        ]+0f05[         ]+nop[  ]*
+[      ]+81f4:[        ]+6ffd d481 0000 3f0e[  ]+move \[pc=pc\+81d4 <start5\+0x100>\],p0
+[      ]+81fc:[        ]+f7e0[         ]+ba 81f4 <start6\+0x6>
+[      ]+81fe:[        ]+0ae0[         ]+ba 820a <start6\+0x1c>
+[      ]+8200:[        ]+0f05[         ]+nop[  ]*
+[      ]+8202:[        ]+6ffd c681 0000 3f0e[  ]+move \[pc=pc\+81c6 <start5\+0xf2>\],p0
+[      ]+820a:[        ]+f700[         ]+bcc 8202 <start6\+0x14>
+[      ]+820c:[        ]+0ae0[         ]+ba 8218 <start6\+0x2a>
+[      ]+820e:[        ]+0f05[         ]+nop[  ]*
+[      ]+8210:[        ]+6ffd b881 0000 3f0e[  ]+move \[pc=pc\+81b8 <start5\+0xe4>\],p0
+[      ]+8218:[        ]+f710[         ]+bcs 8210 <start6\+0x22>
+[      ]+821a:[        ]+0ae0[         ]+ba 8226 <start6\+0x38>
+[      ]+821c:[        ]+0f05[         ]+nop[  ]*
+[      ]+821e:[        ]+6ffd aa81 0000 3f0e[  ]+move \[pc=pc\+81aa <start5\+0xd6>\],p0
+[      ]+8226:[        ]+f730[         ]+beq 821e <start6\+0x30>
+[      ]+8228:[        ]+0ae0[         ]+ba 8234 <start6\+0x46>
+[      ]+822a:[        ]+0f05[         ]+nop[  ]*
+[      ]+822c:[        ]+6ffd 9c81 0000 3f0e[  ]+move \[pc=pc\+819c <start5\+0xc8>\],p0
+[      ]+8234:[        ]+f7f0[         ]+bwf 822c <start6\+0x3e>
+[      ]+8236:[        ]+0ae0[         ]+ba 8242 <start6\+0x54>
+[      ]+8238:[        ]+0f05[         ]+nop[  ]*
+[      ]+823a:[        ]+6ffd 8e81 0000 3f0e[  ]+move \[pc=pc\+818e <start5\+0xba>\],p0
+[      ]+8242:[        ]+f7f0[         ]+bwf 823a <start6\+0x4c>
+[      ]+8244:[        ]+0ae0[         ]+ba 8250 <start6\+0x62>
+[      ]+8246:[        ]+0f05[         ]+nop[  ]*
+[      ]+8248:[        ]+6ffd 8081 0000 3f0e[  ]+move \[pc=pc\+8180 <start5\+0xac>\],p0
+[      ]+8250:[        ]+f7f0[         ]+bwf 8248 <start6\+0x5a>
+[      ]+8252:[        ]+0ae0[         ]+ba 825e <start6\+0x70>
+[      ]+8254:[        ]+0f05[         ]+nop[  ]*
+[      ]+8256:[        ]+6ffd 7281 0000 3f0e[  ]+move \[pc=pc\+8172 <start5\+0x9e>\],p0
+[      ]+825e:[        ]+f7a0[         ]+bge 8256 <start6\+0x68>
+[      ]+8260:[        ]+0ae0[         ]+ba 826c <start6\+0x7e>
+[      ]+8262:[        ]+0f05[         ]+nop[  ]*
+[      ]+8264:[        ]+6ffd 6481 0000 3f0e[  ]+move \[pc=pc\+8164 <start5\+0x90>\],p0
+[      ]+826c:[        ]+f7c0[         ]+bgt 8264 <start6\+0x76>
+[      ]+826e:[        ]+0ae0[         ]+ba 827a <start6\+0x8c>
+[      ]+8270:[        ]+0f05[         ]+nop[  ]*
+[      ]+8272:[        ]+6ffd 5681 0000 3f0e[  ]+move \[pc=pc\+8156 <start5\+0x82>\],p0
+[      ]+827a:[        ]+f790[         ]+bhi 8272 <start6\+0x84>
+[      ]+827c:[        ]+0ae0[         ]+ba 8288 <start6\+0x9a>
+[      ]+827e:[        ]+0f05[         ]+nop[  ]*
+[      ]+8280:[        ]+6ffd 4881 0000 3f0e[  ]+move \[pc=pc\+8148 <start5\+0x74>\],p0
+[      ]+8288:[        ]+f700[         ]+bcc 8280 <start6\+0x92>
+[      ]+828a:[        ]+0ae0[         ]+ba 8296 <start6\+0xa8>
+[      ]+828c:[        ]+0f05[         ]+nop[  ]*
+[      ]+828e:[        ]+6ffd 3a81 0000 3f0e[  ]+move \[pc=pc\+813a <start5\+0x66>\],p0
+[      ]+8296:[        ]+f7d0[         ]+ble 828e <start6\+0xa0>
+[      ]+8298:[        ]+0ae0[         ]+ba 82a4 <start6\+0xb6>
+[      ]+829a:[        ]+0f05[         ]+nop[  ]*
+[      ]+829c:[        ]+6ffd 2c81 0000 3f0e[  ]+move \[pc=pc\+812c <start5\+0x58>\],p0
+[      ]+82a4:[        ]+f710[         ]+bcs 829c <start6\+0xae>
+[      ]+82a6:[        ]+0ae0[         ]+ba 82b2 <start6\+0xc4>
+[      ]+82a8:[        ]+0f05[         ]+nop[  ]*
+[      ]+82aa:[        ]+6ffd 1e81 0000 3f0e[  ]+move \[pc=pc\+811e <start5\+0x4a>\],p0
+[      ]+82b2:[        ]+f780[         ]+bls 82aa <start6\+0xbc>
+[      ]+82b4:[        ]+0ae0[         ]+ba 82c0 <start6\+0xd2>
+[      ]+82b6:[        ]+0f05[         ]+nop[  ]*
+[      ]+82b8:[        ]+6ffd 1081 0000 3f0e[  ]+move \[pc=pc\+8110 <start5\+0x3c>\],p0
+[      ]+82c0:[        ]+f7b0[         ]+blt 82b8 <start6\+0xca>
+[      ]+82c2:[        ]+0ae0[         ]+ba 82ce <start6\+0xe0>
+[      ]+82c4:[        ]+0f05[         ]+nop[  ]*
+[      ]+82c6:[        ]+6ffd 0281 0000 3f0e[  ]+move \[pc=pc\+8102 <start5\+0x2e>\],p0
+[      ]+82ce:[        ]+f770[         ]+bmi 82c6 <start6\+0xd8>
+[      ]+82d0:[        ]+0ae0[         ]+ba 82dc <start6\+0xee>
+[      ]+82d2:[        ]+0f05[         ]+nop[  ]*
+[      ]+82d4:[        ]+6ffd f480 0000 3f0e[  ]+move \[pc=pc\+80f4 <start5\+0x20>\],p0
+[      ]+82dc:[        ]+f720[         ]+bne 82d4 <start6\+0xe6>
+[      ]+82de:[        ]+0ae0[         ]+ba 82ea <start6\+0xfc>
+[      ]+82e0:[        ]+0f05[         ]+nop[  ]*
+[      ]+82e2:[        ]+6ffd e680 0000 3f0e[  ]+move \[pc=pc\+80e6 <start5\+0x12>\],p0
+[      ]+82ea:[        ]+f760[         ]+bpl 82e2 <start6\+0xf4>
+[      ]+82ec:[        ]+0ae0[         ]+ba 82f8 <start6\+0x10a>
+[      ]+82ee:[        ]+0f05[         ]+nop[  ]*
+[      ]+82f0:[        ]+6ffd d880 0000 3f0e[  ]+move \[pc=pc\+80d8 <start5\+0x4>\],p0
+[      ]+82f8:[        ]+f740[         ]+bvc 82f0 <start6\+0x102>
+[      ]+82fa:[        ]+0ae0[         ]+ba 8306 <start6\+0x118>
+[      ]+82fc:[        ]+0f05[         ]+nop[  ]*
+[      ]+82fe:[        ]+6ffd ca80 0000 3f0e[  ]+move \[pc=pc\+80ca <start4\+0xde>\],p0
+[      ]+8306:[        ]+f750[         ]+bvs 82fe <start6\+0x110>
+0+8308 <start7>:
+[      ]+8308:[        ]+0f05[         ]+nop[  ]*
+[      ]+830a:[        ]+0ae0[         ]+ba 8316 <start7\+0xe>
+[      ]+830c:[        ]+0f05[         ]+nop[  ]*
+[      ]+830e:[        ]+6ffd ba80 0000 3f0e[  ]+move \[pc=pc\+80ba <start4\+0xce>\],p0
+[      ]+8316:[        ]+f7e0[         ]+ba 830e <start7\+0x6>
+[      ]+8318:[        ]+0ae0[         ]+ba 8324 <start7\+0x1c>
+[      ]+831a:[        ]+0f05[         ]+nop[  ]*
+[      ]+831c:[        ]+6ffd ac80 0000 3f0e[  ]+move \[pc=pc\+80ac <start4\+0xc0>\],p0
+[      ]+8324:[        ]+f700[         ]+bcc 831c <start7\+0x14>
+[      ]+8326:[        ]+0ae0[         ]+ba 8332 <start7\+0x2a>
+[      ]+8328:[        ]+0f05[         ]+nop[  ]*
+[      ]+832a:[        ]+6ffd 9e80 0000 3f0e[  ]+move \[pc=pc\+809e <start4\+0xb2>\],p0
+[      ]+8332:[        ]+f710[         ]+bcs 832a <start7\+0x22>
+[      ]+8334:[        ]+0ae0[         ]+ba 8340 <start7\+0x38>
+[      ]+8336:[        ]+0f05[         ]+nop[  ]*
+[      ]+8338:[        ]+6ffd 9080 0000 3f0e[  ]+move \[pc=pc\+8090 <start4\+0xa4>\],p0
+[      ]+8340:[        ]+f730[         ]+beq 8338 <start7\+0x30>
+[      ]+8342:[        ]+0ae0[         ]+ba 834e <start7\+0x46>
+[      ]+8344:[        ]+0f05[         ]+nop[  ]*
+[      ]+8346:[        ]+6ffd 8280 0000 3f0e[  ]+move \[pc=pc\+8082 <start4\+0x96>\],p0
+[      ]+834e:[        ]+f7f0[         ]+bwf 8346 <start7\+0x3e>
+[      ]+8350:[        ]+0ae0[         ]+ba 835c <start7\+0x54>
+[      ]+8352:[        ]+0f05[         ]+nop[  ]*
+[      ]+8354:[        ]+6ffd 7480 0000 3f0e[  ]+move \[pc=pc\+8074 <start4\+0x88>\],p0
+[      ]+835c:[        ]+f7f0[         ]+bwf 8354 <start7\+0x4c>
+[      ]+835e:[        ]+0ae0[         ]+ba 836a <start7\+0x62>
+[      ]+8360:[        ]+0f05[         ]+nop[  ]*
+[      ]+8362:[        ]+6ffd 6680 0000 3f0e[  ]+move \[pc=pc\+8066 <start4\+0x7a>\],p0
+[      ]+836a:[        ]+f7f0[         ]+bwf 8362 <start7\+0x5a>
+[      ]+836c:[        ]+0ae0[         ]+ba 8378 <start7\+0x70>
+[      ]+836e:[        ]+0f05[         ]+nop[  ]*
+[      ]+8370:[        ]+6ffd 5880 0000 3f0e[  ]+move \[pc=pc\+8058 <start4\+0x6c>\],p0
+[      ]+8378:[        ]+f7a0[         ]+bge 8370 <start7\+0x68>
+[      ]+837a:[        ]+0ae0[         ]+ba 8386 <start7\+0x7e>
+[      ]+837c:[        ]+0f05[         ]+nop[  ]*
+[      ]+837e:[        ]+6ffd 4a80 0000 3f0e[  ]+move \[pc=pc\+804a <start4\+0x5e>\],p0
+[      ]+8386:[        ]+f7c0[         ]+bgt 837e <start7\+0x76>
+[      ]+8388:[        ]+0ae0[         ]+ba 8394 <start7\+0x8c>
+[      ]+838a:[        ]+0f05[         ]+nop[  ]*
+[      ]+838c:[        ]+6ffd 3c80 0000 3f0e[  ]+move \[pc=pc\+803c <start4\+0x50>\],p0
+[      ]+8394:[        ]+f790[         ]+bhi 838c <start7\+0x84>
+[      ]+8396:[        ]+0ae0[         ]+ba 83a2 <start7\+0x9a>
+[      ]+8398:[        ]+0f05[         ]+nop[  ]*
+[      ]+839a:[        ]+6ffd 2e80 0000 3f0e[  ]+move \[pc=pc\+802e <start4\+0x42>\],p0
+[      ]+83a2:[        ]+f700[         ]+bcc 839a <start7\+0x92>
+[      ]+83a4:[        ]+0ae0[         ]+ba 83b0 <start7\+0xa8>
+[      ]+83a6:[        ]+0f05[         ]+nop[  ]*
+[      ]+83a8:[        ]+6ffd 2080 0000 3f0e[  ]+move \[pc=pc\+8020 <start4\+0x34>\],p0
+[      ]+83b0:[        ]+f7d0[         ]+ble 83a8 <start7\+0xa0>
+[      ]+83b2:[        ]+0ae0[         ]+ba 83be <start7\+0xb6>
+[      ]+83b4:[        ]+0f05[         ]+nop[  ]*
+[      ]+83b6:[        ]+6ffd 1280 0000 3f0e[  ]+move \[pc=pc\+8012 <start4\+0x26>\],p0
+[      ]+83be:[        ]+f710[         ]+bcs 83b6 <start7\+0xae>
+[      ]+83c0:[        ]+0ae0[         ]+ba 83cc <start7\+0xc4>
+[      ]+83c2:[        ]+0f05[         ]+nop[  ]*
+[      ]+83c4:[        ]+6ffd 0480 0000 3f0e[  ]+move \[pc=pc\+8004 <start4\+0x18>\],p0
+[      ]+83cc:[        ]+f780[         ]+bls 83c4 <start7\+0xbc>
+[      ]+83ce:[        ]+ffbd fc7f[    ]+blt 103ce <endp32>
+[      ]+83d2:[        ]+ff7d f87f[    ]+bmi 103ce <endp32>
+[      ]+83d6:[        ]+ff2d f47f[    ]+bne 103ce <endp32>
+[      ]+83da:[        ]+ff6d f07f[    ]+bpl 103ce <endp32>
+[      ]+83de:[        ]+ff4d ec7f[    ]+bvc 103ce <endp32>
+[      ]+83e2:[        ]+ff5d e87f[    ]+bvs 103ce <endp32>
+0+83e6 <start8>:
+[      ]+83e6:[        ]+0f05[         ]+nop[  ]*
+[      ]+83e8:[        ]+ffed 7a01[    ]+ba 8566 <endp16>
+[      ]+83ec:[        ]+ff0d 7601[    ]+bhs 8566 <endp16>
+[      ]+83f0:[        ]+ff1d 7201[    ]+blo 8566 <endp16>
+[      ]+83f4:[        ]+ff3d 6e01[    ]+beq 8566 <endp16>
+[      ]+83f8:[        ]+fffd 6a01[    ]+bwf 8566 <endp16>
+[      ]+83fc:[        ]+fffd 6601[    ]+bwf 8566 <endp16>
+[      ]+8400:[        ]+fffd 6201[    ]+bwf 8566 <endp16>
+[      ]+8404:[        ]+ffad 5e01[    ]+bge 8566 <endp16>
+[      ]+8408:[        ]+ffcd 5a01[    ]+bgt 8566 <endp16>
+[      ]+840c:[        ]+ff9d 5601[    ]+bhi 8566 <endp16>
+[      ]+8410:[        ]+ff0d 5201[    ]+bhs 8566 <endp16>
+[      ]+8414:[        ]+ffdd 4e01[    ]+ble 8566 <endp16>
+[      ]+8418:[        ]+ff1d 4a01[    ]+blo 8566 <endp16>
+[      ]+841c:[        ]+ff8d 4601[    ]+bls 8566 <endp16>
+[      ]+8420:[        ]+ffbd 4201[    ]+blt 8566 <endp16>
+[      ]+8424:[        ]+ff7d 3e01[    ]+bmi 8566 <endp16>
+[      ]+8428:[        ]+ff2d 3a01[    ]+bne 8566 <endp16>
+[      ]+842c:[        ]+ff6d 3601[    ]+bpl 8566 <endp16>
+[      ]+8430:[        ]+ff4d 3201[    ]+bvc 8566 <endp16>
+[      ]+8434:[        ]+ff5d 2e01[    ]+bvs 8566 <endp16>
+0+8438 <start9>:
+[      ]+8438:[        ]+0f05[         ]+nop[  ]*
+[      ]+843a:[        ]+ffed 2801[    ]+ba 8566 <endp16>
+[      ]+843e:[        ]+ff0d 2401[    ]+bhs 8566 <endp16>
+[      ]+8442:[        ]+ff1d 2001[    ]+blo 8566 <endp16>
+[      ]+8446:[        ]+ff3d 1c01[    ]+beq 8566 <endp16>
+[      ]+844a:[        ]+fffd 1801[    ]+bwf 8566 <endp16>
+[      ]+844e:[        ]+fffd 1401[    ]+bwf 8566 <endp16>
+[      ]+8452:[        ]+fffd 1001[    ]+bwf 8566 <endp16>
+[      ]+8456:[        ]+ffad 0c01[    ]+bge 8566 <endp16>
+[      ]+845a:[        ]+ffcd 0801[    ]+bgt 8566 <endp16>
+[      ]+845e:[        ]+ff9d 0401[    ]+bhi 8566 <endp16>
+[      ]+8462:[        ]+ff0d 0001[    ]+bhs 8566 <endp16>
+[      ]+8466:[        ]+fed0[         ]+ble 8566 <endp16>
+[      ]+8468:[        ]+fc10[         ]+bcs 8566 <endp16>
+[      ]+846a:[        ]+fa80[         ]+bls 8566 <endp16>
+[      ]+846c:[        ]+f8b0[         ]+blt 8566 <endp16>
+[      ]+846e:[        ]+f670[         ]+bmi 8566 <endp16>
+[      ]+8470:[        ]+f420[         ]+bne 8566 <endp16>
+[      ]+8472:[        ]+f260[         ]+bpl 8566 <endp16>
+[      ]+8474:[        ]+f040[         ]+bvc 8566 <endp16>
+[      ]+8476:[        ]+ee50[         ]+bvs 8566 <endp16>
+0+8478 <start10>:
+[      ]+8478:[        ]+28e0[         ]+ba 84a2 <end>
+[      ]+847a:[        ]+2600[         ]+bcc 84a2 <end>
+[      ]+847c:[        ]+2410[         ]+bcs 84a2 <end>
+[      ]+847e:[        ]+2230[         ]+beq 84a2 <end>
+[      ]+8480:[        ]+20f0[         ]+bwf 84a2 <end>
+[      ]+8482:[        ]+1ef0[         ]+bwf 84a2 <end>
+[      ]+8484:[        ]+1cf0[         ]+bwf 84a2 <end>
+[      ]+8486:[        ]+1aa0[         ]+bge 84a2 <end>
+[      ]+8488:[        ]+18c0[         ]+bgt 84a2 <end>
+[      ]+848a:[        ]+1690[         ]+bhi 84a2 <end>
+[      ]+848c:[        ]+1400[         ]+bcc 84a2 <end>
+[      ]+848e:[        ]+12d0[         ]+ble 84a2 <end>
+[      ]+8490:[        ]+1010[         ]+bcs 84a2 <end>
+[      ]+8492:[        ]+0e80[         ]+bls 84a2 <end>
+[      ]+8494:[        ]+0cb0[         ]+blt 84a2 <end>
+[      ]+8496:[        ]+0a70[         ]+bmi 84a2 <end>
+[      ]+8498:[        ]+0820[         ]+bne 84a2 <end>
+[      ]+849a:[        ]+0660[         ]+bpl 84a2 <end>
+[      ]+849c:[        ]+0440[         ]+bvc 84a2 <end>
+[      ]+849e:[        ]+0250[         ]+bvs 84a2 <end>
+[      ]+84a0:[        ]+0f05[         ]+nop[ ]*
+0+84a2 <end>:
+[       ]+84a2:[        ]+0f05[        ]+nop[ ]*
+^[     ]+\.\.\.
+0+8566 <endp16>:
+[       ]+8566:[        ]+0f05[        ]+nop[ ]*
+^[     ]+\.\.\.
+0+103ce <endp32>:
+[       ]+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 (file)
index 0000000..5027968
--- /dev/null
@@ -0,0 +1,21 @@
+#objdump: -dr
+#as: --pic
+#source: brokw-1.s
+
+.*:     file format .*-cris
+
+Disassembly of section \.text:
+0+ <sym2>:
+[       ]+0:[   ]+4002[        ]+moveq[ ]+0,\$?r0
+[       ]+2:[   ]+0c00[        ]+bcc[ ]+(0x10|10 <sym2\+0x10>)
+[       ]+4:[   ]+4102[        ]+moveq[ ]+1,\$?r0
+[       ]+6:[   ]+0ce0[        ]+ba[ ]+(0x14|14 <next_label>)
+[       ]+8:[   ]+0f05[        ]+nop[ ]*
+[       ]+a:[   ]+0f05[        ]+nop[ ]*
+[       ]+c:[   ]+6ffd 0280 0000 3f0e[         ]+move \[\$?pc=\$?pc\+8002 <next_label\+0x7fee>\],\$?p0
+0+14 <next_label>:
+[       ]+14:[  ]+4202[        ]+moveq[ ]+2,\$?r0
+^[     ]+\.\.\.
+0+8014 <sym1>:
+[       ]+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 (file)
index 0000000..30ca1f5
--- /dev/null
@@ -0,0 +1,24 @@
+#objdump: -dr
+#as: --pic
+#source: brokw-2.s
+
+.*:     file format .*-cris
+Disassembly of section \.text:
+0+ <sym2>:
+[       ]+0:[   ]+4002[        ]+moveq[ ]+0,\$?r0
+[       ]+2:[   ]+1600[        ]+bcc[ ]+(0x1a|1a <sym2\+0x1a>)
+[       ]+4:[   ]+0e00[        ]+bcc[ ]+(0x14|14 <sym2\+0x14>)
+[       ]+6:[   ]+4102[        ]+moveq[ ]+1,\$?r0
+[       ]+8:[   ]+14e0[        ]+ba[ ]+(0x1e|1e <next_label>)
+[       ]+a:[   ]+0f05[        ]+nop[ ]*
+[       ]+c:[   ]+0f05[        ]+nop[ ]*
+[       ]+e:[   ]+6ffd 0c80 0000 3f0e[         ]+move \[\$?pc=\$?pc\+800c <next_label\+0x7fee>\],\$?p0
+[       ]+16:[  ]+6ffd 0280 0000 3f0e[         ]+move \[\$?pc=\$?pc\+8002 <next_label\+0x7fe4>\],\$?p0
+0+1e <next_label>:
+[       ]+1e:[  ]+4202[        ]+moveq[ ]+2,\$?r0
+^[     ]+\.\.\.
+0+801e <sym1>:
+[       ]+801e:[        ]+4302[        ]+moveq[ ]+3,\$?r0
+0+8020 <sym3>:
+[       ]+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 (file)
index 0000000..bf3170c
--- /dev/null
@@ -0,0 +1,187 @@
+#objdump: -dr
+#as: --underscore --pic --em=criself
+#source: brokw-3.s
+
+.*:     file format .*-cris
+Disassembly of section \.text:
+0+ <start>:
+[       ]+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 <sym2>:
+[      ]+e:[   ]+b401[         ]+case 87: -> 1c2 <sym2\+0x1b4>
+[      ]+10:[  ]+ac01[         ]+case 88: -> 1ba <sym2\+0x1ac>
+[      ]+12:[  ]+a401[         ]+case 89: -> 1b2 <sym2\+0x1a4>
+[      ]+14:[  ]+9c01[         ]+case 90: -> 1aa <sym2\+0x19c>
+[      ]+16:[  ]+9401[         ]+case 91: -> 1a2 <sym2\+0x194>
+[      ]+18:[  ]+8c01[         ]+case 92: -> 19a <sym2\+0x18c>
+[      ]+1a:[  ]+8401[         ]+case 93: -> 192 <sym2\+0x184>
+[      ]+1c:[  ]+7c01[         ]+case 94: -> 18a <sym2\+0x17c>
+[      ]+1e:[  ]+7401[         ]+case 95: -> 182 <sym2\+0x174>
+[      ]+20:[  ]+6c01[         ]+case 96: -> 17a <sym2\+0x16c>
+[      ]+22:[  ]+6401[         ]+case 97: -> 172 <sym2\+0x164>
+[      ]+24:[  ]+5c01[         ]+case 98: -> 16a <sym2\+0x15c>
+[      ]+26:[  ]+5401[         ]+case 99: -> 162 <sym2\+0x154>
+[      ]+28:[  ]+4c01[         ]+case 100: -> 15a <sym2\+0x14c>
+[      ]+2a:[  ]+4401[         ]+case 101: -> 152 <sym2\+0x144>
+[      ]+2c:[  ]+3c01[         ]+case 102: -> 14a <sym2\+0x13c>
+[      ]+2e:[  ]+3401[         ]+case 103: -> 142 <sym2\+0x134>
+[      ]+30:[  ]+2c01[         ]+case 104: -> 13a <sym2\+0x12c>
+[      ]+32:[  ]+2401[         ]+case 105: -> 132 <sym2\+0x124>
+[      ]+34:[  ]+1c01[         ]+case 106: -> 12a <sym2\+0x11c>
+[      ]+36:[  ]+1401[         ]+case 107: -> 122 <sym2\+0x114>
+[      ]+38:[  ]+0c01[         ]+case 108: -> 11a <sym2\+0x10c>
+[      ]+3a:[  ]+0401[         ]+case 109: -> 112 <sym2\+0x104>
+[      ]+3c:[  ]+fc00[         ]+case 110: -> 10a <sym2\+0xfc>
+[      ]+3e:[  ]+f400[         ]+case 111: -> 102 <sym2\+0xf4>
+[      ]+40:[  ]+ec00[         ]+case 112: -> fa <sym2\+0xec>
+[      ]+42:[  ]+e400[         ]+case 113: -> f2 <sym2\+0xe4>
+[      ]+44:[  ]+dc00[         ]+case 114: -> ea <sym2\+0xdc>
+[      ]+46:[  ]+d400[         ]+case 115: -> e2 <sym2\+0xd4>
+[      ]+48:[  ]+cc00[         ]+case 116: -> da <sym2\+0xcc>
+[      ]+4a:[  ]+c400[         ]+case 117: -> d2 <sym2\+0xc4>
+[      ]+4c:[  ]+bc00[         ]+case 118: -> ca <sym2\+0xbc>
+[      ]+4e:[  ]+b400[         ]+case 119: -> c2 <sym2\+0xb4>
+[      ]+50:[  ]+ac00[         ]+case 120: -> ba <sym2\+0xac>
+[      ]+52:[  ]+a400[         ]+case 121: -> b2 <sym2\+0xa4>
+[      ]+54:[  ]+9c00[         ]+case 122: -> aa <sym2\+0x9c>
+[      ]+56:[  ]+9400[         ]+case 123: -> a2 <sym2\+0x94>
+[      ]+58:[  ]+8c00[         ]+case 124: -> 9a <sym2\+0x8c>
+[      ]+5a:[  ]+8400[         ]+case 125: -> 92 <sym2\+0x84>
+[      ]+5c:[  ]+7c00[         ]+case 126: -> 8a <sym2\+0x7c>
+[      ]+5e:[  ]+7400[         ]+case 127: -> 82 <sym2\+0x74>
+[      ]+60:[  ]+6c00[         ]+case 128/default: -> 7a <sym2\+0x6c>
+^[     ]+\.\.\.
+[       ]+72:[  ]+4102[        ]+moveq[ ]+1,\$?r0
+[       ]+74:[  ]+ffed 5201[   ]+ba 1ca <next_label>
+[       ]+78:[  ]+0f05[        ]+nop[ ]*
+[      ]+7a:[  ]+6ffd 9e81 0000 3f0e[  ]+move \[pc=pc\+819e <next_label\+0x7fd4>\],p0
+[      ]+82:[  ]+6ffd 9481 0000 3f0e[  ]+move \[pc=pc\+8194 <next_label\+0x7fca>\],p0
+[      ]+8a:[  ]+6ffd 8a81 0000 3f0e[  ]+move \[pc=pc\+818a <next_label\+0x7fc0>\],p0
+[      ]+92:[  ]+6ffd 8081 0000 3f0e[  ]+move \[pc=pc\+8180 <next_label\+0x7fb6>\],p0
+[      ]+9a:[  ]+6ffd 7681 0000 3f0e[  ]+move \[pc=pc\+8176 <next_label\+0x7fac>\],p0
+[      ]+a2:[  ]+6ffd 6c81 0000 3f0e[  ]+move \[pc=pc\+816c <next_label\+0x7fa2>\],p0
+[      ]+aa:[  ]+6ffd 6281 0000 3f0e[  ]+move \[pc=pc\+8162 <next_label\+0x7f98>\],p0
+[      ]+b2:[  ]+6ffd 5881 0000 3f0e[  ]+move \[pc=pc\+8158 <next_label\+0x7f8e>\],p0
+[      ]+ba:[  ]+6ffd 4e81 0000 3f0e[  ]+move \[pc=pc\+814e <next_label\+0x7f84>\],p0
+[      ]+c2:[  ]+6ffd 4481 0000 3f0e[  ]+move \[pc=pc\+8144 <next_label\+0x7f7a>\],p0
+[      ]+ca:[  ]+6ffd 3a81 0000 3f0e[  ]+move \[pc=pc\+813a <next_label\+0x7f70>\],p0
+[      ]+d2:[  ]+6ffd 3081 0000 3f0e[  ]+move \[pc=pc\+8130 <next_label\+0x7f66>\],p0
+[      ]+da:[  ]+6ffd 2681 0000 3f0e[  ]+move \[pc=pc\+8126 <next_label\+0x7f5c>\],p0
+[      ]+e2:[  ]+6ffd 1c81 0000 3f0e[  ]+move \[pc=pc\+811c <next_label\+0x7f52>\],p0
+[      ]+ea:[  ]+6ffd 1281 0000 3f0e[  ]+move \[pc=pc\+8112 <next_label\+0x7f48>\],p0
+[      ]+f2:[  ]+6ffd 0881 0000 3f0e[  ]+move \[pc=pc\+8108 <next_label\+0x7f3e>\],p0
+[      ]+fa:[  ]+6ffd fe80 0000 3f0e[  ]+move \[pc=pc\+80fe <next_label\+0x7f34>\],p0
+[      ]+102:[         ]+6ffd f480 0000 3f0e[  ]+move \[pc=pc\+80f4 <next_label\+0x7f2a>\],p0
+[      ]+10a:[         ]+6ffd ea80 0000 3f0e[  ]+move \[pc=pc\+80ea <next_label\+0x7f20>\],p0
+[      ]+112:[         ]+6ffd e080 0000 3f0e[  ]+move \[pc=pc\+80e0 <next_label\+0x7f16>\],p0
+[      ]+11a:[         ]+6ffd d680 0000 3f0e[  ]+move \[pc=pc\+80d6 <next_label\+0x7f0c>\],p0
+[      ]+122:[         ]+6ffd cc80 0000 3f0e[  ]+move \[pc=pc\+80cc <next_label\+0x7f02>\],p0
+[      ]+12a:[         ]+6ffd c280 0000 3f0e[  ]+move \[pc=pc\+80c2 <next_label\+0x7ef8>\],p0
+[      ]+132:[         ]+6ffd b880 0000 3f0e[  ]+move \[pc=pc\+80b8 <next_label\+0x7eee>\],p0
+[      ]+13a:[         ]+6ffd ae80 0000 3f0e[  ]+move \[pc=pc\+80ae <next_label\+0x7ee4>\],p0
+[      ]+142:[         ]+6ffd a480 0000 3f0e[  ]+move \[pc=pc\+80a4 <next_label\+0x7eda>\],p0
+[      ]+14a:[         ]+6ffd 9a80 0000 3f0e[  ]+move \[pc=pc\+809a <next_label\+0x7ed0>\],p0
+[      ]+152:[         ]+6ffd 9080 0000 3f0e[  ]+move \[pc=pc\+8090 <next_label\+0x7ec6>\],p0
+[      ]+15a:[         ]+6ffd 8680 0000 3f0e[  ]+move \[pc=pc\+8086 <next_label\+0x7ebc>\],p0
+[      ]+162:[         ]+6ffd 7c80 0000 3f0e[  ]+move \[pc=pc\+807c <next_label\+0x7eb2>\],p0
+[      ]+16a:[         ]+6ffd 7280 0000 3f0e[  ]+move \[pc=pc\+8072 <next_label\+0x7ea8>\],p0
+[      ]+172:[         ]+6ffd 6880 0000 3f0e[  ]+move \[pc=pc\+8068 <next_label\+0x7e9e>\],p0
+[      ]+17a:[         ]+6ffd 5e80 0000 3f0e[  ]+move \[pc=pc\+805e <next_label\+0x7e94>\],p0
+[      ]+182:[         ]+6ffd 5480 0000 3f0e[  ]+move \[pc=pc\+8054 <next_label\+0x7e8a>\],p0
+[      ]+18a:[         ]+6ffd 4a80 0000 3f0e[  ]+move \[pc=pc\+804a <next_label\+0x7e80>\],p0
+[      ]+192:[         ]+6ffd 4080 0000 3f0e[  ]+move \[pc=pc\+8040 <next_label\+0x7e76>\],p0
+[      ]+19a:[         ]+6ffd 3680 0000 3f0e[  ]+move \[pc=pc\+8036 <next_label\+0x7e6c>\],p0
+[      ]+1a2:[         ]+6ffd 2c80 0000 3f0e[  ]+move \[pc=pc\+802c <next_label\+0x7e62>\],p0
+[      ]+1aa:[         ]+6ffd 2280 0000 3f0e[  ]+move \[pc=pc\+8022 <next_label\+0x7e58>\],p0
+[      ]+1b2:[         ]+6ffd 1880 0000 3f0e[  ]+move \[pc=pc\+8018 <next_label\+0x7e4e>\],p0
+[      ]+1ba:[         ]+6ffd 0e80 0000 3f0e[  ]+move \[pc=pc\+800e <next_label\+0x7e44>\],p0
+[      ]+1c2:[         ]+6ffd 0480 0000 3f0e[  ]+move \[pc=pc\+8004 <next_label\+0x7e3a>\],p0
+0+1ca <next_label>:
+[       ]+1ca:[         ]+4202[        ]+moveq[ ]+2,\$?r0
+^[     ]+\.\.\.
+0+81cc <sym1>:
+[      ]+81cc:[        ]+7d02[         ]+moveq -3,\$?r0
+0+81ce <sym3>:
+[      ]+81ce:[        ]+4302[         ]+moveq 3,\$?r0
+0+81d0 <sym4>:
+[      ]+81d0:[        ]+4402[         ]+moveq 4,\$?r0
+0+81d2 <sym5>:
+[      ]+81d2:[        ]+4502[         ]+moveq 5,\$?r0
+0+81d4 <sym6>:
+[      ]+81d4:[        ]+4602[         ]+moveq 6,\$?r0
+0+81d6 <sym7>:
+[      ]+81d6:[        ]+4702[         ]+moveq 7,\$?r0
+0+81d8 <sym8>:
+[      ]+81d8:[        ]+4802[         ]+moveq 8,\$?r0
+0+81da <sym9>:
+[      ]+81da:[        ]+4902[         ]+moveq 9,\$?r0
+0+81dc <sym10>:
+[      ]+81dc:[        ]+4a02[         ]+moveq 10,\$?r0
+0+81de <sym11>:
+[      ]+81de:[        ]+4b02[         ]+moveq 11,\$?r0
+0+81e0 <sym12>:
+[      ]+81e0:[        ]+4c02[         ]+moveq 12,\$?r0
+0+81e2 <sym13>:
+[      ]+81e2:[        ]+4d02[         ]+moveq 13,\$?r0
+0+81e4 <sym14>:
+[      ]+81e4:[        ]+4e02[         ]+moveq 14,\$?r0
+0+81e6 <sym15>:
+[      ]+81e6:[        ]+4f02[         ]+moveq 15,\$?r0
+0+81e8 <sym16>:
+[      ]+81e8:[        ]+5002[         ]+moveq 16,\$?r0
+0+81ea <sym17>:
+[      ]+81ea:[        ]+5102[         ]+moveq 17,\$?r0
+0+81ec <sym18>:
+[      ]+81ec:[        ]+5202[         ]+moveq 18,\$?r0
+0+81ee <sym19>:
+[      ]+81ee:[        ]+5302[         ]+moveq 19,\$?r0
+0+81f0 <sym20>:
+[      ]+81f0:[        ]+5402[         ]+moveq 20,\$?r0
+0+81f2 <sym21>:
+[      ]+81f2:[        ]+5502[         ]+moveq 21,\$?r0
+0+81f4 <sym22>:
+[      ]+81f4:[        ]+5602[         ]+moveq 22,\$?r0
+0+81f6 <sym23>:
+[      ]+81f6:[        ]+5702[         ]+moveq 23,\$?r0
+0+81f8 <sym24>:
+[      ]+81f8:[        ]+5802[         ]+moveq 24,\$?r0
+0+81fa <sym25>:
+[      ]+81fa:[        ]+5902[         ]+moveq 25,\$?r0
+0+81fc <sym26>:
+[      ]+81fc:[        ]+5a02[         ]+moveq 26,\$?r0
+0+81fe <sym27>:
+[      ]+81fe:[        ]+5b02[         ]+moveq 27,\$?r0
+0+8200 <sym28>:
+[      ]+8200:[        ]+5c02[         ]+moveq 28,\$?r0
+0+8202 <sym29>:
+[      ]+8202:[        ]+5d02[         ]+moveq 29,\$?r0
+0+8204 <sym30>:
+[      ]+8204:[        ]+5e02[         ]+moveq 30,\$?r0
+0+8206 <sym31>:
+[      ]+8206:[        ]+5f02[         ]+moveq 31,\$?r0
+0+8208 <sym32>:
+[      ]+8208:[        ]+6002[         ]+moveq -32,\$?r0
+0+820a <sym33>:
+[      ]+820a:[        ]+6102[         ]+moveq -31,\$?r0
+0+820c <sym34>:
+[      ]+820c:[        ]+6202[         ]+moveq -30,\$?r0
+0+820e <sym35>:
+[      ]+820e:[        ]+6302[         ]+moveq -29,\$?r0
+0+8210 <sym36>:
+[      ]+8210:[        ]+6402[         ]+moveq -28,\$?r0
+0+8212 <sym37>:
+[      ]+8212:[        ]+6502[         ]+moveq -27,\$?r0
+0+8214 <sym38>:
+[      ]+8214:[        ]+6602[         ]+moveq -26,\$?r0
+0+8216 <sym39>:
+[      ]+8216:[        ]+6702[         ]+moveq -25,\$?r0
+0+8218 <sym40>:
+[      ]+8218:[        ]+6802[         ]+moveq -24,\$?r0
+0+821a <sym41>:
+[      ]+821a:[        ]+6902[         ]+moveq -23,\$?r0
+0+821c <sym42>:
+[      ]+821c:[        ]+6a02[         ]+moveq -22,\$?r0
+0+821e <sym43>:
+[      ]+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 (file)
index 0000000..0e4c2f1
--- /dev/null
@@ -0,0 +1,66 @@
+#objdump: -dr
+#as: --pic
+#source: fragtest.s
+
+.*:     file format .*-cris
+Disassembly of section \.text:
+0+ <l1-(0x)?100>:
+[       ]+0:[   ]+fee0[        ]+ba[ ]+(0x[0]?100|100 <l1>)
+[      ]+2:[           ]+0f05[  ]+nop[ ]*
+^[     ]+\.\.\.
+[       ]+80:[  ]+e2e0[        ]+ba[ ]+(0x[0]?164|164 <l2>)
+^[     ]+82:[          ]+0f05[  ]+nop[ ]*
+^[     ]+\.\.\.
+0+100 <l1>:
+^[     ]+\.\.\.
+0+164 <l2>:
+[       ]+164:[         ]+ffed 0001[   ]+ba (0x[0]?268|268 <l3>)
+[      ]+168:[         ]+0f05[  ]+nop[ ]*
+^[     ]+\.\.\.
+[       ]+1e6:[         ]+ffed 6604[   ]+ba (0x[0]?650|650 <l4>)
+[      ]+1ea:[         ]+0f05[  ]+nop[ ]*
+^[     ]+\.\.\.
+0+268 <l3>:
+^[     ]+\.\.\.
+0+650 <l4>:
+[       ]+650:[         ]+ffed 0a01[   ]+ba (0x[0]?75e|75e <l5>)
+[      ]+654:[ ]+0f05[  ]+nop[ ]*
+^[     ]+\.\.\.
+[       ]+6d2:[         ]+0ae0[        ]+ba[ ]+(0x[0]?6de|[0]?6de <l4\+0x8e>)
+[       ]+6d4:[         ]+0f05[        ]+nop[ ]*
+[       ]+6d6:[         ]+6ffd 6a81 0000 3f0e[         ]+move \[\$?pc=\$?pc\+816a <l5\+0x7a0c>\],\$?p0
+[       ]+6de:[         ]+f7e0[        ]+ba[ ]+(0x[0]?6d6|6d6 <l4\+0x86>)
+[      ]+6e0:[         ]+0f05[  ]+nop[ ]*
+^[     ]+\.\.\.
+0+75e <l5>:
+^[     ]+\.\.\.
+0+8846 <l6>:
+^[     ]+\.\.\.
+[       ]+88c2:[        ]+fee0[        ]+ba[ ]+(0x89c2|89c2 <l8>)
+[       ]+88c4:[        ]+0f05[        ]+nop[ ]*
+^[     ]+\.\.\.
+[       ]+8942:[        ]+0000[        ]+bcc[ ]+.*
+[       ]+8944:[        ]+01e0[        ]+ba[ ]+(0x8846|8846 <l6>)
+[       ]+8946:[        ]+0f05[        ]+nop[ ]*
+^[     ]+\.\.\.
+0+89c2 <l8>:
+^[     ]+\.\.\.
+[       ]+8a3e:[        ]+ffed 0201[   ]+ba (0x8b44|8b44 <l10>)
+[       ]+8a42:[        ]+0f05[        ]+nop[ ]*
+^[     ]+\.\.\.
+[       ]+8ac0:[        ]+0000[        ]+bcc[ ]+.*
+[       ]+8ac2:[        ]+ffed fcfe[   ]+ba (0x89c2|89c2 <l8>)
+[       ]+8ac6:[        ]+0f05[        ]+nop[ ]*
+^[     ]+\.\.\.
+0+8b44 <l10>:
+^[     ]+\.\.\.
+[       ]+8bc0:[        ]+0000[        ]+bcc[ ]+.*
+[       ]+8bc2:[        ]+ffed 0001[   ]+ba (0x8cc6|8cc6 <l12>)
+[       ]+8bc6:[        ]+0f05[        ]+nop[ ]*
+^[     ]+\.\.\.
+[       ]+8c44:[        ]+0000[        ]+bcc[ ]+.*
+[       ]+8c46:[        ]+ffed fafe[   ]+ba (0x8b44|8b44 <l10>)
+[       ]+8c4a:[        ]+0f05[        ]+nop[ ]*
+^[     ]+\.\.\.
+0+8cc6 <l12>:
+^[     ]+\.\.\.