diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-07-05 15:07:20 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-07-05 15:07:20 +0000 |
commit | df1c40a732c509d6729b2874d7e08987b7815490 (patch) | |
tree | efa004eff372ae9b16ed80de22e5ed266991a72a /binutils | |
parent | 5b9144488e69022bcaba2ed410ac777ed22272c2 (diff) | |
download | gdb-df1c40a732c509d6729b2874d7e08987b7815490.zip gdb-df1c40a732c509d6729b2874d7e08987b7815490.tar.gz gdb-df1c40a732c509d6729b2874d7e08987b7815490.tar.bz2 |
Don't generate .debug_line section if it isn't empty.
binutils/testsuite/
2010-07-05 H.J. Lu <hongjiu.lu@intel.com>
PR gas/10531
PR gas/11789
* binutils-all/objdump.W: Remove bogus line debug info.
gas/
2010-07-05 Jim Wilson <wilson@codesourcery.com>
PR gas/10531
PR gas/11789
* dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
if it isn't empty.
gas/testsuite/
2010-07-05 H.J. Lu <hongjiu.lu@intel.com>
PR gas/10531
PR gas/11789
* gas/i386/dw2-compress-1.d: Remove bogus line debug info.
* gas/elf/dwarf2-1.d: New.
* gas/elf/dwarf2-1.s: Likewise.
* gas/elf/dwarf2-2.d: Likewise.
* gas/elf/dwarf2-2.s: Likewise.
* gas/elf/dwarf2-3.d: Likewise.
* gas/elf/dwarf2-3.s: Likewise.
* gas/i386/debug1.d: Likewise.
* gas/i386/debug1.s: Likewise.
* gas/elf/elf.exp: Run dwarf2-1, dwarf2-2 and dwarf2-3.
* gas/i386/i386.exp: Run debug1 for both 32bit and 64bit.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/objdump.W | 30 |
2 files changed, 6 insertions, 30 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 1f4d19b..49e9371 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-07-05 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10531 + PR gas/11789 + * binutils-all/objdump.W: Remove bogus line debug info. + 2010-05-18 H.J. Lu <hongjiu.lu@intel.com> PR gas/11600 diff --git a/binutils/testsuite/binutils-all/objdump.W b/binutils/testsuite/binutils-all/objdump.W index aa1bd2c..5f65063 100644 --- a/binutils/testsuite/binutils-all/objdump.W +++ b/binutils/testsuite/binutils-all/objdump.W @@ -73,36 +73,6 @@ Raw dump of debug contents of section .debug_line: Extended opcode 1: End of Sequence - Offset: 0x42 - Length: 25 - DWARF Version: 2 - Prologue Length: 19 - Minimum Instruction Length: [1248] - Initial value of 'is_stmt': 1 - Line Base: -5 - Line Range: 14 - Opcode Base: 13 - - Opcodes: - Opcode 1 has 0 args - Opcode 2 has 1 args - Opcode 3 has 1 args - Opcode 4 has 1 args - Opcode 5 has 1 args - Opcode 6 has 0 args - Opcode 7 has 0 args - Opcode 8 has 0 args - Opcode 9 has 1 args - Opcode 10 has 0 args - Opcode 11 has 0 args - Opcode 12 has 1 args - - The Directory Table is empty. - - The File Name Table is empty. - - Line Number Statements: - Contents of the .zdebug_abbrev section: Number TAG |