[Patch, avr] Fix PR 12494 - Make relaxation consider relocations from all sections before deleting ret

Joerg Wunsch joerg.wunsch@atmel.com
Thu Mar 21 13:50:00 GMT 2013


As Senthil Kumar Selvaraj wrote:

> This patch fixes PR 12494 (relaxation leads to wrong code optimization),
> by considering relocations from all sections in the BFD before
> determining that it is safe to delete a ret instruction.

Since Johann reported the bug, please get his consent before committing
the patch.
-- 
Joerg Wunsch * Development engineer, Dresden, Germany

Atmel Automotive GmbH, Theresienstrasse 2, D-74027 Heilbronn
Geschaeftsfuehrung: Steven A. Laub, Stephen Cumming
Amtsgericht Stuttgart, Registration HRB 106594



More information about the Binutils mailing list