avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #33698] Explicit use of RJMP/RCALL can cause "reloca


From: Jan Waclawek
Subject: [avr-libc-dev] [bug #33698] Explicit use of RJMP/RCALL can cause "relocation truncated to fit: R_AVR_13_PCREL" linker error
Date: Tue, 27 Sep 2011 14:29:57 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22

Follow-up Comment #4, bug #33698 (project avr-libc):

It appears to me that most of those 135 places (those which rcall to external
label, perhaps indentified by the _U() macro) are potential errors, e.g.
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=108109 and
many more.

But changing them to "regular" jumps, and then using -relax if minimal code is
desired, should be an acceptable solution.

I'd say this has been already discussed, see
http://lists.gnu.org/archive/html/avr-gcc-list/2011-06/msg00025.html and other
posts of that thread.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?33698>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]