summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/elf/dwarf-5-dir0.d
Commit message (Collapse)AuthorAgeFilesLines
* readelf: print 0x0 as 0, and remove trailing spacesAlan Modra2022-08-131-3/+3
| | | | | | This changes readelf output a little, removing the 0x prefix on hex output when the value is 0, except in cases where a fixed field width is shown. %#010x is not a good replacement for 0x%08x.
* GAS: DWARF-5: Ensure that the 0'th entry in the directory table contains the ↵Nick Clifton2021-08-091-0/+20
current working directory. * dwarf2dbg.c (get_directory_table_entry): Ensure that dir[0] contains current working directory. (out_dir_and_file_list): Likewise. * testsuite/gas/elf/dwarf-5-dir0.s: New test source file. * testsuite/gas/elf/dwarf-5-dir0.d: New test driver. * testsuite/gas/elf/elf.exp: Run the new test. * testsuite/gas/elf/dwarf-5-file0.d: Adjust expected output. * testsuite/gas/i386/dwarf5-line-1.d: Likewise. * testsuite/gas/i386/dwarf5-line-2.d: Likewise.