summaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-11-15 18:14:09 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-11-15 18:14:09 +0000
commit5e16c34e1ebbe631cae18c85f8ba30b1f5d5ee3c (patch)
tree853538d1d3ed314e89902270a496d1b524a1f380 /binutils/testsuite
parentb22edb65646f0ffa82ca340240baae77aa5c8673 (diff)
downloadbinutils-redhat-5e16c34e1ebbe631cae18c85f8ba30b1f5d5ee3c.tar.gz
Also expect .zdebug in DWARF debug section name.
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.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/ChangeLog7
-rw-r--r--binutils/testsuite/binutils-all/compress.exp4
-rw-r--r--binutils/testsuite/binutils-all/testranges.d2
3 files changed, 10 insertions, 3 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 8480a3b590..e67cbd5a87 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -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.
diff --git a/binutils/testsuite/binutils-all/compress.exp b/binutils/testsuite/binutils-all/compress.exp
index fdf71fb816..a1c1ba8209 100644
--- a/binutils/testsuite/binutils-all/compress.exp
+++ b/binutils/testsuite/binutils-all/compress.exp
@@ -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
}
diff --git a/binutils/testsuite/binutils-all/testranges.d b/binutils/testsuite/binutils-all/testranges.d
index c074a35fcd..07f97503c3 100644
--- a/binutils/testsuite/binutils-all/testranges.d
+++ b/binutils/testsuite/binutils-all/testranges.d
@@ -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