aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-06-28 11:31:14 +0000
committerNick Clifton <nickc@redhat.com>2012-06-28 11:31:14 +0000
commit453dc3f0101420a5f44b50e4f0425ac8edc64e0c (patch)
tree70f247ca991b7ad91ea6d54951d8adff26848308 /gas/testsuite
parent1d7975eb5300c59c69e1c15cfc98fa8894a5a906 (diff)
downloadgdb-453dc3f0101420a5f44b50e4f0425ac8edc64e0c.zip
gdb-453dc3f0101420a5f44b50e4f0425ac8edc64e0c.tar.gz
gdb-453dc3f0101420a5f44b50e4f0425ac8edc64e0c.tar.bz2
* dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using
linker relaxation. (dwarf2_gen_line_info): Generate real, local, labels for line numbers. (dwarf2dbg_convert_frag): Do not finalize the computation of the frag's symbol value when linker relaxation is enabled. (ADDR_DELTA_LIMIT): Define. (size_fixed_inc_line_addr): Use ADDR_DELTA_LIMIT. (emit_fixed_inc_line_addr): Likewise. * write.c (fixup_segment): If the subtraction of two symbols cannot be resolved but is valid, then prevent bogus range warnings by pre-biasing add_number. * config/tc-h8300.h (DWARF2_USE_FIXED_ADVANCE_PC): Define to 0. * gas/lns/lns.exp: Use alternate lns-common test for targets enabling linker relaxation. * gas/lns/lns-big-delta.d: Allow for output from architectures with 32-bit addresses.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/lns/lns-big-delta.d4
-rw-r--r--gas/testsuite/gas/lns/lns.exp5
3 files changed, 13 insertions, 3 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 729b748..d76f013 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2012-06-28 Nick Clifton <nickc@redhat.com>
+
+ * gas/lns/lns.exp: Use alternate lns-common test for targets
+ enabling linker relaxation.
+ * gas/lns/lns-big-delta.d: Allow for output from architectures
+ with 32-bit addresses.
+
2012-06-27 Alan Modra <amodra@gmail.com>
* gas/i386/rep-ret.s: Zero pad section.
diff --git a/gas/testsuite/gas/lns/lns-big-delta.d b/gas/testsuite/gas/lns/lns-big-delta.d
index 43b48d8..b6a113e 100644
--- a/gas/testsuite/gas/lns/lns-big-delta.d
+++ b/gas/testsuite/gas/lns/lns-big-delta.d
@@ -10,8 +10,8 @@ Raw dump of debug contents of section \.debug_line:
Advance PC by fixed size amount 0 to 0x0
Copy
Advance Line by 1 to 3
- Extended opcode 2: set Address to 0x124fc
+ Extended opcode 2: set Address to 0x.....
Copy
- Advance PC by fixed size amount 4 to 0x12500
+ Advance PC by fixed size amount . to 0x.....
Extended opcode 1: End of Sequence
#pass
diff --git a/gas/testsuite/gas/lns/lns.exp b/gas/testsuite/gas/lns/lns.exp
index 4fba663..30e2688 100644
--- a/gas/testsuite/gas/lns/lns.exp
+++ b/gas/testsuite/gas/lns/lns.exp
@@ -17,7 +17,10 @@ if {
&& ![istarget s390*-*-*]
} {
# Use alternate file for targets using DW_LNS_fixed_advance_pc opcodes.
- if { [istarget xtensa*-*-*] } {
+ if { [istarget xtensa*-*-*]
+ || [istarget am3*-*-*]
+ || [istarget cr16-*-*]
+ || [istarget mn10*-*-*] } {
run_dump_test "lns-common-1-alt"
run_dump_test "lns-big-delta"
} elseif { [istarget ia64*-*-*] } {