diff options
-rw-r--r-- | gas/dwarf2dbg.c | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/dwarf-5-nop-for-line-table.d | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index 7300bfe..8e91bef 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -2279,7 +2279,7 @@ out_dir_and_file_list (segT line_seg, int sizeof_offset) files[0].filename = files[1].filename; files[0].dir = files[1].dir; if (emit_md5) - for (j = 0; i < NUM_MD5_BYTES; ++j) + for (j = 0; j < NUM_MD5_BYTES; ++j) files[0].md5[j] = files[1].md5[j]; } else diff --git a/gas/testsuite/gas/elf/dwarf-5-nop-for-line-table.d b/gas/testsuite/gas/elf/dwarf-5-nop-for-line-table.d index 651a1a2..6137bc5 100644 --- a/gas/testsuite/gas/elf/dwarf-5-nop-for-line-table.d +++ b/gas/testsuite/gas/elf/dwarf-5-nop-for-line-table.d @@ -1,6 +1,6 @@ #as: --gdwarf-5 #name: Check line table is produced with .nops -#readelf: -wL +#readelf: -W -wL #... Contents of the .debug_line section: |