diff options
author | Tom de Vries <tdevries@suse.de> | 2020-07-10 11:25:44 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-07-10 11:25:44 +0100 |
commit | af2b31864802e6ca75b2c98ce4a4a7deb9d5c608 (patch) | |
tree | 1a7e44415b65182dba2884bd8e9c9c93ef6e074d /gas | |
parent | d882c9889312591a8bfdbc1740938780cd4032bd (diff) | |
download | gdb-af2b31864802e6ca75b2c98ce4a4a7deb9d5c608.zip gdb-af2b31864802e6ca75b2c98ce4a4a7deb9d5c608.tar.gz gdb-af2b31864802e6ca75b2c98ce4a4a7deb9d5c608.tar.bz2 |
[readelf] Fix end_seq entry in -wL. Specifically stop the display of a line number and is_statement/has-view fields for the End of Sequence operator, as these have no meaning.
binutils* dwarf.c (display_debug_lines_decoded): Don't emit meaningless
information in the end_sequence row.
* testsuite/binutils-all/dw5.W: Update.
* testsuite/binutils-all/objdump.WL: Update.
gas * testsuite/gas/elf/dwarf2-11.d: Update expected output from
readelf's line table decoding.
* testsuite/gas/elf/dwarf2-12.d: Likewise.
* testsuite/gas/elf/dwarf2-13.d: Likewise.
* testsuite/gas/elf/dwarf2-14.d: Likewise.
* testsuite/gas/elf/dwarf2-15.d: Likewise.
* testsuite/gas/elf/dwarf2-16.d: Likewise.
* testsuite/gas/elf/dwarf2-17.d: Likewise.
* testsuite/gas/elf/dwarf2-18.d: Likewise.
* testsuite/gas/elf/dwarf2-19.d: Likewise.
* testsuite/gas/elf/dwarf2-5.d: Likewise.
* testsuite/gas/elf/dwarf2-6.d: Likewise.
* testsuite/gas/elf/dwarf2-7.d: Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 16 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/dwarf2-11.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/dwarf2-12.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/dwarf2-13.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/dwarf2-14.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/dwarf2-15.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/dwarf2-16.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/dwarf2-17.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/dwarf2-18.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/dwarf2-19.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/dwarf2-5.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/dwarf2-6.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/dwarf2-7.d | 2 |
13 files changed, 28 insertions, 12 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 19b17c1..e107e99 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,19 @@ +2020-07-10 Tom de Vries <tdevries@suse.de> + + * testsuite/gas/elf/dwarf2-11.d: Update expected output from + readelf's line table decoding. + * testsuite/gas/elf/dwarf2-12.d: Likewise. + * testsuite/gas/elf/dwarf2-13.d: Likewise. + * testsuite/gas/elf/dwarf2-14.d: Likewise. + * testsuite/gas/elf/dwarf2-15.d: Likewise. + * testsuite/gas/elf/dwarf2-16.d: Likewise. + * testsuite/gas/elf/dwarf2-17.d: Likewise. + * testsuite/gas/elf/dwarf2-18.d: Likewise. + * testsuite/gas/elf/dwarf2-19.d: Likewise. + * testsuite/gas/elf/dwarf2-5.d: Likewise. + * testsuite/gas/elf/dwarf2-6.d: Likewise. + * testsuite/gas/elf/dwarf2-7.d: Likewise. + 2020-07-09 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (output_insn): Set YMM/ZMM features for diff --git a/gas/testsuite/gas/elf/dwarf2-11.d b/gas/testsuite/gas/elf/dwarf2-11.d index fbe1162..2c30e55 100644 --- a/gas/testsuite/gas/elf/dwarf2-11.d +++ b/gas/testsuite/gas/elf/dwarf2-11.d @@ -11,4 +11,4 @@ CU: dwarf2-11\.c: File name +Line number +Starting address +View +Stmt dwarf2-11\.c +1 +0x8 +x dwarf2-11\.c +2 +0x10 +x -dwarf2-11\.c +2 +0x10 +1 +x +dwarf2-11\.c +- +0x10 diff --git a/gas/testsuite/gas/elf/dwarf2-12.d b/gas/testsuite/gas/elf/dwarf2-12.d index eaa22e4..3acac91 100644 --- a/gas/testsuite/gas/elf/dwarf2-12.d +++ b/gas/testsuite/gas/elf/dwarf2-12.d @@ -15,4 +15,4 @@ File name +Line number +Starting address +View +Stmt dwarf2-12\.c +1 +0 +x dwarf2-12\.c +2 +0 +x dwarf2-12\.c +3 +0 +1 +x -dwarf2-12\.c +3 +0x8 +x +dwarf2-12\.c +- +0x8 diff --git a/gas/testsuite/gas/elf/dwarf2-13.d b/gas/testsuite/gas/elf/dwarf2-13.d index fd1f058..3ba269f 100644 --- a/gas/testsuite/gas/elf/dwarf2-13.d +++ b/gas/testsuite/gas/elf/dwarf2-13.d @@ -15,4 +15,4 @@ File name +Line number +Starting address +View +Stmt dwarf2-13\.c +1 +0x8 +x dwarf2-13\.c +2 +0x10 +x dwarf2-13\.c +3 +0x10 +1 +x -dwarf2-13\.c +3 +0x18 +x +dwarf2-13\.c +- +0x18 diff --git a/gas/testsuite/gas/elf/dwarf2-14.d b/gas/testsuite/gas/elf/dwarf2-14.d index c94e4a8..232a50a 100644 --- a/gas/testsuite/gas/elf/dwarf2-14.d +++ b/gas/testsuite/gas/elf/dwarf2-14.d @@ -15,4 +15,4 @@ File name +Line number +Starting address +View +Stmt dwarf2-14\.c +1 +0 +x dwarf2-14\.c +2 +0 +x dwarf2-14\.c +3 +0 +1 +x -dwarf2-14\.c +3 +0x8 +x +dwarf2-14\.c +- +0x8 diff --git a/gas/testsuite/gas/elf/dwarf2-15.d b/gas/testsuite/gas/elf/dwarf2-15.d index f4af8a8..939c615 100644 --- a/gas/testsuite/gas/elf/dwarf2-15.d +++ b/gas/testsuite/gas/elf/dwarf2-15.d @@ -15,4 +15,4 @@ File name +Line number +Starting address +View +Stmt dwarf2-15\.c +1 +0 +x dwarf2-15\.c +2 +0x8 +x dwarf2-15\.c +3 +0x8 +1 +x -dwarf2-15\.c +3 +0x10 +x +dwarf2-15\.c +- +0x10 diff --git a/gas/testsuite/gas/elf/dwarf2-16.d b/gas/testsuite/gas/elf/dwarf2-16.d index f7cdddb..8e35d49 100644 --- a/gas/testsuite/gas/elf/dwarf2-16.d +++ b/gas/testsuite/gas/elf/dwarf2-16.d @@ -16,4 +16,4 @@ File name +Line number +Starting address +View +Stmt dwarf2-16\.c +1 +0 +x dwarf2-16\.c +2 +0x8 +x dwarf2-16\.c +3 +0x8 +1 +x -dwarf2-16\.c +3 +0x10 +x +dwarf2-16\.c +- +0x10 diff --git a/gas/testsuite/gas/elf/dwarf2-17.d b/gas/testsuite/gas/elf/dwarf2-17.d index 2eb1e66..881477c 100644 --- a/gas/testsuite/gas/elf/dwarf2-17.d +++ b/gas/testsuite/gas/elf/dwarf2-17.d @@ -16,4 +16,4 @@ File name +Line number +Starting address +View +Stmt dwarf2-17\.c +1 +0 +x dwarf2-17\.c +2 +0x8 +x dwarf2-17\.c +3 +0x10 +x -dwarf2-17\.c +3 +0x18 +x +dwarf2-17\.c +- +0x18 diff --git a/gas/testsuite/gas/elf/dwarf2-18.d b/gas/testsuite/gas/elf/dwarf2-18.d index 81a075c..db7a4f9 100644 --- a/gas/testsuite/gas/elf/dwarf2-18.d +++ b/gas/testsuite/gas/elf/dwarf2-18.d @@ -16,4 +16,4 @@ File name +Line number +Starting address +View +Stmt dwarf2-18\.c +1 +0 +x dwarf2-18\.c +2 +0 +1 +x dwarf2-18\.c +3 +0x8 +x -dwarf2-18\.c +3 +0x10 +x +dwarf2-18\.c +- +0x10 diff --git a/gas/testsuite/gas/elf/dwarf2-19.d b/gas/testsuite/gas/elf/dwarf2-19.d index dd70dd3..55d0caf 100644 --- a/gas/testsuite/gas/elf/dwarf2-19.d +++ b/gas/testsuite/gas/elf/dwarf2-19.d @@ -18,4 +18,4 @@ dwarf2-19\.c +2 +0 +1 +x dwarf2-19\.c +4 +0x8 +x dwarf2-19\.c +5 +0x8 +1 +x dwarf2-19\.c +3 +0x8 +2 +x -dwarf2-19\.c +3 +0x8 +3 +x +dwarf2-19\.c +- +0x8 diff --git a/gas/testsuite/gas/elf/dwarf2-5.d b/gas/testsuite/gas/elf/dwarf2-5.d index 59f458d..4e22e79 100644 --- a/gas/testsuite/gas/elf/dwarf2-5.d +++ b/gas/testsuite/gas/elf/dwarf2-5.d @@ -75,4 +75,4 @@ dwarf2-5\.c +9 +0x20 +x dwarf2-5\.c +10 +0x20 +1 +x dwarf2-5\.c +11 +0x20 +2 +x dwarf2-5\.c +12 +0x20 +3 +x -dwarf2-5\.c +12 +0x28 +x +dwarf2-5\.c +- +0x28 diff --git a/gas/testsuite/gas/elf/dwarf2-6.d b/gas/testsuite/gas/elf/dwarf2-6.d index 5bcbc88..10fe237 100644 --- a/gas/testsuite/gas/elf/dwarf2-6.d +++ b/gas/testsuite/gas/elf/dwarf2-6.d @@ -75,4 +75,4 @@ dwarf2-6\.c *2 *0x3 *2 +x dwarf2-6\.c *3 *0x4 +x dwarf2-6\.c *3 *0x4 *1 +x dwarf2-6\.c *3 *0xf3 +x -dwarf2-6\.c *3 *0x100 +x +dwarf2-6\.c *- *0x100 diff --git a/gas/testsuite/gas/elf/dwarf2-7.d b/gas/testsuite/gas/elf/dwarf2-7.d index 59a22d0..9df320b 100644 --- a/gas/testsuite/gas/elf/dwarf2-7.d +++ b/gas/testsuite/gas/elf/dwarf2-7.d @@ -15,4 +15,4 @@ File name +Line number +Starting address +View +Stmt dwarf2-7\.c +1 +0 +x dwarf2-7\.c +2 +0 +x dwarf2-7\.c +3 +0 +1 +x -dwarf2-7\.c +3 +0x8 +x +dwarf2-7\.c +- +0x8 |