aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2005-02-14 08:02:51 +0000
committerJan Beulich <jbeulich@novell.com>2005-02-14 08:02:51 +0000
commitf1dab70d1a825b97aac510777cc023dc3b6ff8f4 (patch)
treeb2ec962009912594020e3c580a2d1a67dd776b32 /ld
parent20b36a95ab568a0de00130164834322706e59d1d (diff)
downloadgdb-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')
-rw-r--r--ld/testsuite/ChangeLog11
-rw-r--r--ld/testsuite/ld-elfvers/vers.exp20
-rw-r--r--ld/testsuite/ld-ia64/tlsbin.s1
-rw-r--r--ld/testsuite/ld-ia64/tlsbinpic.s3
-rw-r--r--ld/testsuite/ld-ia64/tlspic1.s3
5 files changed, 30 insertions, 8 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 336b4e5..b0ab8c4 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,14 @@
+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.
+
2005-02-13 Eric Botcazou <ebotcazou@libertysurf.fr>
* ld-sparc/tlssunnopic32.rd: Adjust for .dynsym changes.
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.
diff --git a/ld/testsuite/ld-ia64/tlsbin.s b/ld/testsuite/ld-ia64/tlsbin.s
index f27318c..7b5f34a 100644
--- a/ld/testsuite/ld-ia64/tlsbin.s
+++ b/ld/testsuite/ld-ia64/tlsbin.s
@@ -16,6 +16,7 @@ bl5: .space 4
bl6: .space 4
bl7: .space 4
bl8: .space 4
+ .explicit
.pred.safe_across_calls p1-p5,p16-p63
.text
.globl _start#
diff --git a/ld/testsuite/ld-ia64/tlsbinpic.s b/ld/testsuite/ld-ia64/tlsbinpic.s
index 88a0543..f061343 100644
--- a/ld/testsuite/ld-ia64/tlsbinpic.s
+++ b/ld/testsuite/ld-ia64/tlsbinpic.s
@@ -31,9 +31,10 @@ sh5: .long 261
sh6: .long 262
sh7: .long 263
sh8: .long 264
+ .explicit
+ .pred.safe_across_calls p1-p5,p16-p63
/* Force .text aligned to 4K, so it very likely gets at
0x4000000000001000. */
- .pred.safe_across_calls p1-p5,p16-p63
.text
.balign 4096
.globl fn2#
diff --git a/ld/testsuite/ld-ia64/tlspic1.s b/ld/testsuite/ld-ia64/tlspic1.s
index 8465607..5242d28 100644
--- a/ld/testsuite/ld-ia64/tlspic1.s
+++ b/ld/testsuite/ld-ia64/tlspic1.s
@@ -30,8 +30,9 @@ sh5: .long 261
sh6: .long 262
sh7: .long 263
sh8: .long 264
- /* Force .text aligned to 4K, so it very likely gets at 0x1000. */
+ .explicit
.pred.safe_across_calls p1-p5,p16-p63
+ /* Force .text aligned to 4K, so it very likely gets at 0x1000. */
.text
.balign 4096
.globl fn1#