mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00

readelf_wi_test checks the DW_AT_LANGUAGE is recognized by matching against ANSI C. But for the new DWARF5 DW_LANG_C11 readelf simply prints "C11", not prefixed with ANSI (DW_LANG_C is "non-ANSI C", DW_LANG_C89 is "ANSI C" and DW_LANG_C99 is "ANSI-C99"). Adjust the testcase instead of readelf because C11 seems a fine name. binutils/ChangeLog: * testsuite/binutils-all/readelf.exp (readelf_wi_test): Also recognize DW_LANG_C11.