diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index bdf4b4d43a3..f2d24b05771 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,13 @@
+2005-09-20  Richard Henderson  <rth@redhat.com>
+
+	* gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d,
+	gas/cris/rd-dw2-12.d, gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d,
+	gas/cris/rd-dw2-15.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d,
+	gas/cris/rd-dw2-4.d, gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d,
+	gas/cris/rd-dw2-7.d, gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d,
+	gas/mips/mips16-dwarf2-n32.d, gas/mips/mips16-dwarf2.d: Add 0x
+	prefix in "Advance PC" lines.
+
 2005-09-08  Paul Brook  <paul@codesourcery.com>
 
 	* gas/arm/arch6zk.d: Rename smi to smc.
diff --git a/gas/testsuite/gas/cris/rd-dw2-1.d b/gas/testsuite/gas/cris/rd-dw2-1.d
index f7afd811b9f..3b0dc61d549 100644
--- a/gas/testsuite/gas/cris/rd-dw2-1.d
+++ b/gas/testsuite/gas/cris/rd-dw2-1.d
@@ -17,5 +17,5 @@
   Special opcode .*: advance Address by 2 to 0x12 and Line by 1 to 14
   Special opcode .*: advance Address by 2 to 0x14 and Line by 1 to 15
   Special opcode .*: advance Address by 2 to 0x16 and Line by 1 to 16
-  Advance PC by 2 to 18
+  Advance PC by 2 to 0x18
   Extended opcode 1: End of Sequence
diff --git a/gas/testsuite/gas/cris/rd-dw2-10.d b/gas/testsuite/gas/cris/rd-dw2-10.d
index f64dad73892..f9b196f9b9a 100644
--- a/gas/testsuite/gas/cris/rd-dw2-10.d
+++ b/gas/testsuite/gas/cris/rd-dw2-10.d
@@ -7,5 +7,5 @@
  Line Number Statements:
   Extended opcode 2: set Address to 0x0
   Special opcode .*: advance Address by 0 to 0x0 and Line by 6 to 7
-  Advance PC by 4 to 4
+  Advance PC by 4 to 0x4
   Extended opcode 1: End of Sequence
diff --git a/gas/testsuite/gas/cris/rd-dw2-11.d b/gas/testsuite/gas/cris/rd-dw2-11.d
index 801fd066805..ea88664d7bf 100644
--- a/gas/testsuite/gas/cris/rd-dw2-11.d
+++ b/gas/testsuite/gas/cris/rd-dw2-11.d
@@ -8,39 +8,39 @@
   Extended opcode 2: set Address to 0x0
   Special opcode .*: advance Address by 0 to 0x0 and Line by 4 to 5
   Special opcode .*: advance Address by 2 to 0x2 and Line by 1 to 6
-  Advance PC by 126 to 80
+  Advance PC by 126 to 0x80
   Special opcode .*: advance Address by 0 to 0x80 and Line by 2 to 8
   Special opcode .*: advance Address by 2 to 0x82 and Line by 1 to 9
-  Advance PC by 226 to 164
+  Advance PC by 226 to 0x164
   Special opcode .*: advance Address by 0 to 0x164 and Line by 6 to 15
   Special opcode .*: advance Address by 4 to 0x168 and Line by 1 to 16
-  Advance PC by 126 to 1e6
+  Advance PC by 126 to 0x1e6
   Special opcode .*: advance Address by 0 to 0x1e6 and Line by 2 to 18
   Special opcode .*: advance Address by 4 to 0x1ea and Line by 1 to 19
-  Advance PC by 1126 to 650
+  Advance PC by 1126 to 0x650
   Special opcode .*: advance Address by 0 to 0x650 and Line by 6 to 25
   Special opcode .*: advance Address by 4 to 0x654 and Line by 1 to 26
-  Advance PC by 126 to 6d2
+  Advance PC by 126 to 0x6d2
   Special opcode .*: advance Address by 0 to 0x6d2 and Line by 2 to 28
   Special opcode .*: advance Address by 12 to 0x6de and Line by 1 to 29
   Advance Line by 11 to 40
-  Advance PC by 33250 to 88c0
+  Advance PC by 33250 to 0x88c0
   Copy
   Special opcode .*: advance Address by 2 to 0x88c2 and Line by 1 to 41
-  Advance PC by 128 to 8942
+  Advance PC by 128 to 0x8942
   Special opcode .*: advance Address by 0 to 0x8942 and Line by 2 to 43
   Special opcode .*: advance Address by 2 to 0x8944 and Line by 1 to 44
-  Advance PC by 248 to 8a3c
+  Advance PC by 248 to 0x8a3c
   Special opcode .*: advance Address by 0 to 0x8a3c and Line by 6 to 50
   Special opcode .*: advance Address by 4 to 0x8a40 and Line by 1 to 51
-  Advance PC by 128 to 8ac0
+  Advance PC by 128 to 0x8ac0
   Special opcode .*: advance Address by 0 to 0x8ac0 and Line by 2 to 53
   Special opcode .*: advance Address by 4 to 0x8ac4 and Line by 1 to 54
-  Advance PC by 252 to 8bc0
+  Advance PC by 252 to 0x8bc0
   Special opcode .*: advance Address by 0 to 0x8bc0 and Line by 6 to 60
   Special opcode .*: advance Address by 4 to 0x8bc4 and Line by 1 to 61
-  Advance PC by 128 to 8c44
+  Advance PC by 128 to 0x8c44
   Special opcode .*: advance Address by 0 to 0x8c44 and Line by 2 to 63
   Special opcode .*: advance Address by 4 to 0x8c48 and Line by 1 to 64
-  Advance PC by 124 to 8cc4
+  Advance PC by 124 to 0x8cc4
   Extended opcode 1: End of Sequence
diff --git a/gas/testsuite/gas/cris/rd-dw2-12.d b/gas/testsuite/gas/cris/rd-dw2-12.d
index 92788ddb121..1b9dca57982 100644
--- a/gas/testsuite/gas/cris/rd-dw2-12.d
+++ b/gas/testsuite/gas/cris/rd-dw2-12.d
@@ -89,5 +89,5 @@
   Special opcode .*: advance Address by 4 to 0x13c and Line by 1 to 118
   Special opcode .*: advance Address by 2 to 0x13e and Line by 1 to 119
   Special opcode .*: advance Address by 2 to 0x140 and Line by 1 to 120
-  Advance PC by 4 to 144
+  Advance PC by 4 to 0x144
   Extended opcode 1: End of Sequence
diff --git a/gas/testsuite/gas/cris/rd-dw2-13.d b/gas/testsuite/gas/cris/rd-dw2-13.d
index deccb73f3ea..7c985e43898 100644
--- a/gas/testsuite/gas/cris/rd-dw2-13.d
+++ b/gas/testsuite/gas/cris/rd-dw2-13.d
@@ -30,5 +30,5 @@
   Special opcode .*: advance Address by 6 to 0x8e and Line by 1 to 29
   Special opcode .*: advance Address by 6 to 0x94 and Line by 1 to 30
   Special opcode .*: advance Address by 6 to 0x9a and Line by 1 to 31
-  Advance PC by 8 to a2
+  Advance PC by 8 to 0xa2
   Extended opcode 1: End of Sequence
diff --git a/gas/testsuite/gas/cris/rd-dw2-14.d b/gas/testsuite/gas/cris/rd-dw2-14.d
index 4c67fa7853a..297d83cefcb 100644
--- a/gas/testsuite/gas/cris/rd-dw2-14.d
+++ b/gas/testsuite/gas/cris/rd-dw2-14.d
@@ -26,5 +26,5 @@
   Special opcode .*: advance Address by 2 to 0x42 and Line by 1 to 26
   Special opcode .*: advance Address by 2 to 0x44 and Line by 1 to 27
   Special opcode .*: advance Address by 2 to 0x46 and Line by 1 to 28
-  Advance PC by 2 to 48
+  Advance PC by 2 to 0x48
   Extended opcode 1: End of Sequence
diff --git a/gas/testsuite/gas/cris/rd-dw2-15.d b/gas/testsuite/gas/cris/rd-dw2-15.d
index 07aa761bca7..bbb828949e0 100644
--- a/gas/testsuite/gas/cris/rd-dw2-15.d
+++ b/gas/testsuite/gas/cris/rd-dw2-15.d
@@ -158,5 +158,5 @@
   Special opcode .*: advance Address by 2 to 0x1c6 and Line by 1 to 243
   Special opcode .*: advance Address by 2 to 0x1c8 and Line by 2 to 245
   Special opcode .*: advance Address by 2 to 0x1ca and Line by 1 to 246
-  Advance PC by 2 to 1cc
+  Advance PC by 2 to 0x1cc
   Extended opcode 1: End of Sequence
diff --git a/gas/testsuite/gas/cris/rd-dw2-2.d b/gas/testsuite/gas/cris/rd-dw2-2.d
index 53d15b86351..7d58ab56133 100644
--- a/gas/testsuite/gas/cris/rd-dw2-2.d
+++ b/gas/testsuite/gas/cris/rd-dw2-2.d
@@ -31,5 +31,5 @@
   Special opcode .*: advance Address by 6 to 0x500c0 and Line by 1 to 63
   Special opcode .*: advance Address by 6 to 0x500c6 and Line by 1 to 64
   Special opcode .*: advance Address by 6 to 0x500cc and Line by 1 to 65
-  Advance PC by 327776 to a012c
+  Advance PC by 327776 to 0xa012c
   Extended opcode 1: End of Sequence
diff --git a/gas/testsuite/gas/cris/rd-dw2-3.d b/gas/testsuite/gas/cris/rd-dw2-3.d
index 5e36725512f..272fbf1e748 100644
--- a/gas/testsuite/gas/cris/rd-dw2-3.d
+++ b/gas/testsuite/gas/cris/rd-dw2-3.d
@@ -8,5 +8,5 @@
   Extended opcode 2: set Address to 0x0
   Special opcode .*: advance Address by 0 to 0x0 and Line by 7 to 8
   Special opcode .*: advance Address by 12 to 0xc and Line by 1 to 9
-  Advance PC by 2 to e
+  Advance PC by 2 to 0xe
   Extended opcode 1: End of Sequence
diff --git a/gas/testsuite/gas/cris/rd-dw2-4.d b/gas/testsuite/gas/cris/rd-dw2-4.d
index d8c0edd65cc..9a3fbd38f11 100644
--- a/gas/testsuite/gas/cris/rd-dw2-4.d
+++ b/gas/testsuite/gas/cris/rd-dw2-4.d
@@ -7,7 +7,7 @@
  Line Number Statements:
   Extended opcode 2: set Address to 0x0
   Special opcode .*: advance Address by 0 to 0x0 and Line by 7 to 8
-  Advance PC by 32780 to 800c
+  Advance PC by 32780 to 0x800c
   Special opcode .*: advance Address by 0 to 0x800c and Line by 3 to 11
-  Advance PC by 2 to 800e
+  Advance PC by 2 to 0x800e
   Extended opcode 1: End of Sequence
diff --git a/gas/testsuite/gas/cris/rd-dw2-5.d b/gas/testsuite/gas/cris/rd-dw2-5.d
index d0f8a962ef7..be35ca90305 100644
--- a/gas/testsuite/gas/cris/rd-dw2-5.d
+++ b/gas/testsuite/gas/cris/rd-dw2-5.d
@@ -7,8 +7,8 @@
  Line Number Statements:
   Extended opcode 2: set Address to 0x0
   Special opcode .*: advance Address by 0 to 0x0 and Line by 7 to 8
-  Advance PC by 32770 to 8002
+  Advance PC by 32770 to 0x8002
   Special opcode .*: advance Address by 0 to 0x8002 and Line by 2 to 10
   Special opcode .*: advance Address by 12 to 0x800e and Line by 1 to 11
-  Advance PC by 2 to 8010
+  Advance PC by 2 to 0x8010
   Extended opcode 1: End of Sequence
diff --git a/gas/testsuite/gas/cris/rd-dw2-6.d b/gas/testsuite/gas/cris/rd-dw2-6.d
index 96f06cd9aed..658e5110682 100644
--- a/gas/testsuite/gas/cris/rd-dw2-6.d
+++ b/gas/testsuite/gas/cris/rd-dw2-6.d
@@ -8,9 +8,9 @@
   Extended opcode 2: set Address to 0x0
   Special opcode .*: advance Address by 0 to 0x0 and Line by 7 to 8
   Special opcode .*: advance Address by 2 to 0x2 and Line by 2 to 10
-  Advance PC by 32360 to 7e6a
+  Advance PC by 32360 to 0x7e6a
   Special opcode .*: advance Address by 0 to 0x7e6a and Line by 3 to 13
-  Advance PC by 196 to 7f2e
+  Advance PC by 196 to 0x7f2e
   Special opcode .*: advance Address by 0 to 0x7f2e and Line by 6 to 19
   Special opcode .*: advance Address by 2 to 0x7f30 and Line by 1 to 20
   Special opcode .*: advance Address by 2 to 0x7f32 and Line by 1 to 21
@@ -222,9 +222,9 @@
   Special opcode .*: advance Address by 2 to 0x8414 and Line by 1 to 261
   Special opcode .*: advance Address by 2 to 0x8416 and Line by 1 to 262
   Special opcode .*: advance Address by 2 to 0x8418 and Line by 2 to 264
-  Advance PC by 196 to 84dc
+  Advance PC by 196 to 0x84dc
   Special opcode .*: advance Address by 0 to 0x84dc and Line by 3 to 267
-  Advance PC by 32360 to 10344
+  Advance PC by 32360 to 0x10344
   Special opcode .*: advance Address by 0 to 0x10344 and Line by 3 to 270
-  Advance PC by 2 to 10346
+  Advance PC by 2 to 0x10346
   Extended opcode 1: End of Sequence
diff --git a/gas/testsuite/gas/cris/rd-dw2-7.d b/gas/testsuite/gas/cris/rd-dw2-7.d
index b80d7b3a338..ad99a3f6a81 100644
--- a/gas/testsuite/gas/cris/rd-dw2-7.d
+++ b/gas/testsuite/gas/cris/rd-dw2-7.d
@@ -9,7 +9,7 @@
   Special opcode .*: advance Address by 0 to 0x0 and Line by 2 to 3
   Special opcode .*: advance Address by 4 to 0x4 and Line by 4 to 7
   Special opcode .*: advance Address by 14 to 0x12 and Line by 8 to 15
-  Advance PC by 32768 to 8012
+  Advance PC by 32768 to 0x8012
   Special opcode .*: advance Address by 0 to 0x8012 and Line by 4 to 19
-  Advance PC by 2 to 8014
+  Advance PC by 2 to 0x8014
   Extended opcode 1: End of Sequence
diff --git a/gas/testsuite/gas/cris/rd-dw2-8.d b/gas/testsuite/gas/cris/rd-dw2-8.d
index 2d2a221e5c4..d141412641f 100644
--- a/gas/testsuite/gas/cris/rd-dw2-8.d
+++ b/gas/testsuite/gas/cris/rd-dw2-8.d
@@ -10,8 +10,8 @@
   Special opcode .*: advance Address by 6 to 0x6 and Line by 5 to 8
   Advance Line by 9 to 17
   Special opcode .*: advance Address by 20 to 0x1a and Line by 0 to 17
-  Advance PC by 32768 to 801a
+  Advance PC by 32768 to 0x801a
   Special opcode .*: advance Address by 0 to 0x801a and Line by 4 to 21
   Special opcode .*: advance Address by 2 to 0x801c and Line by 1 to 22
-  Advance PC by 2 to 801e
+  Advance PC by 2 to 0x801e
   Extended opcode 1: End of Sequence
diff --git a/gas/testsuite/gas/cris/rd-dw2-9.d b/gas/testsuite/gas/cris/rd-dw2-9.d
index 4ded48e4be9..0290ad2a4a5 100644
--- a/gas/testsuite/gas/cris/rd-dw2-9.d
+++ b/gas/testsuite/gas/cris/rd-dw2-9.d
@@ -11,12 +11,12 @@
   Special opcode .*: advance Address by 4 to 0x6 and Line by 1 to 9
   Special opcode .*: advance Address by 4 to 0xa and Line by 1 to 10
   Advance Line by 47 to 57
-  Advance PC by 104 to 72
+  Advance PC by 104 to 0x72
   Copy
   Advance Line by 10 to 67
-  Advance PC by 260 to 176
+  Advance PC by 260 to 0x176
   Copy
-  Advance PC by 32770 to 8178
+  Advance PC by 32770 to 0x8178
   Special opcode .*: advance Address by 0 to 0x8178 and Line by 4 to 71
   Special opcode .*: advance Address by 2 to 0x817a and Line by 1 to 72
   Special opcode .*: advance Address by 2 to 0x817c and Line by 1 to 73
@@ -59,5 +59,5 @@
   Special opcode .*: advance Address by 2 to 0x81c6 and Line by 1 to 110
   Special opcode .*: advance Address by 2 to 0x81c8 and Line by 1 to 111
   Special opcode .*: advance Address by 2 to 0x81ca and Line by 1 to 112
-  Advance PC by 2 to 81cc
+  Advance PC by 2 to 0x81cc
   Extended opcode 1: End of Sequence
diff --git a/gas/testsuite/gas/mips/mips16-dwarf2-n32.d b/gas/testsuite/gas/mips/mips16-dwarf2-n32.d
index d8996e3b43c..e95325dfb58 100644
--- a/gas/testsuite/gas/mips/mips16-dwarf2-n32.d
+++ b/gas/testsuite/gas/mips/mips16-dwarf2-n32.d
@@ -24,7 +24,7 @@ Relocation section '\.rela\.debug_line' at offset .* contains 1 entries:
   Special opcode .*: advance Address by 2 to 0xa and Line by 1 to 5
   Special opcode .*: advance Address by 4 to 0xe and Line by 1 to 6
   Special opcode .*: advance Address by 4 to 0x12 and Line by 1 to 7
-  Advance PC by 2286 to 900
+  Advance PC by 2286 to 0x900
   Special opcode .*: advance Address by 0 to 0x900 and Line by 1 to 8
-  Advance PC by 15 to 90f
+  Advance PC by 15 to 0x90f
   Extended opcode 1: End of Sequence
diff --git a/gas/testsuite/gas/mips/mips16-dwarf2.d b/gas/testsuite/gas/mips/mips16-dwarf2.d
index 6b8ec09e3fd..bda0feb4310 100644
--- a/gas/testsuite/gas/mips/mips16-dwarf2.d
+++ b/gas/testsuite/gas/mips/mips16-dwarf2.d
@@ -24,7 +24,7 @@ Relocation section '\.rel\.debug_line' at offset .* contains 1 entries:
   Special opcode .*: advance Address by 2 to 0xb and Line by 1 to 5
   Special opcode .*: advance Address by 4 to 0xf and Line by 1 to 6
   Special opcode .*: advance Address by 4 to 0x13 and Line by 1 to 7
-  Advance PC by 2286 to 901
+  Advance PC by 2286 to 0x901
   Special opcode .*: advance Address by 0 to 0x901 and Line by 1 to 8
-  Advance PC by 15 to 910
+  Advance PC by 15 to 0x910
   Extended opcode 1: End of Sequence