diff options
author | Jan Beulich <jbeulich@novell.com> | 2005-02-14 08:02:51 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2005-02-14 08:02:51 +0000 |
commit | f1dab70d1a825b97aac510777cc023dc3b6ff8f4 (patch) | |
tree | b2ec962009912594020e3c580a2d1a67dd776b32 /ld/testsuite/ld-elfvers | |
parent | 20b36a95ab568a0de00130164834322706e59d1d (diff) | |
download | gdb-f1dab70d1a825b97aac510777cc023dc3b6ff8f4.zip gdb-f1dab70d1a825b97aac510777cc023dc3b6ff8f4.tar.gz gdb-f1dab70d1a825b97aac510777cc023dc3b6ff8f4.tar.bz2 |
gas/
2005-02-13 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (md_parse_option): Handle -xnone and -xdebugn.
(md_show_usage): Add -xnone, -xdebugn, and -xdebugx. Relocate default
indicator.
(ia64_init): Set md.detect_dv.
(ia64_start_line): New static variable warned. Warn only once when
encountering explicit stops in automatic mode.
* doc/c-ia64.texi: Describe -xnone, -xdebugn, and -xdebugx.
* NEWS: Mention new default mode.
gas/testsuite/
2005-02-13 Jan Beulich <jbeulich@novell.com>
* gas/ia64/label.l: Adjust line numbers.
* gas/ia64/label.s: Add .explicit.
* gas/ia64/nop_x.s: Likewise.
* gas/ia64/opc-a.d: Add assembler option -xnone.
* gas/ia64/opc-b.d: Likewise.
* gas/ia64/opc-f.d: Likewise.
* gas/ia64/opc-i.d: Likewise.
* gas/ia64/opc-m.d: Likewise.
* gas/ia64/opc-x.d: Likewise.
* gas/ia64/pseudo.d: Likewise.
* gas/ia64/regs.d: Likewise.
* gas/ia64/tls.d: Likewise.
* gas/ia64/unwind-err.l: Adjust line numbers.
* gas/ia64/unwind-err.s: Remove explicit stops.
ld/testsuite/
2005-02-13 Jan Beulich <jbeulich@novell.com>
* ld-elfvers/vers.exp (as_options): New. Set to -x for ia64.
(build_binary): Pass as_options to ld_assemble.
(test_ldfail): Likewise.
(build_exec): Likewise.
Pass as_options to run_ld_link_tests.
* ld-ia64/tlsbin.s: Add .explicit.
* ld-ia64/tlsbinpic.s: Likewise.
* ld-ia64/tlspic1.s: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elfvers')
-rw-r--r-- | ld/testsuite/ld-elfvers/vers.exp | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp index 9662a6b..d2562b7 100644 --- a/ld/testsuite/ld-elfvers/vers.exp +++ b/ld/testsuite/ld-elfvers/vers.exp @@ -91,6 +91,11 @@ if [istarget mips*-*-*] { } } +case $target_triplet in { + { ia64-*-* } { set as_options "-x" } + default { set as_options "" } +} + proc test_ar { test lib object expect } { global ar global nm @@ -506,6 +511,7 @@ proc build_binary { shared pic test source libname other mapfile verexp versymex global host_triplet global tmpdir global as + global as_options global objdump global CC global CFLAGS @@ -516,7 +522,7 @@ proc build_binary { shared pic test source libname other mapfile verexp versymex return } - if ![ld_assemble $as $tmpdir/$libname.s $tmpdir/$libname.o ] { + if ![ld_assemble $as "$as_options $tmpdir/$libname.s" $tmpdir/$libname.o ] { unresolved "$test" return } @@ -593,6 +599,7 @@ proc test_ldfail { test flag source execname other mapfile whyfail } { global host_triplet global tmpdir global as + global as_options global objdump global CC global CFLAGS @@ -609,7 +616,7 @@ proc test_ldfail { test flag source execname other mapfile whyfail } { return } - if ![ld_assemble $as $tmpdir/$execname.s $tmpdir/$execname.o ] { + if ![ld_assemble $as "$as_options $tmpdir/$execname.s" $tmpdir/$execname.o ] { unresolved "$test" return } @@ -697,6 +704,7 @@ proc build_exec { test source execname flags solibname verexp versymexp symexp } global host_triplet global tmpdir global as + global as_options global objdump global CC global CFLAGS @@ -708,7 +716,7 @@ proc build_exec { test source execname flags solibname verexp versymexp symexp } return } - if ![ld_assemble $as $tmpdir/$execname.s $tmpdir/$execname.o ] { + if ![ld_assemble $as "$as_options $tmpdir/$execname.s" $tmpdir/$execname.o ] { unresolved "$test" return } @@ -910,15 +918,15 @@ if [istarget sparc*-*-*] { } run_ld_link_tests [list "\"vers24a\" \"-shared --version-script $srcdir/$subdir/vers24.map\" - \"$as_pic_flags\" {vers24a.c vers24b.c} { { readelf -Wrs vers24.rd } } + \"$as_pic_flags $as_options\" {vers24a.c vers24b.c} { { readelf -Wrs vers24.rd } } \"libvers24a.so\" \"-fpic\""] run_ld_link_tests [list "\"vers24b\" \"-shared --version-script $srcdir/$subdir/vers24.map\" - \"$as_pic_flags\" {vers24b.c vers24a.c} { { readelf -Wrs vers24.rd } } + \"$as_pic_flags $as_options\" {vers24b.c vers24a.c} { { readelf -Wrs vers24.rd } } \"libvers24b.so\" \"-fpic\""] run_ld_link_tests [list "\"vers24c\" \"-shared --version-script $srcdir/$subdir/vers24.map\" - \"$as_pic_flags\" {vers24c.c} { { readelf -Wrs vers24.rd } } + \"$as_pic_flags $as_options\" {vers24c.c} { { readelf -Wrs vers24.rd } } \"libvers24c.so\" \"-fpic\""] # Test versioned definition vs. normal definition in different files. |