Add addr2line, objcopy and strip tests for compressed debug sections.
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 14 Jul 2010 19:46:01 +0000 (19:46 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 14 Jul 2010 19:46:01 +0000 (19:46 +0000)
commit368886ac463c9e75337621a29292de8ff5744ce6
tree4cc193fa9c72affe05c2b03908b8ec08e426d199
parent3cbaedfff7a843d64792766c0322ea3a66ef6cb2
Add addr2line, objcopy and strip tests for compressed debug sections.

binutils/testsuite/

2010-07-14  H.J. Lu  <hongjiu.lu@intel.com>

* config/default.exp (binutils_assemble): Use
default_binutils_assemble_flags.
(binutils_assemble_flags): New.

* lib/utils-lib.exp (default_binutils_assemble): Renamed to ...
(default_binutils_assemble_flags): This.  Add asflags and
pass it to target_assemble.
(run_dump_test): Support assembler flags.

* binutils-all/i386/compressed-1.s: New.
* binutils-all/i386/compressed-1a.d: Likewise.
* binutils-all/i386/compressed-1b.d: Likewise.
* binutils-all/i386/compressed-1c.d: Likewise.
* binutils-all/i386/i386.exp: Likewise.
* binutils-all/x86-64/compressed-1.s: Likewise.
* binutils-all/x86-64/compressed-1a.d: Likewise.
* binutils-all/x86-64/compressed-1b.d: Likewise.
* binutils-all/x86-64/compressed-1c.d: Likewise.
* binutils-all/x86-64/x86-64.exp: Likewise.

gas/testsuite/

2010-07-14  H.J. Lu  <hongjiu.lu@intel.com>

* config/default.exp (ADDR2LINE): New.
(ADDR2LINEFLAGS): Likewise.

* gas/i386/i386.exp: Run dw2-compress-2 and x86-64-dw2-compress-2.

* gas/i386/dw2-compress-2.d: New.
* gas/i386/dw2-compress-2.s: Likewise.
* gas/i386/x86-64-dw2-compress-2.d: Likewise.
* gas/i386/x86-64-dw2-compress-2.s: Likewise.

* lib/gas-defs.exp (run_dump_test): Support addr2line as dump
program.
(slurp_options): Allow numbers in options.
21 files changed:
binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/i386/compressed-1.s [new file with mode: 0644]
binutils/testsuite/binutils-all/i386/compressed-1a.d [new file with mode: 0644]
binutils/testsuite/binutils-all/i386/compressed-1b.d [new file with mode: 0644]
binutils/testsuite/binutils-all/i386/compressed-1c.d [new file with mode: 0644]
binutils/testsuite/binutils-all/i386/i386.exp [new file with mode: 0644]
binutils/testsuite/binutils-all/x86-64/compressed-1.s [new file with mode: 0644]
binutils/testsuite/binutils-all/x86-64/compressed-1a.d [new file with mode: 0644]
binutils/testsuite/binutils-all/x86-64/compressed-1b.d [new file with mode: 0644]
binutils/testsuite/binutils-all/x86-64/compressed-1c.d [new file with mode: 0644]
binutils/testsuite/binutils-all/x86-64/x86-64.exp [new file with mode: 0644]
binutils/testsuite/config/default.exp
binutils/testsuite/lib/utils-lib.exp
gas/testsuite/ChangeLog
gas/testsuite/config/default.exp
gas/testsuite/gas/i386/dw2-compress-2.d [new file with mode: 0644]
gas/testsuite/gas/i386/dw2-compress-2.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-dw2-compress-2.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-dw2-compress-2.s [new file with mode: 0644]
gas/testsuite/lib/gas-defs.exp
This page took 0.029678 seconds and 4 git commands to generate.