PATCH: Also expect .zdebug in debug section name
H.J. Lu
hjl.tools@gmail.com
Mon Nov 15 21:08:00 GMT 2010
On Mon, Nov 15, 2010 at 10:20 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Mon, Nov 15, 2010 at 7:35 AM, Jan Beulich <JBeulich@novell.com> wrote:
>>>>> On 15.11.10 at 14:12, "H.J. Lu" <hjl.tools@gmail.com> wrote:
>>> On Mon, Nov 15, 2010 at 12:05 AM, Jan Beulich <JBeulich@novell.com> wrote:
>>>>>>> On 13.11.10 at 17:16, "H.J. Lu" <hongjiu.lu@intel.com> wrote:
>>>>> --- 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:
>>>>
>>>> Why not \.z?debug_ranges ?
>>>>
>>>
>>> What is the difference?
>>
>> It's smaller, and hence easier to read (and extend, should that
>> ever be necessary).
>>
>> Jan
>>
>>
>
> This is what I checked in.
I checked in this to fix a typo.
--
H.J.
---
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index e67cbd5..c7a55aa 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2010-11-15 H.J. Lu <hongjiu.lu@intel.com>
+ * binutils-all/compress.exp: Replace binutils_assemble with
+ binutils_assemble_flags for --nocompress-debug-sections.
+
+2010-11-15 H.J. Lu <hongjiu.lu@intel.com>
+
* binutils-all/compress.exp: Pass --nocompress-debug-sections to
assembler for uncompressed debug sections.
diff --git a/binutils/testsuite/binutils-all/compress.exp
b/binutils/testsuite/binutils-all/compress.exp
index a1c1ba8..91ed7e4 100644
--- a/binutils/testsuite/binutils-all/compress.exp
+++ b/binutils/testsuite/binutils-all/compress.exp
@@ -28,7 +28,7 @@ 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
--nocompress-debug-sections] } then {
+if { ![binutils_assemble_flags $srcdir/$subdir/dw2-1.S $testfile
--nocompress-debug-sections] } then {
unsupported "compressed debug sections"
return
}
More information about the Binutils
mailing list