* dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using
authorNick Clifton <nickc@redhat.com>
Thu, 28 Jun 2012 11:31:14 +0000 (11:31 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 28 Jun 2012 11:31:14 +0000 (11:31 +0000)
commit453dc3f0101420a5f44b50e4f0425ac8edc64e0c
tree70f247ca991b7ad91ea6d54951d8adff26848308
parent1d7975eb5300c59c69e1c15cfc98fa8894a5a906
* 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.
gas/ChangeLog
gas/config/tc-h8300.h
gas/dwarf2dbg.c
gas/testsuite/ChangeLog
gas/testsuite/gas/lns/lns-big-delta.d
gas/testsuite/gas/lns/lns.exp
gas/write.c