aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texi
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-10-16 04:03:20 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-10-16 04:07:59 -0700
commit6915020bb134ae29fd772295c66fd67b5944962d (patch)
tree8876a55aaee7877e764b0b1a576c36483d457ac3 /ld/ld.texi
parent23ae20f5e3afeeab9aa616c63ab3b357668476d5 (diff)
downloadgdb-6915020bb134ae29fd772295c66fd67b5944962d.zip
gdb-6915020bb134ae29fd772295c66fd67b5944962d.tar.gz
gdb-6915020bb134ae29fd772295c66fd67b5944962d.tar.bz2
gas: Reuse the input file entry in the file table
Some instructions can be emitted (dwarf2_emit_insn is called) before the first .file <NUMBER> directive has been seen, which allocates the input file as the first file entry. Reuse the input file entry in the file table. PR gas/25878 PR gas/26740 * dwarf2dbg.c (file_entry): Remove auto_assigned. (assign_file_to_slot): Remove the auto_assign argument. (allocate_filenum): Updated. (allocate_filename_to_slot): Reuse the input file entry in the file table. (dwarf2_where): Replace as_where with as_where_physical. * testsuite/gas/i386/dwarf5-line-1.d: New file. * testsuite/gas/i386/dwarf5-line-1.s: Likewise. * testsuite/gas/i386/i386.exp: Run dwarf5-line-1.
Diffstat (limited to 'ld/ld.texi')
0 files changed, 0 insertions, 0 deletions