This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[patch, testsuite] Use Alternative version of lns-common-1 test for AVR port
- From: "Sivanupandi, Pitchumani" <Pitchumani dot Sivanupandi at atmel dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Cc: Nick Clifton <nickc at redhat dot com>, Denis Chertykov <chertykov at gmail dot com>, Alan Modra <amodra at gmail dot com>
- Date: Fri, 29 Apr 2016 14:14:42 +0000
- Subject: [patch, testsuite] Use Alternative version of lns-common-1 test for AVR port
- Authentication-results: sourceware.org; auth=none
Hi,
AVR target doesn't disable/ undef DWARF2_USE_FIXED_ADVANCE_PC; It generates
DW_LNS_fixed_advance_pc opcodes for line number information by default. So,
AVR target shall expect alternate output file for lns-common-1 test (lns.exp).
This patch adds avr target to the list of targets that expect alternate
output for test lns-common-1.
If Ok, Could someone commit please? I do not have commit access.
Regards,
Pitchumani
gas/ChangeLog
2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
* testsuite/gas/lns/lns.exp: Add avr to list of targets using
DW_LNS_fixed_advance_pc.
diff --git a/gas/testsuite/gas/lns/lns.exp b/gas/testsuite/gas/lns/lns.exp
index b17e644..567db67 100644
--- a/gas/testsuite/gas/lns/lns.exp
+++ b/gas/testsuite/gas/lns/lns.exp
@@ -33,6 +33,7 @@ if {
} {
# Use alternate file for targets using DW_LNS_fixed_advance_pc opcodes.
if { [istarget am3*-*-*]
+ || [istarget avr*-*-*]
|| [istarget cr16-*-*]
|| [istarget crx-*-*]
|| [istarget mn10*-*-*]