From: Jie Zhang Date: Sat, 5 Sep 2009 15:00:09 +0000 (+0000) Subject: gas/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8739b83b92b49dfac975156a871d696c8e461fc;p=binutils-gdb.git 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-*-*. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 251bf53c916..f5253a8990c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2009-09-05 Jie Zhang + + * doc/as.texinfo: Document that Blackfin GAS does not + accept SYMBOL = VALUE. + 2009-09-05 Martin Thuresson * config/tc-arc.c (struct syntax_classes): Rename member class diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index c9bc1a3ef94..2d9188d3e50 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -3272,6 +3272,10 @@ directive. @xref{Set,,@code{.set}}. In the same way, using a double equals sign @samp{=}@samp{=} here represents an equivalent of the @code{.eqv} directive. @xref{Eqv,,@code{.eqv}}. +@ifset Blackfin +Blackfin does not support symbol assignment with @samp{=}. +@end ifset + @node Symbol Names @section Symbol Names diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index fcd40e65df5..679613c3858 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2009-09-05 Jie Zhang + + * ld-elf/sec64k.exp: Use ".set" instead of "=" for bfin-*-*. + 2009-09-03 Dave Korn * 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 05daf25f67f..bab47c352d7 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"