]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
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)
committerMark Wielaard <mark@klomp.org>
Mon, 14 Sep 2020 22:25:33 +0000 (00:25 +0200)
* 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 fe31e5b74eb5e886e615d4bc24ab95db7a2ef8c5..d71d0387fd803f9b06cb86aab683da14003eabeb 100644 (file)
@@ -1,3 +1,12 @@
+2020-09-14  Mark Wielaard  <mark@klomp.org>
+
+       Backport from mainline:
+       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-14  Mark Wielaard  <mark@klomp.org>
 
        Backport from mainline:
index 50e4dd91fdd5711042e7b1bf1ccdd05a962aa820..cf15eda767b0018d0976316b1dbcaa00c6603e50 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