This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH]: Use the alternative version of the lns-common-1 test for the MCore port
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Thu, 11 Jan 2007 11:15:56 +0000
- Subject: [PATCH]: Use the alternative version of the lns-common-1 test for the MCore port
Hi Guys,
The MCore target does not support a bare "nop" instruction. Hence
it needs to run the alternative version of the lns-common-1 test.
Thus I have applied the patch below.
Cheers
Nick
gas/testsuite/ChangeLog
2007-01-11 Nick Clifton <nickc@redhat.com>
* gas/lns/lns.exp (run_list_test): Run the alternative version of
the lns-common-1 test for the MCore target.
Index: gas/testsuite/gas/lns/lns.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/lns/lns.exp,v
retrieving revision 1.3
diff -c -3 -p -r1.3 lns.exp
*** gas/testsuite/gas/lns/lns.exp 8 Aug 2006 19:09:34 -0000 1.3
--- gas/testsuite/gas/lns/lns.exp 11 Jan 2007 10:57:14 -0000
*************** run_list_test "lns-diag-1" ""
*** 21,28 ****
# ??? Won't work on targets that don't have a bare "nop" insn.
# Perhaps we could arrange for an include file or something that
# defined a macro...
! if { ![istarget ia64*-*-*] && ![istarget i370-*-*] && ![istarget i960-*-*]
! && ![istarget or32-*-*] && ![istarget s390*-*-*] } {
# Use alternate file for targets using DW_LNS_fixed_advance_pc opcodes.
if { [istarget xtensa-*-*] } {
run_dump_test "lns-common-1-alt"
--- 21,32 ----
# ??? Won't work on targets that don't have a bare "nop" insn.
# Perhaps we could arrange for an include file or something that
# defined a macro...
! if { ![istarget ia64*-*-*]
! && ![istarget i370-*-*]
! && ![istarget i960-*-*]
! && ![istarget mcore-*-*]
! && ![istarget or32-*-*]
! && ![istarget s390*-*-*] } {
# Use alternate file for targets using DW_LNS_fixed_advance_pc opcodes.
if { [istarget xtensa-*-*] } {
run_dump_test "lns-common-1-alt"