This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch gas]: Add 'e' for coff targets as section-specifier
- From: "Jan Beulich" <JBeulich at suse dot com>
- To: "Kai Tietz" <ktietz70 at googlemail dot com>
- Cc: "Richard Henderson" <rth at redhat dot com>, "Binutils" <binutils at sourceware dot org>
- Date: Wed, 28 Sep 2011 11:40:15 +0100
- Subject: Re: [patch gas]: Add 'e' for coff targets as section-specifier
- References: <CAEwic4b1VPSf=wvZ5rPN7c02HAz-2FLAaO2gnKrwtNFAsLSQZA@mail.gmail.com>
>>> On 27.09.11 at 20:35, Kai Tietz <ktietz70@googlemail.com> wrote:
> --- /dev/null
> +++ src/gas/testsuite/gas/pe/section-exclude.d
> @@ -0,0 +1,20 @@
> +#objdump: -h
> +#name: section exclude
> +
> +# Test that 'e' works in .section directives.
> +
> +.*: .*
> +
> +Sections:
> +Idx Name *Size *VMA *LMA *File off *Algn
> + 3 .foo1 00000004 0000000000000000 0000000000000000 000000b4
> 2**2
> + CONTENTS, EXCLUDE
> + 0 \.text 0*0000000 0*0000000 0*0000000 0*0000000 2\*\*[24]
> +.*
> + 1 \.data 0*0000000 0*0000000 0*0000000 0*0000000 2\*\*[24]
> +.*
> + 2 \.bss 0*0000000 0*0000000 0*0000000 0*0000000 2\*\*[24]
> +.*
> + 3 \.foo1 0*0000004 0*0000000 0*0000000 0*0000000 2\*\*[24]
> +.*CONTENS, EXCLUDE
> +.*
This new test causes
Running /home/jbeulich/cpp/binutils/mainline-cvs/2011-09-28/gas/testsuite/gas/pe/pe.exp ...
ERROR: tcl error sourcing /home/jbeulich/cpp/binutils/mainline-cvs/2011-09-28/gas/testsuite/gas/pe/pe.exp.
ERROR: couldn't compile regular expression pattern: quantifier operand invalid
while executing
"regexp "^$line_bx$" "$line_a""
(procedure "regexp_diff" line 106)
invoked from within
"regexp_diff "dump.out" "${dumpfile}" $regexp_subst"
(procedure "run_dump_test" line 329)
invoked from within
"run_dump_test "section-exclude""
(file "/home/jbeulich/cpp/binutils/mainline-cvs/2011-09-28/gas/testsuite/gas/pe/pe.exp" line 38)
invoked from within
"source /home/jbeulich/cpp/binutils/mainline-cvs/2011-09-28/gas/testsuite/gas/pe/pe.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source /home/jbeulich/cpp/binutils/mainline-cvs/2011-09-28/gas/testsuite/gas/pe/pe.exp"
invoked from within
"catch "uplevel #0 source $test_file_name""
on an older system of mine.
Jan