Fix --gdwarf-5 configure tests for Windows
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 24 Jun 2021 10:53:24 +0000 (12:53 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Thu, 24 Jun 2021 12:11:32 +0000 (14:11 +0200)
commitaca1213627d1d5e5a70ce956cf227be9ae9b4022
tree5cbecc347885dc75a5133854db1aa0f8f57ac1bc
parent2898a02fd5e51e4562be2dc16b755288400e4456
Fix --gdwarf-5 configure tests for Windows

The issues are that 1) they use readelf instead of objdump and 2) they use
ELF syntax in the assembly code.

gcc/
* configure.ac (--gdwarf-5 option): Use objdump instead of readelf.
(working --gdwarf-4/--gdwarf-5 for all sources): Likewise.
(--gdwarf-4 not refusing generated .debug_line): Adjust for Windows.
* configure: Regenerate.
gcc/configure
gcc/configure.ac