diff options
author | Mark Wielaard <mark@klomp.org> | 2020-09-07 12:08:07 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-09-07 12:08:07 +0100 |
commit | b0b3ea7e10443f211267babcac99ac6677d593ce (patch) | |
tree | 8be0f36e304a3e2984ea148775944907a7d41500 /gas | |
parent | f49c58803d249d7872540817dce9959cae19a524 (diff) | |
download | gdb-b0b3ea7e10443f211267babcac99ac6677d593ce.zip gdb-b0b3ea7e10443f211267babcac99ac6677d593ce.tar.gz gdb-b0b3ea7e10443f211267babcac99ac6677d593ce.tar.bz2 |
gas: Make sure to only add an md5 to a .file when requested.
* dwarf2dbg.c (dwarf2_directive_filename): Initialize with_md5 to
FALSE.
* gas/testsuite/gas/elf/dwarf-5-file0.s: Add a random bignum.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/dwarf2dbg.c | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/dwarf-5-file0.s | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 41c92cf..76dfea7 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index 8d19c1d..30a98e0 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -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; diff --git a/gas/testsuite/gas/elf/dwarf-5-file0.s b/gas/testsuite/gas/elf/dwarf-5-file0.s index 2792ba8..9ac15a0 100644 --- a/gas/testsuite/gas/elf/dwarf-5-file0.s +++ b/gas/testsuite/gas/elf/dwarf-5-file0.s @@ -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 |