Fix PR ld/20254
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Wed, 15 Jun 2016 06:55:30 +0000 (12:25 +0530)
committerSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Wed, 15 Jun 2016 07:17:46 +0000 (12:47 +0530)
commit31eef93e717c59975b3e6f37619ab956302ca37a
tree194d4aa078d127efbca0a794f15ce043e3d3fc23
parent2a1d8bb3471a074ce35eb8ab9d8eb2093a5ecdb5
Fix PR ld/20254

This patch fixes another edge case related to alignment property
records - reloc offsets adjacent to property record offsets were not
getting adjusted during relaxation.

bfd/

PR ld/20254
* elf32-avr.c (elf32_avr_relax_delete_bytes): Adjust reloc
offsets until reloc_toaddr.

ld/

PR ld/20254
* testsuite/ld-avr/avr-prop-6.d: New test.
* testsuite/ld-avr/avr-prop-6.s: New test.
bfd/ChangeLog
bfd/elf32-avr.c
ld/ChangeLog
ld/testsuite/ld-avr/avr-prop-6.d [new file with mode: 0644]
ld/testsuite/ld-avr/avr-prop-6.s [new file with mode: 0644]
This page took 0.024503 seconds and 4 git commands to generate.