Bug 2596 - Wrong code: linker relaxation for AVR
Summary: Wrong code: linker relaxation for AVR
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: 2.17
: P2 critical
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-22 06:41 UTC by Bjoern Haase
Modified: 2022-08-24 06:33 UTC (History)
4 users (show)

See Also:
Host: all
Target: avr-elf
Build: all
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bjoern Haase 2006-04-22 06:41:53 UTC
The linker does not adjust the addresses included in initialized function 
tables (.data or .rodata) when these are subject to changes due to relaxation. 
 
A patch has been committed by me on the mailing list. If possible this patch 
should be applied prior to the final "17" release. 
 
I am submitting this bug report as kind of reminder so that one could get it 
into the 2.17 release. 
 
Bjoern.
Comment 1 Joerg Wunsch 2010-11-20 22:01:03 UTC
The mailing list message mentioned (that contains the patch) is:

http://sourceware.org/ml/binutils/2006-04/msg00306.html
Comment 3 Alan Modra 2022-08-24 06:33:02 UTC
Fixed with 731608473ad5