binutils-gdb/ld/testsuite/ld-avr
Denis Chertykov 5c41dbc302 Fix PR 20221 - adjust syms and relocs only if relax shrunk section.
This patch fixes an edge case in linker relaxation that causes symbol
values to be computed incorrectly in the presence of align directives
in input source code.

bfd/
	* elf32-avr.c (elf32_avr_relax_delete_bytes): Adjust syms
	and relocs only if shrinking occurred.

ld/
	* testsuite/ld-avr/avr-prop-5.d: New.
	* testsuite/ld-avr/avr-prop-5.s: New.
2016-06-09 19:17:43 +03:00
..
avr-prop-1.d
avr-prop-1.s
avr-prop-2.d
avr-prop-2.s
avr-prop-3.d
avr-prop-3.s
avr-prop-4.d
avr-prop-4.s
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.exp
gc-section-debugline.d
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
region_overflow.d
region_overflow.s
relax_diff.d
relax-02.d
relax-02.s
relax-03.d
relax-03.s
relax-elf-flags-01.d
relax-elf-flags-02.d
relax-elf-flags-03.d
relax-elf-flags-04.d
relax-elf-flags-05.d
relax-elf-flags-06.d
relax-elf-flags-07.d
relax-elf-flags-08.d
relax-elf-flags-a.s
relax-elf-flags-b.s
relax.s