gas: Make sure to only add an md5 to a .file when requested.
authorMark Wielaard <mark@klomp.org>
Mon, 7 Sep 2020 11:08:07 +0000 (12:08 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 7 Sep 2020 11:08:07 +0000 (12:08 +0100)
* dwarf2dbg.c (dwarf2_directive_filename): Initialize with_md5 to
FALSE.
* gas/testsuite/gas/elf/dwarf-5-file0.s: Add a random bignum.

gas/ChangeLog
gas/dwarf2dbg.c
gas/testsuite/gas/elf/dwarf-5-file0.s

index 41c92cf9c728ea26d7dde81c5a553947ce3458e5..76dfea74af78102dc3390b15f93c5f3ac32f409a 100644 (file)
@@ -1,3 +1,9 @@
+2020-09-07  +2020-08-28  Mark Wielaard  <mark@klomp.org>
+
+       * dwarf2dbg.c (dwarf2_directive_filename): Initialize with_md5 to
+       FALSE.
+       * gas/testsuite/gas/elf/dwarf-5-file0.s: Add a random bignum.
+
 2020-09-01  Mark Wielaard  <mark@klomp.org>
 
        * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_sec_offset for DWARF
index 8d19c1d938cace7f369f8157a99387557311ed69..30a98e0fc5456b6e25fcc4d73c699e376edc0b62 100644 (file)
@@ -1014,7 +1014,7 @@ dwarf2_emit_label (symbolS *label)
 char *
 dwarf2_directive_filename (void)
 {
-  bfd_boolean with_md5 = TRUE;
+  bfd_boolean with_md5 = FALSE;
   valueT num;
   char *filename;
   const char * dirname = NULL;
index 2792ba8c441730e15910b8ea87078537973a2a48..9ac15a052bb71cba2875f46a3b3efeb8b3b9c9ac 100644 (file)
@@ -8,7 +8,7 @@
        .file 0 "master directory/master source file"
        .line 1
        .text
-       .word 0
+       .octa 0x12345678901234567890123456789012
 
        .file 1 "secondary directory/secondary source file"
        .line 2