binutils-gdb/ld/testsuite/ld-avr
Alexandre Oliva ba8826a82a This patch introduces support for specifing views in .loc directives, so that the compiler can use the assembler to generate line number information and have the assembler determine view numbers to multiple views at the same program counter.
binutils* dwarf.c (struct State_Machine_Registers): Add view field.
	(reset_state_machine): Reset view.
	(process_extended_line_op): Reset view when appropriate.
	(display_debug_lines_raw): Increment or reset view when appropriate.
	Print nonzero views.  Support print view resets, disabled by default.
	(display_debug_lines_decoded): Likewise.  Disambiguate op_code tests,
	enabling printing of end_sequence.
	* testsuite/binutils-all/dw2-1.W: Add nonzero views.
	* testsuite/binutils-all/dw2-3.W: Likewise.
	* testsuite/binutils-all/dw2-3gabi.W: Likewise.
	* testsuite/binutils-all/dw5.W: Add end sequence lines.
	* testsuite/binutils-all/i386/compressed-1a.d: Add nonzero views.
	* testsuite/binutils-all/libdw2-compressedgabi.out: Likewise.
	* testsuite/binutils-all/objdump.W: Likewise.
	* testsuite/binutils-all/objdump.WL: Add end sequence lines.
	* testsuite/binutils-all/x86-64/compressed-1a.d: Add nonzero views.

gas	* doc/as.texinfo (.loc): Document view support.
	* dwarf2dbg.c (unused): Check offset of next in struct line_entry.
	(current): Initialize view.
	(force_reset_view, view_assert_failed): New variables.
	(reverse_line_entry_list): New function.
	(set_or_check_view): Likewise.
	(dwarf2_gen_line_info_1): Call it.
	(dwarf2_where): Set view to NULL.
	(dwarf2_emit_insn): Return early when called before first file.
	(dwarf2_directive_loc): Add view support.  Emit insn
	immediately when view option is given.
	(process_entries): Avoid set_address to reset view when a known
	address change already implies the view reset.
	(dwarf2dbg_final_check): New function.
	* dwarf2dbg.h (struct dwarf2_line_info): Add view.
	(dwarf2dbg_final_check): Declare.
	* read.c (s_leb128): Parse expression as deferred.
	* testsuite/gas/all/gas.exp: Run sleb128-9.
	* testsuite/gas/all/sleb128-9.d: New.
	* testsuite/gas/all/sleb128-9.l: New.
	* testsuite/gas/all/sleb128-9.s: New.
	* testsuite/gas/elf/dwarf2-1.d: Add nonzero views.
	* testsuite/gas/elf/dwarf2-2.d: Likewise.
	* testsuite/gas/elf/dwarf2-5.d: New.
	* testsuite/gas/elf/dwarf2-5.s: New.
	* testsuite/gas/elf/dwarf2-6.d: New.
	* testsuite/gas/elf/dwarf2-6.s: New.
	* testsuite/gas/elf/dwarf2-7.d: New.
	* testsuite/gas/elf/dwarf2-7.s: New.
	* testsuite/gas/elf/dwarf2-8.d: New.
	* testsuite/gas/elf/dwarf2-8.l: New.
	* testsuite/gas/elf/dwarf2-8.s: New.
	* testsuite/gas/elf/dwarf2-9.d: New.
	* testsuite/gas/elf/dwarf2-9.l: New.
	* testsuite/gas/elf/dwarf2-9.s: New.
	* testsuite/gas/elf/dwarf2-10.d: New.
	* testsuite/gas/elf/dwarf2-10.l: New.
	* testsuite/gas/elf/dwarf2-10.s: New.
	* testsuite/gas/elf/dwarf2-11.d: New.
	* testsuite/gas/elf/dwarf2-11.s: New.
	* testsuite/gas/elf/dwarf2-12.d: New.
	* testsuite/gas/elf/dwarf2-12.s: New.
	* testsuite/gas/elf/dwarf2-13.d: New.
	* testsuite/gas/elf/dwarf2-13.s: New.
	* testsuite/gas/elf/dwarf2-14.d: New.
	* testsuite/gas/elf/dwarf2-14.s: New.
	* testsuite/gas/elf/dwarf2-15.d: New.
	* testsuite/gas/elf/dwarf2-15.s: New.
	* testsuite/gas/elf/dwarf2-16.d: New.
	* testsuite/gas/elf/dwarf2-16.s: New.
	* testsuite/gas/elf/dwarf2-17.d: New.
	* testsuite/gas/elf/dwarf2-17.s: New.
	* testsuite/gas/elf/dwarf2-18.d: New.
	* testsuite/gas/elf/dwarf2-18.s: New.
	* testsuite/gas/elf/elf.exp: Run dwarf2-5..18 tests.
	* testsuite/gas/i386/dw2-compress-1.d: Add nonzero views.
	* testsuite/gas/i386/dw2-compressed-1.d: Likewise.
	* testsuite/gas/i386/ilp32/lns/lns-duplicate.d: Likewise.
	* testsuite/gas/lns/lns-big-delta.d: Likewise.
	* testsuite/gas/lns/lns-duplicate.d: Likewise.
	* testsuite/gas/mips/loc-swap-2.d: Likewise.
	* testsuite/gas/mips/loc-swap-3.d: Likewise.
	* testsuite/gas/mips/loc-swap.d: Likewise.
	* testsuite/gas/mips/micromips@loc-swap-2.d: Likewise.
	* testsuite/gas/mips/micromips@loc-swap.d: Likewise.
	* testsuite/gas/mips/mips16@loc-swap-2.d: Likewise.
	* testsuite/gas/mips/mips16@loc-swap.d: Likewise.
	* testsuite/gas/mips/mips16e@loc-swap.d: Likewise.
	* write.c (write_object_file): Check pending view asserts.
	(cvt_frag_to_fill): Complain about undefined leb128 operand.
2017-07-21 10:13:18 +01:00
..
avr-prop-1.d AVR/ld: Use .avr.prop data during linker relaxation. 2015-02-25 23:19:11 +00:00
avr-prop-1.s AVR/ld: Use .avr.prop data during linker relaxation. 2015-02-25 23:19:11 +00:00
avr-prop-2.d AVR/ld: Use .avr.prop data during linker relaxation. 2015-02-25 23:19:11 +00:00
avr-prop-2.s AVR/ld: Use .avr.prop data during linker relaxation. 2015-02-25 23:19:11 +00:00
avr-prop-3.d AVR/ld: Use .avr.prop data during linker relaxation. 2015-02-25 23:19:11 +00:00
avr-prop-3.s AVR/ld: Use .avr.prop data during linker relaxation. 2015-02-25 23:19:11 +00:00
avr-prop-4.d AVR/ld: Use .avr.prop data during linker relaxation. 2015-02-25 23:19:11 +00:00
avr-prop-4.s AVR/ld: Use .avr.prop data during linker relaxation. 2015-02-25 23:19:11 +00:00
avr-prop-5.d Fix PR 20221 - adjust syms and relocs only if relax shrunk section. 2016-06-09 19:17:43 +03:00
avr-prop-5.s Fix PR 20221 - adjust syms and relocs only if relax shrunk section. 2016-06-09 19:17:43 +03:00
avr-prop-6.d Fix PR ld/20254 2016-06-15 12:47:46 +05:30
avr-prop-6.s Fix PR ld/20254 2016-06-15 12:47:46 +05:30
avr-prop-7.d Fix PR ld/20545 - relaxation bugs in avr backend 2016-09-06 12:28:37 +05:30
avr-prop-7.s Fix PR ld/20545 - relaxation bugs in avr backend 2016-09-06 12:28:37 +05:30
avr-prop-8.d Fix PR ld/20545 - relaxation bugs in avr backend 2016-09-06 12:28:37 +05:30
avr-prop-8.s Fix PR ld/20545 - relaxation bugs in avr backend 2016-09-06 12:28:37 +05:30
avr.exp Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
gc-section-debugline.d This patch introduces support for specifing views in .loc directives, so that the compiler can use the assembler to generate line number information and have the assembler determine view numbers to multiple views at the same program counter. 2017-07-21 10:13:18 +01:00
lds-mega.d Print symbol names in comments for LDS/STS disassembly. 2016-06-09 19:00:57 +03:00
lds-mega.s Print symbol names in comments for LDS/STS disassembly. 2016-06-09 19:00:57 +03:00
lds-tiny.d Print symbol names in comments for LDS/STS disassembly. 2016-06-09 19:00:57 +03:00
lds-tiny.s Print symbol names in comments for LDS/STS disassembly. 2016-06-09 19:00:57 +03:00
norelax_diff.d
per-function-debugline.s Define DIFF_EXPR_OK for avr target to allow PC relative difference relocation. 2015-07-08 21:41:52 +03:00
pr13402.d Fix PR 13402 2017-06-27 14:47:02 +05:30
pr13402.s Fix PR 13402 2017-06-27 14:47:02 +05:30
pr20789.d Fix PR20789 - relaxation with negative valued diff relocs 2016-11-16 16:11:46 +05:30
pr20789.s Fix PR20789 - relaxation with negative valued diff relocs 2016-11-16 16:11:46 +05:30
pr21404-1.d Fix PR21404 - assertion fail when calculating symbol size 2017-05-04 10:34:29 +05:30
pr21404-1.s Fix PR21404 - assertion fail when calculating symbol size 2017-05-04 10:34:29 +05:30
pr21404-2.d Fix PR21404 - assertion fail when calculating symbol size 2017-05-04 10:34:29 +05:30
pr21404-2.s Fix PR21404 - assertion fail when calculating symbol size 2017-05-04 10:34:29 +05:30
pr21404-3.d Fix PR21404 - assertion fail when calculating symbol size 2017-05-04 10:34:29 +05:30
pr21404-3.s Fix PR21404 - assertion fail when calculating symbol size 2017-05-04 10:34:29 +05:30
pr21404-4.d Fix PR21404 - assertion fail when calculating symbol size 2017-05-04 10:34:29 +05:30
pr21404-4.s Fix PR21404 - assertion fail when calculating symbol size 2017-05-04 10:34:29 +05:30
pr21404-5.d Fix PR21404 - assertion fail when calculating symbol size 2017-05-04 10:34:29 +05:30
pr21404-5.s Fix PR21404 - assertion fail when calculating symbol size 2017-05-04 10:34:29 +05:30
pr21404-6.d Fix PR21404 - assertion fail when calculating symbol size 2017-05-04 10:34:29 +05:30
pr21404-6.s Fix PR21404 - assertion fail when calculating symbol size 2017-05-04 10:34:29 +05:30
pr21404-7.d Fix PR21404 - assertion fail when calculating symbol size 2017-05-04 10:34:29 +05:30
pr21404-7.s Fix PR21404 - assertion fail when calculating symbol size 2017-05-04 10:34:29 +05:30
pr21404-8.d Fix PR21404 - assertion fail when calculating symbol size 2017-05-04 10:34:29 +05:30
pr21404-8.s Fix PR21404 - assertion fail when calculating symbol size 2017-05-04 10:34:29 +05:30
region_overflow.d This patch modifies the AVR linker script templates to use __<name>_REGION_LENGTH__ symbols, if provided, for setting memory region lengths, defaulting to the current constant values otherwise. 2015-02-24 11:26:28 +00:00
region_overflow.s This patch modifies the AVR linker script templates to use __<name>_REGION_LENGTH__ symbols, if provided, for setting memory region lengths, defaulting to the current constant values otherwise. 2015-02-24 11:26:28 +00:00
relax-02.d When relaxing, update size of symbols. 2014-11-03 20:34:13 +00:00
relax-02.s
relax-03.d When relaxing, update size of symbols. 2014-11-03 20:34:13 +00:00
relax-03.s
relax-elf-flags-01.d AVR/ld: Propagate link-relax elf header flag correctly. 2014-12-23 15:45:11 +00:00
relax-elf-flags-02.d AVR: Assembler now prepares for linker relaxation by default. 2014-12-24 21:27:43 +00:00
relax-elf-flags-03.d AVR: Assembler now prepares for linker relaxation by default. 2014-12-24 21:27:43 +00:00
relax-elf-flags-04.d AVR: Assembler now prepares for linker relaxation by default. 2014-12-24 21:27:43 +00:00
relax-elf-flags-05.d AVR: Assembler now prepares for linker relaxation by default. 2014-12-24 21:27:43 +00:00
relax-elf-flags-06.d AVR: Assembler now prepares for linker relaxation by default. 2014-12-24 21:27:43 +00:00
relax-elf-flags-07.d AVR/ld: Propagate link-relax elf header flag correctly. 2014-12-23 15:45:11 +00:00
relax-elf-flags-08.d AVR/ld: Propagate link-relax elf header flag correctly. 2014-12-23 15:45:11 +00:00
relax-elf-flags-a.s AVR/ld: Propagate link-relax elf header flag correctly. 2014-12-23 15:45:11 +00:00
relax-elf-flags-b.s AVR/ld: Propagate link-relax elf header flag correctly. 2014-12-23 15:45:11 +00:00
relax.s
relax_diff.d