Fix ld testcases on c6x
Alan Modra
amodra@gmail.com
Wed May 11 11:56:00 GMT 2011
On Wed, May 11, 2011 at 01:10:23PM +0200, Bernd Schmidt wrote:
> +if { ![ld_assemble $as "$as_opt $srcdir/$subdir/tbss.s" tmpdir/tbss.o ]
> + || ![ld_assemble $as "$as_opt $srcdir/$subdir/frame.s" tmpdir/frame.o] }
Passing options like this in the "source" parameter of ld_assemble
isn't the cleanest way. Better would be to twiddle ASFLAGS (See
ld-frv/tls.exp for an example). I'll OK your patch changed to use
ASFLAGS.
Best would be to add an "asflags" parameter to ld_assemble but I won't
ask for that since I probably wouldn't bother to do so myself..
Preapproved if you do care to go that route.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list