diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-10-17 05:35:23 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-10-17 05:35:23 -0700 |
commit | 7ffdc9ae6ed88601e7f422ab117fe3abeef110dc (patch) | |
tree | 047f27fdd1635eaac63d2f42abdf638beb480674 /gas | |
parent | bd0c565edbf4ba8121fded38e389530d7fa6f963 (diff) | |
download | binutils-7ffdc9ae6ed88601e7f422ab117fe3abeef110dc.zip binutils-7ffdc9ae6ed88601e7f422ab117fe3abeef110dc.tar.gz binutils-7ffdc9ae6ed88601e7f422ab117fe3abeef110dc.tar.bz2 |
gas: Replace dwarf5-line-2.S with dwarf5-line-3.S
PR gas/25878
PR gas/26740
* testsuite/gas/i386/dwarf5-line-3.s: Replace dwarf5-line-2.S
with dwarf5-line-3.S.
* testsuite/gas/i386/dwarf5-line-3.d: Updated.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/dwarf5-line-3.d | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/dwarf5-line-3.s | 2 |
3 files changed, 12 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index bcc538e..a55302c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -2,6 +2,14 @@ PR gas/25878 PR gas/26740 + * testsuite/gas/i386/dwarf5-line-3.s: Replace dwarf5-line-2.S + with dwarf5-line-3.S. + * testsuite/gas/i386/dwarf5-line-3.d: Updated. + +2020-10-17 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/25878 + PR gas/26740 * dwarf2dbg.c (allocate_filename_to_slot): Don't reuse the slot 1 here. (dwarf2_where): Restore as_where. diff --git a/gas/testsuite/gas/i386/dwarf5-line-3.d b/gas/testsuite/gas/i386/dwarf5-line-3.d index 6f4ebf0..0159b96 100644 --- a/gas/testsuite/gas/i386/dwarf5-line-3.d +++ b/gas/testsuite/gas/i386/dwarf5-line-3.d @@ -1,6 +1,6 @@ #as: -g -gdwarf-5 #readelf: -wl -#name: DWARF5 .debug_line 2 +#name: DWARF5 .debug_line 3 Raw dump of debug contents of section \.z?debug_line: @@ -37,8 +37,8 @@ Raw dump of debug contents of section \.z?debug_line: The File Name Table \(offset 0x.*, lines 2, columns 2\): Entry Dir Name - 0 0 \(indirect line string, offset: 0x.*\): dwarf5-line-2.S - 1 0 \(indirect line string, offset: 0x.*\): dwarf5-line-2.S + 0 0 \(indirect line string, offset: 0x.*\): dwarf5-line-3.S + 1 0 \(indirect line string, offset: 0x.*\): dwarf5-line-3.S Line Number Statements: \[0x.*\] Extended opcode 2: set Address to 0x0 diff --git a/gas/testsuite/gas/i386/dwarf5-line-3.s b/gas/testsuite/gas/i386/dwarf5-line-3.s index 52e259d..2c761e3 100644 --- a/gas/testsuite/gas/i386/dwarf5-line-3.s +++ b/gas/testsuite/gas/i386/dwarf5-line-3.s @@ -4,7 +4,7 @@ # 31 "<command-line>" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "<command-line>" 2 -# 1 "dwarf5-line-2.S" +# 1 "dwarf5-line-3.S" .text lbasename: .nop |