[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] [bug #33698] Explicit use of RJMP/RCALL can cause "re
From: |
Jan Waclawek |
Subject: |
Re: [avr-libc-dev] [bug #33698] Explicit use of RJMP/RCALL can cause "relocation truncated to fit: R_AVR_13_PCREL" linker error |
Date: |
Fri, 27 Mar 2015 18:23:05 +0100 |
>Forgive my ignorance, but would this address the seemingly related error:
>
>libc.a(isspace.o)*:In function `isspace'
>(.text.avr-libc+0x2)*:relocation truncated to fit: R_AVR_13_PCREL against
>symbol `__ctype_isfalse' defined in .text.avr-libc section in
>c:arduinoarduino-1.6.1hardwaretoolsavrbin..libgccavr4.8.1........avrlibavr6libc.a(cty_isfalse.o)
>collect2.exe*:error: ld returned 1 exit status
>Error creating .elf
>
>I've got two big projects on the atmega2560 and they are both experiencing
>this. The common thread is that they both use extensive use of PROGMEM to
>store strings.
>
Maybe yes, and maybe not.
Do you use linker relaxation?
JW