[PATCH] Recognize DW_LANG_C11 in readelf testsuite.
Nick Clifton
nickc@redhat.com
Fri Aug 21 13:14:42 GMT 2020
Hi Mark,
> +2020-08-21 Mark Wielaard <mark@klomp.org>
> +
> + * testsuite/binutils-all/readelf.exp (readelf_wi_test): Also
> + recognize DW_LANG_C11.
> +
> 2020-08-19 Alan Modra <amodra@gmail.com>
>
> PR 26349
> diff --git a/binutils/testsuite/binutils-all/readelf.exp b/binutils/testsuite/binutils-all/readelf.exp
> index d7f47da68de..1fb36ae5c49 100644
> --- a/binutils/testsuite/binutils-all/readelf.exp
> +++ b/binutils/testsuite/binutils-all/readelf.exp
> @@ -188,7 +188,7 @@ proc readelf_wi_test {} {
> ".*DW_TAG_subprogram.*"
> ".*DW_TAG_base_type.*"
> ".*DW_AT_producer.*(GNU C|indirect string).*"
> - ".*DW_AT_language.*ANSI C.*"
> + ".*DW_AT_language.*(ANSI C|C11).*"
> ".*DW_AT_name.*(testprog.c|indirect string).*"
> ".*DW_AT_name.*fn.*"
> ".*DW_AT_name.*(main|indirect string).*"
Approved - please apply.
Cheers
Nick
More information about the Binutils
mailing list