diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2011-06-08 04:47:04 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2011-06-08 04:47:04 +0000 |
commit | 83c5d36fc5a5cebce17f43a00f6ca36df8cd56bd (patch) | |
tree | 5a3eea34efe84e9b50d7409375e2079e38d92c16 /ld/testsuite/ld-elf/elf.exp | |
parent | e6455dfbc2dae8cc91f64b4120e87e138970cf84 (diff) | |
download | gdb-83c5d36fc5a5cebce17f43a00f6ca36df8cd56bd.zip gdb-83c5d36fc5a5cebce17f43a00f6ca36df8cd56bd.tar.gz gdb-83c5d36fc5a5cebce17f43a00f6ca36df8cd56bd.tar.bz2 |
Add a testcase for warning on common symbol in archive.
2011-06-07 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/elf.exp: Build symbol3.a and symbol3w.a.
* ld-elf/symbol3.s: New.
* ld-elf/symbol3w.s: Likewise.
* ld-elf/warn3.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/elf.exp')
-rw-r--r-- | ld/testsuite/ld-elf/elf.exp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp index b9ff0bd..e991f83 100644 --- a/ld/testsuite/ld-elf/elf.exp +++ b/ld/testsuite/ld-elf/elf.exp @@ -40,6 +40,15 @@ if { [is_remote host] } then { remote_download host merge.ld } +run_ld_link_tests { + {"Build symbol3.a" + "" "" + {symbol3.s} {} "symbol3.a"} + {"Build symbol3w.a" + "" "" + {symbol3w.s} {} "symbol3w.a"} +} + set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]] foreach t $test_list { # We need to strip the ".d", but can leave the dirname. |