Also expect .zdebug in DWARF debug section name.
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 15 Nov 2010 18:14:11 +0000 (18:14 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 15 Nov 2010 18:14:11 +0000 (18:14 +0000)
binutils/testsuite/

2010-11-15  H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/compress.exp: Pass --nocompress-debug-sections to
assembler for uncompressed debug sections.

* binutils-all/testranges.d: Also expect .zdebug in section name.

gas/testsuite/

2010-11-15  H.J. Lu  <hongjiu.lu@intel.com>

* gas/elf/dwarf2-3.d: Also expect .zdebug in section name.
* gas/i386/debug1.d: Likewise.
* gas/lns/lns-common-1.d: Likewise.
* gas/lns/lns-duplicate.d: Likewise.

binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/compress.exp
binutils/testsuite/binutils-all/testranges.d
gas/testsuite/ChangeLog
gas/testsuite/gas/elf/dwarf2-3.d
gas/testsuite/gas/i386/debug1.d
gas/testsuite/gas/lns/lns-common-1.d
gas/testsuite/gas/lns/lns-duplicate.d

index 8480a3b..e67cbd5 100644 (file)
@@ -1,3 +1,10 @@
+2010-11-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * binutils-all/compress.exp: Pass --nocompress-debug-sections to
+       assembler for uncompressed debug sections.
+
+       * binutils-all/testranges.d: Also expect .zdebug in section name.
+
 2010-11-08  Thomas Schwinge  <thomas@schwinge.name>
 
        * lib/utils-lib.exp (is_elf_format): Consider for *-*-gnu*, too.
index fdf71fb..a1c1ba8 100644 (file)
@@ -28,8 +28,8 @@ set compressedfile2 tmpdir/dw2-2-compressed.o
 set libfile tmpdir/libdw2.a
 set compressedcopyfile tmpdir/dw2-copy-compressed
 
-if { ![binutils_assemble $srcdir/$subdir/dw2-1.S $testfile] } then {
-    fail "compressed debug sections"
+if { ![binutils_assemble $srcdir/$subdir/dw2-1.S $testfile --nocompress-debug-sections] } then {
+    unsupported "compressed debug sections"
     return
 }
 
index c074a35..07f9750 100644 (file)
@@ -4,7 +4,7 @@
 #name: unordered .debug_info references to .debug_ranges
 #not-target: ia64-*-*
 
-Contents of the .debug_ranges section:
+Contents of the \.z?debug_ranges section:
 
     Offset   Begin    End
     00000000 00000001 00000002 
index 594a5c9..e9d1130 100644 (file)
@@ -1,3 +1,10 @@
+2010-11-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/elf/dwarf2-3.d: Also expect .zdebug in section name.
+       * gas/i386/debug1.d: Likewise.
+       * gas/lns/lns-common-1.d: Likewise.
+       * gas/lns/lns-duplicate.d: Likewise.
+
 2010-11-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
 
        PR gas/12198
index 44a2a6d..0e728dd 100644 (file)
@@ -2,7 +2,7 @@
 #name: DWARF2 3
 #not-target: ia64-*-* h8300-*-*
 
-Raw dump of debug contents of section .debug_line:
+Raw dump of debug contents of section \.z?debug_line:
 
   Offset:                      0x0
   Length:                      41
index 437e38f..ae1eb29 100644 (file)
@@ -2,7 +2,7 @@
 #readelf: -wl
 #name: DWARF2 debugging information 1
 
-Raw dump of debug contents of section .debug_line:
+Raw dump of debug contents of section \.z?debug_line:
 
   Offset:                      0x0
   Length:                      .*
index e28896f..ad0d415 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wl
 #name: lns-common-1
-Raw dump of debug contents of section \.debug_line:
+Raw dump of debug contents of section \.z?debug_line:
 #...
   Initial value of 'is_stmt':  1
 #...
index 4e28649..1bf2b56 100644 (file)
@@ -1,6 +1,6 @@
 #readelf: -wl
 #name: lns-duplicate
-Raw dump of debug contents of section \.debug_line:
+Raw dump of debug contents of section \.z?debug_line:
 #...
  Line Number Statements:
   Extended opcode 2: set Address to .*