|
From: | Pitchumani |
Subject: | [avr-libc-dev] [bug #33698] Explicit use of RJMP/RCALL can cause "relocation truncated to fit: R_AVR_13_PCREL" linker error |
Date: | Fri, 06 Mar 2015 13:59:08 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36 OPR/27.0.1689.76 |
Update of bug #33698 (project avr-libc): Severity: 3 - Normal => 4 - Important Status: Need Info => Ready For Test _______________________________________________________ Follow-up Comment #18: Martin Nowak's patch to replace rjmp/rcall instruction looks fine to me. IMHO, defining RJMP/RCALL by checking __AVR_HAVE_JMP_CALL__ instead of __AVR_MEGA__ will be more meaningful. Checked only few devices from each arch. Assemble and Link was successful. Test case: bug33698.c with linker script bug33698.lcf (attached) command line: avr-gcc -T bug33698.lcf bug33698.c -mmcu=atxmega128a1 (file #33259, file #33260) _______________________________________________________ Additional Item Attachment: File name: bug33698.c Size:0 KB File name: bug33698.lcf Size:0 KB _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?33698> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |