diff options
author | Nick Clifton <nickc@redhat.com> | 2020-03-06 17:13:22 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-03-06 17:13:22 +0000 |
commit | 84d9ab33f3dc542c5f20abb9026240cfd48ccd97 (patch) | |
tree | cbdd933a1952a9f71c90f3e43e0265cb96390995 /gas/config | |
parent | 436b5e99c8eef55433f2c1de35d8f960425aa4c1 (diff) | |
download | gdb-84d9ab33f3dc542c5f20abb9026240cfd48ccd97.zip gdb-84d9ab33f3dc542c5f20abb9026240cfd48ccd97.tar.gz gdb-84d9ab33f3dc542c5f20abb9026240cfd48ccd97.tar.bz2 |
Add support for a ".file 0" directive if supporting DWARF 5 or higher.
PR 25614
* dwarf2dbg.c (dwarf2_directive_filename): Allow a file number of
0 if the dwarf_level is 5 or more. Complain if a filename follows
a file 0.
* testsuite/gas/elf/dwarf-5-file0.s: New test.
* testsuite/gas/elf/dwarf-5-file0.d: New test driver.
* testsuite/gas/elf/elf.exp: Run the new test.
PR 25612
* config/tc-ia64.h (DWARF2_VERISION): Fix typo.
* doc/as.texi: Fix another typo.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-ia64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-ia64.h b/gas/config/tc-ia64.h index 3a50f86..e982e57 100644 --- a/gas/config/tc-ia64.h +++ b/gas/config/tc-ia64.h @@ -325,5 +325,5 @@ typedef struct unwind_record /* VMS backtraces expect dwarf version 3. */ #ifdef TE_VMS -#define DWARF2_VERSION (dwarf_level < 3 ? 3 : debug_level) +#define DWARF2_VERSION (dwarf_level < 3 ? 3 : dwarf_level) #endif |