This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Binutils branch 2.20 (done!)
Alan Modra wrote:
On Sat, Sep 05, 2009 at 10:20:56PM +0800, Jie Zhang wrote:
ld/testsuite/
* ld-elf/sec64k.exp: Use ".set" instead of "=" for bfin-*-*.
This is fine.
Thanks. I have committed the attached patch on HEAD and
binutils-2_20-branch.
Jie
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-*-*.
Index: gas/doc/as.texinfo
===================================================================
RCS file: /cvs/src/src/gas/doc/as.texinfo,v
retrieving revision 1.208
diff -u -r1.208 as.texinfo
--- gas/doc/as.texinfo 4 Sep 2009 02:31:44 -0000 1.208
+++ gas/doc/as.texinfo 5 Sep 2009 14:47:55 -0000
@@ -3272,6 +3272,10 @@
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
Index: ld/testsuite/ld-elf/sec64k.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/sec64k.exp,v
retrieving revision 1.16
diff -u -r1.16 sec64k.exp
--- ld/testsuite/ld-elf/sec64k.exp 2 Sep 2009 07:25:39 -0000 1.16
+++ ld/testsuite/ld-elf/sec64k.exp 5 Sep 2009 14:47:55 -0000
@@ -77,9 +77,17 @@
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"