aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-h8300.h
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/config/tc-h8300.h
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/config/tc-h8300.h')
-rw-r--r--gas/config/tc-h8300.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/tc-h8300.h b/gas/config/tc-h8300.h
index 73d4840..f86cf94 100644
--- a/gas/config/tc-h8300.h
+++ b/gas/config/tc-h8300.h
@@ -51,6 +51,7 @@ struct internal_reloc;
/* Minimum instruction is of 16 bits. */
#define DWARF2_LINE_MIN_INSN_LENGTH 2
+#define DWARF2_USE_FIXED_ADVANCE_PC 0
#ifdef OBJ_ELF
/* Provide mappings from the original H8 COFF relocation names to