commit | 490ce7e8178261a3aa15c30fc19073c85b5f3a0b | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Thu May 15 08:29:37 2025 +0930 |
committer | Alan Modra <amodra@gmail.com> | Thu May 15 08:45:46 2025 +0930 |
tree | c94e39cebb551e4fd3704a96a4c5252efe18a395 | |
parent | 6d007cc9c2aa597ce14cce2991e91d06f83df1b1 [diff] |
gas .file 0 vs. dwarf5 Support added in commit 3417bfca676f for dwarf5 directory table 0 assumed that .file 0 was always the first debug .file directive. That's not necessarily true. * dwarf2dbg.c (get_directory_table_entry): Don't assume entry 1 is available after putting DW_AT_comp_dir in entry 0. Pass pwd as file0_dirname to recursive call to avoid another getpwd in the case file0_dirname is NULL.