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

                 Summary: Explicit use of RJMP/RCALL can cause "relocation
truncated to fit: R_AVR_13_PCREL" linker error
                 Project: AVR C Runtime Library
            Submitted by: gjlayde
            Submitted on: Sa 02 Jul 2011 22:12:32 GMT
                Category: Library
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unknown
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.7.1
           Fixed Release: None

    _______________________________________________________

Details:

Some assembler source files in avr-libc contain explicit RJMP/RCALL
instructions even for devices > 8KiB.  It's by no means obvious that offsets
to jump/call targets are in the range of RJMP/RCALL.

One example is

./libm/fplib/log.S (revision=2191):

http://svn.savannah.nongnu.org/viewvc/trunk/avr-libc/libm/fplib/log.S?revision=2191&root=avr-libc&view=markup






    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to