|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug gas/28266] CWD present in object file even after use of -fdebug-prefix-map=$PWD=foo |
Date: | Fri, 10 Sep 2021 02:00:33 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28266 --- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <hjl@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=58f3b6a3495074da39ba6e19935e4401dcbacf88 commit 58f3b6a3495074da39ba6e19935e4401dcbacf88 Author: H.J. Lu <hjl.tools@gmail.com> Date: Thu Sep 9 09:14:42 2021 -0700 gas: Use the directory name in .file 0 DWARF5 allows .file 0 to take an optional directory name. Set the entry 0 of the directory table to the directory name in .file 0. PR gas/28266 * dwarf2dbg.c (get_directory_table_entry): Add an argument for the directory name in .file 0 and use it, instead of PWD. (allocate_filenum): Pass NULL to get_directory_table_entry. (allocate_filename_to_slot): Pass the incoming dirname to get_directory_table_entry. * testsuite/gas/elf/dwarf-5-file0-2.d: New file. * testsuite/gas/elf/dwarf-5-file0-2.s: Likewise. * testsuite/gas/elf/elf.exp: Run dwarf-5-file0-2. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |