From 5e16c34e1ebbe631cae18c85f8ba30b1f5d5ee3c Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 15 Nov 2010 18:14:09 +0000 Subject: [PATCH] Also expect .zdebug in DWARF debug section name. binutils/testsuite/ 2010-11-15 H.J. Lu * 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 * 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 | 7 +++++++ binutils/testsuite/binutils-all/compress.exp | 4 ++-- binutils/testsuite/binutils-all/testranges.d | 2 +- gas/testsuite/ChangeLog | 7 +++++++ gas/testsuite/gas/elf/dwarf2-3.d | 2 +- gas/testsuite/gas/i386/debug1.d | 2 +- gas/testsuite/gas/lns/lns-common-1.d | 2 +- gas/testsuite/gas/lns/lns-duplicate.d | 2 +- 8 files changed, 21 insertions(+), 7 deletions(-) diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 8480a3b59..e67cbd5a8 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2010-11-15 H.J. Lu + + * 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 * 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 fdf71fb81..a1c1ba820 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 c074a35fc..07f97503c 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 diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 594a5c93a..e9d1130ee 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2010-11-15 H.J. Lu + + * 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 PR gas/12198 diff --git a/gas/testsuite/gas/elf/dwarf2-3.d b/gas/testsuite/gas/elf/dwarf2-3.d index 44a2a6d17..0e728dda1 100644 --- a/gas/testsuite/gas/elf/dwarf2-3.d +++ b/gas/testsuite/gas/elf/dwarf2-3.d @@ -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 diff --git a/gas/testsuite/gas/i386/debug1.d b/gas/testsuite/gas/i386/debug1.d index 437e38f24..ae1eb2933 100644 --- a/gas/testsuite/gas/i386/debug1.d +++ b/gas/testsuite/gas/i386/debug1.d @@ -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: .* diff --git a/gas/testsuite/gas/lns/lns-common-1.d b/gas/testsuite/gas/lns/lns-common-1.d index e28896f37..ad0d41538 100644 --- a/gas/testsuite/gas/lns/lns-common-1.d +++ b/gas/testsuite/gas/lns/lns-common-1.d @@ -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 #... diff --git a/gas/testsuite/gas/lns/lns-duplicate.d b/gas/testsuite/gas/lns/lns-duplicate.d index 4e2864932..1bf2b5649 100644 --- a/gas/testsuite/gas/lns/lns-duplicate.d +++ b/gas/testsuite/gas/lns/lns-duplicate.d @@ -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 .* -- 2.11.4.GIT