This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix readelf -wl sign and hex prefixes


The more important part is using unsigned long and %lu for things
that are supposed to be unsigned in the dump.  The less important,
but affecting the testsuite, is adding the 0x prefix to the one
hex number that didn't have it.


r~


        * readelf.c (display_debug_lines): Use unsigned long for address
        increments.  Use 0x prefix for all hex numbers.

	* 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.

? binutils/doc/binutils.info
Index: binutils/readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.315
diff -u -p -d -r1.315 readelf.c
--- binutils/readelf.c	9 Sep 2005 13:12:21 -0000	1.315
+++ binutils/readelf.c	20 Sep 2005 17:52:06 -0000
@@ -9561,6 +9561,7 @@ display_debug_lines (Elf_Internal_Shdr *
 	{
 	  unsigned char op_code;
 	  int adv;
+	  unsigned long int uladv;
 	  unsigned int bytes_read;
 
 	  op_code = *data++;
@@ -9568,10 +9569,10 @@ display_debug_lines (Elf_Internal_Shdr *
 	  if (op_code >= info.li_opcode_base)
 	    {
 	      op_code -= info.li_opcode_base;
-	      adv      = (op_code / info.li_line_range) * info.li_min_insn_length;
-	      state_machine_regs.address += adv;
-	      printf (_("  Special opcode %d: advance Address by %d to 0x%lx"),
-		      op_code, adv, state_machine_regs.address);
+	      uladv = (op_code / info.li_line_range) * info.li_min_insn_length;
+	      state_machine_regs.address += uladv;
+	      printf (_("  Special opcode %d: advance Address by %lu to 0x%lx"),
+		      op_code, uladv, state_machine_regs.address);
 	      adv = (op_code % info.li_line_range) + info.li_line_base;
 	      state_machine_regs.line += adv;
 	      printf (_(" and Line by %d to %d\n"),
@@ -9595,10 +9596,11 @@ display_debug_lines (Elf_Internal_Shdr *
 	      break;
 
 	    case DW_LNS_advance_pc:
-	      adv = info.li_min_insn_length * read_leb128 (data, & bytes_read, 0);
+	      uladv = read_leb128 (data, & bytes_read, 0);
+	      uladv *= info.li_min_insn_length;
 	      data += bytes_read;
-	      state_machine_regs.address += adv;
-	      printf (_("  Advance PC by %d to %lx\n"), adv,
+	      state_machine_regs.address += uladv;
+	      printf (_("  Advance PC by %lu to 0x%lx\n"), uladv,
 		      state_machine_regs.address);
 	      break;
 
@@ -9619,10 +9621,10 @@ display_debug_lines (Elf_Internal_Shdr *
 	      break;
 
 	    case DW_LNS_set_column:
-	      adv = read_leb128 (data, & bytes_read, 0);
+	      uladv = read_leb128 (data, & bytes_read, 0);
 	      data += bytes_read;
-	      printf (_("  Set column to %d\n"), adv);
-	      state_machine_regs.column = adv;
+	      printf (_("  Set column to %lu\n"), uladv);
+	      state_machine_regs.column = uladv;
 	      break;
 
 	    case DW_LNS_negate_stmt:
@@ -9638,19 +9640,19 @@ display_debug_lines (Elf_Internal_Shdr *
 	      break;
 
 	    case DW_LNS_const_add_pc:
-	      adv = (((255 - info.li_opcode_base) / info.li_line_range)
-		     * info.li_min_insn_length);
-	      state_machine_regs.address += adv;
-	      printf (_("  Advance PC by constant %d to 0x%lx\n"), adv,
+	      uladv = (((255 - info.li_opcode_base) / info.li_line_range)
+		      * info.li_min_insn_length);
+	      state_machine_regs.address += uladv;
+	      printf (_("  Advance PC by constant %lu to 0x%lx\n"), uladv,
 		      state_machine_regs.address);
 	      break;
 
 	    case DW_LNS_fixed_advance_pc:
-	      adv = byte_get (data, 2);
+	      uladv = byte_get (data, 2);
 	      data += 2;
-	      state_machine_regs.address += adv;
-	      printf (_("  Advance PC by fixed size amount %d to 0x%lx\n"),
-		      adv, state_machine_regs.address);
+	      state_machine_regs.address += uladv;
+	      printf (_("  Advance PC by fixed size amount %lu to 0x%lx\n"),
+		      uladv, state_machine_regs.address);
 	      break;
 
 	    case DW_LNS_set_prologue_end:
@@ -9662,9 +9664,9 @@ display_debug_lines (Elf_Internal_Shdr *
 	      break;
 
 	    case DW_LNS_set_isa:
-	      adv = read_leb128 (data, & bytes_read, 0);
+	      uladv = read_leb128 (data, & bytes_read, 0);
 	      data += bytes_read;
-	      printf (_("  Set ISA to %d\n"), adv);
+	      printf (_("  Set ISA to %lu\n"), uladv);
 	      break;
 
 	    default:
Index: gas/testsuite/gas/cris/rd-dw2-1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-dw2-1.d,v
retrieving revision 1.5
diff -u -p -d -r1.5 rd-dw2-1.d
--- gas/testsuite/gas/cris/rd-dw2-1.d	7 Sep 2005 18:46:16 -0000	1.5
+++ gas/testsuite/gas/cris/rd-dw2-1.d	20 Sep 2005 17:52:07 -0000
@@ -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
Index: gas/testsuite/gas/cris/rd-dw2-10.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-dw2-10.d,v
retrieving revision 1.5
diff -u -p -d -r1.5 rd-dw2-10.d
--- gas/testsuite/gas/cris/rd-dw2-10.d	7 Sep 2005 18:46:16 -0000	1.5
+++ gas/testsuite/gas/cris/rd-dw2-10.d	20 Sep 2005 17:52:07 -0000
@@ -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
Index: gas/testsuite/gas/cris/rd-dw2-11.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-dw2-11.d,v
retrieving revision 1.2
diff -u -p -d -r1.2 rd-dw2-11.d
--- gas/testsuite/gas/cris/rd-dw2-11.d	7 Sep 2005 18:46:16 -0000	1.2
+++ gas/testsuite/gas/cris/rd-dw2-11.d	20 Sep 2005 17:52:07 -0000
@@ -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
Index: gas/testsuite/gas/cris/rd-dw2-12.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-dw2-12.d,v
retrieving revision 1.3
diff -u -p -d -r1.3 rd-dw2-12.d
--- gas/testsuite/gas/cris/rd-dw2-12.d	7 Sep 2005 18:46:16 -0000	1.3
+++ gas/testsuite/gas/cris/rd-dw2-12.d	20 Sep 2005 17:52:07 -0000
@@ -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
Index: gas/testsuite/gas/cris/rd-dw2-13.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-dw2-13.d,v
retrieving revision 1.2
diff -u -p -d -r1.2 rd-dw2-13.d
--- gas/testsuite/gas/cris/rd-dw2-13.d	7 Sep 2005 18:46:16 -0000	1.2
+++ gas/testsuite/gas/cris/rd-dw2-13.d	20 Sep 2005 17:52:07 -0000
@@ -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
Index: gas/testsuite/gas/cris/rd-dw2-14.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-dw2-14.d,v
retrieving revision 1.2
diff -u -p -d -r1.2 rd-dw2-14.d
--- gas/testsuite/gas/cris/rd-dw2-14.d	7 Sep 2005 18:46:16 -0000	1.2
+++ gas/testsuite/gas/cris/rd-dw2-14.d	20 Sep 2005 17:52:07 -0000
@@ -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
Index: gas/testsuite/gas/cris/rd-dw2-15.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-dw2-15.d,v
retrieving revision 1.2
diff -u -p -d -r1.2 rd-dw2-15.d
--- gas/testsuite/gas/cris/rd-dw2-15.d	7 Sep 2005 18:46:16 -0000	1.2
+++ gas/testsuite/gas/cris/rd-dw2-15.d	20 Sep 2005 17:52:07 -0000
@@ -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
Index: gas/testsuite/gas/cris/rd-dw2-2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-dw2-2.d,v
retrieving revision 1.2
diff -u -p -d -r1.2 rd-dw2-2.d
--- gas/testsuite/gas/cris/rd-dw2-2.d	7 Sep 2005 18:46:16 -0000	1.2
+++ gas/testsuite/gas/cris/rd-dw2-2.d	20 Sep 2005 17:52:07 -0000
@@ -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
Index: gas/testsuite/gas/cris/rd-dw2-3.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-dw2-3.d,v
retrieving revision 1.2
diff -u -p -d -r1.2 rd-dw2-3.d
--- gas/testsuite/gas/cris/rd-dw2-3.d	7 Sep 2005 18:46:16 -0000	1.2
+++ gas/testsuite/gas/cris/rd-dw2-3.d	20 Sep 2005 17:52:07 -0000
@@ -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
Index: gas/testsuite/gas/cris/rd-dw2-4.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-dw2-4.d,v
retrieving revision 1.2
diff -u -p -d -r1.2 rd-dw2-4.d
--- gas/testsuite/gas/cris/rd-dw2-4.d	7 Sep 2005 18:46:16 -0000	1.2
+++ gas/testsuite/gas/cris/rd-dw2-4.d	20 Sep 2005 17:52:07 -0000
@@ -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
Index: gas/testsuite/gas/cris/rd-dw2-5.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-dw2-5.d,v
retrieving revision 1.2
diff -u -p -d -r1.2 rd-dw2-5.d
--- gas/testsuite/gas/cris/rd-dw2-5.d	7 Sep 2005 18:46:16 -0000	1.2
+++ gas/testsuite/gas/cris/rd-dw2-5.d	20 Sep 2005 17:52:07 -0000
@@ -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
Index: gas/testsuite/gas/cris/rd-dw2-6.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-dw2-6.d,v
retrieving revision 1.2
diff -u -p -d -r1.2 rd-dw2-6.d
--- gas/testsuite/gas/cris/rd-dw2-6.d	7 Sep 2005 18:46:16 -0000	1.2
+++ gas/testsuite/gas/cris/rd-dw2-6.d	20 Sep 2005 17:52:07 -0000
@@ -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
Index: gas/testsuite/gas/cris/rd-dw2-7.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-dw2-7.d,v
retrieving revision 1.2
diff -u -p -d -r1.2 rd-dw2-7.d
--- gas/testsuite/gas/cris/rd-dw2-7.d	7 Sep 2005 18:46:16 -0000	1.2
+++ gas/testsuite/gas/cris/rd-dw2-7.d	20 Sep 2005 17:52:07 -0000
@@ -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
Index: gas/testsuite/gas/cris/rd-dw2-8.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-dw2-8.d,v
retrieving revision 1.2
diff -u -p -d -r1.2 rd-dw2-8.d
--- gas/testsuite/gas/cris/rd-dw2-8.d	7 Sep 2005 18:46:16 -0000	1.2
+++ gas/testsuite/gas/cris/rd-dw2-8.d	20 Sep 2005 17:52:07 -0000
@@ -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
Index: gas/testsuite/gas/cris/rd-dw2-9.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cris/rd-dw2-9.d,v
retrieving revision 1.2
diff -u -p -d -r1.2 rd-dw2-9.d
--- gas/testsuite/gas/cris/rd-dw2-9.d	7 Sep 2005 18:46:16 -0000	1.2
+++ gas/testsuite/gas/cris/rd-dw2-9.d	20 Sep 2005 17:52:07 -0000
@@ -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
Index: gas/testsuite/gas/mips/mips16-dwarf2-n32.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/mips16-dwarf2-n32.d,v
retrieving revision 1.2
diff -u -p -d -r1.2 mips16-dwarf2-n32.d
--- gas/testsuite/gas/mips/mips16-dwarf2-n32.d	7 Sep 2005 19:08:54 -0000	1.2
+++ gas/testsuite/gas/mips/mips16-dwarf2-n32.d	20 Sep 2005 17:52:07 -0000
@@ -24,7 +24,7 @@ Relocation section '\.rela\.debug_line' 
   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
Index: gas/testsuite/gas/mips/mips16-dwarf2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/mips16-dwarf2.d,v
retrieving revision 1.3
diff -u -p -d -r1.3 mips16-dwarf2.d
--- gas/testsuite/gas/mips/mips16-dwarf2.d	7 Sep 2005 19:08:54 -0000	1.3
+++ gas/testsuite/gas/mips/mips16-dwarf2.d	20 Sep 2005 17:52:07 -0000
@@ -24,7 +24,7 @@ Relocation section '\.rel\.debug_line' a
   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]