[Patch, avr] Fix PR 13402 - sync loss between .debug_line and code

Nick Clifton nickc@redhat.com
Fri Jun 23 09:44:00 GMT 2017


Hi Senthil,

> bfd/ChangeLog
> 
> 2017-06-22  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
> 
> 	PR ld/13402
> 	* elf32-avr.c (elf32_avr_adjust_diff_reloc_value): Adjust
>    reloc addend if necessary. Adjust diff only if
>    shrinked_insn_address < end_address.
> 
> ld/ChangeLog
> 
> 2017-06-22  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
> 
> 	PR ld/13402
> 	* testsuite/ld-avr/pr13402.d: New test.
> 	* testsuite/ld-avr/pr13402.s: New test.

OK for master.

I think that it is probably too late to backport to 2.28, given that 2.29 will be branching any day now.

Cheers
  Nick




More information about the Binutils mailing list