diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-01-18 06:25:05 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-01-18 06:25:17 -0800 |
commit | 705989f19adf20dd70c50237ec61cd708f2b0939 (patch) | |
tree | 155d39d16f36b66359d9a8f92d7e51a5e43c8ce0 /gdb/testsuite/gdb.fortran/array-slices.exp | |
parent | 6a9ad81c449922e8c0d3228c18422f68136eef17 (diff) | |
download | binutils-705989f19adf20dd70c50237ec61cd708f2b0939.zip binutils-705989f19adf20dd70c50237ec61cd708f2b0939.tar.gz binutils-705989f19adf20dd70c50237ec61cd708f2b0939.tar.bz2 |
as: Automatically enable DWARF5 support
Currently
$ as -o x.o x.s
fails when x.s contains DWARF5 ".file 0" or ".loc 0" directives. Update
assembler to automatically enable DWARF5 support so that
$ gcc -S -g -c x.c
$ gcc -c x.s
works.
PR gas/27195
* dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
needed.
(dwarf2_directive_filename): Likewise.
(dwarf2_directive_loc): Likewise.
* testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
* testsuite/gas/lns/lns-diag-1.l: Remove the
"Error: file number less than one" errors.
Diffstat (limited to 'gdb/testsuite/gdb.fortran/array-slices.exp')
0 files changed, 0 insertions, 0 deletions