aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJie Zhang <jie.zhang@analog.com>2009-09-05 15:00:09 +0000
committerJie Zhang <jie.zhang@analog.com>2009-09-05 15:00:09 +0000
commitf8739b83b92b49dfac975156a871d696c8e461fc (patch)
treef82b9efa92bd36291c31298364159660dcb9fce9 /ld
parent4a29415da4fb415ce1090cd4902ed32044cfd435 (diff)
downloadgdb-f8739b83b92b49dfac975156a871d696c8e461fc.zip
gdb-f8739b83b92b49dfac975156a871d696c8e461fc.tar.gz
gdb-f8739b83b92b49dfac975156a871d696c8e461fc.tar.bz2
gas/
* doc/as.texinfo: Document that Blackfin GAS does not accept SYMBOL = VALUE. ld/testsuite/ * ld-elf/sec64k.exp: Use ".set" instead of "=" for bfin-*-*.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-elf/sec64k.exp12
2 files changed, 14 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index fcd40e6..679613c 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-05 Jie Zhang <jie.zhang@analog.com>
+
+ * ld-elf/sec64k.exp: Use ".set" instead of "=" for bfin-*-*.
+
2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com>
* ld-pe/longsecn.d: Adjusted to match new .text section merging
diff --git a/ld/testsuite/ld-elf/sec64k.exp b/ld/testsuite/ld-elf/sec64k.exp
index 05daf25..bab47c3 100644
--- a/ld/testsuite/ld-elf/sec64k.exp
+++ b/ld/testsuite/ld-elf/sec64k.exp
@@ -77,9 +77,17 @@ for { set i 0 } { $i < $max_sec / $secs_per_file } { incr i } {
puts $ofd "bar_\\secn:"
puts $ofd " .dc.a bar_\\secn"
puts $ofd " .endm"
- puts $ofd " secn = [expr $i * $secs_per_file]"
+ if {![istarget "bfin-*-*"]} then {
+ puts $ofd " secn = [expr $i * $secs_per_file]"
+ } else {
+ puts $ofd " .set secn, [expr $i * $secs_per_file]"
+ }
puts $ofd " .rept $secs_per_file"
- puts $ofd " secn = secn + 1"
+ if {![istarget "bfin-*-*"]} then {
+ puts $ofd " secn = secn + 1"
+ } else {
+ puts $ofd " .set secn, secn + 1"
+ }
puts $ofd " sec %(secn), %(secn-1)"
puts $ofd " .endr"