bfd_boolean emit_filesize = TRUE;
/* Output the Directory Table. */
-
if (DWARF2_LINE_VERSION >= 5)
{
out_byte (1);
}
/* Emit directory list. */
- if (DWARF2_LINE_VERSION >= 5)
+ if (DWARF2_LINE_VERSION >= 5 && dirs_in_use > 0)
{
if (dirs == NULL || dirs[0] == NULL)
dir = remap_debug_filename (".");
out_byte ('\0');
/* Output the File Name Table. */
-
if (DWARF2_LINE_VERSION >= 5)
{
unsigned int columns = 4;
/* The number of format entries to follow. */
out_byte (columns);
-
/* The format of the file name. */
out_uleb128 (DW_LNCT_path);
/* FIXME: it would be better to store these strings in