avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] binutils patch for ldi,adiw,ldd


From: Dmitry K.
Subject: [avr-gcc-list] binutils patch for ldi,adiw,ldd
Date: Tue, 4 Jan 2005 14:52:33 +1000
User-agent: KMail/1.5

Hi Klaus and all.
Happy New Year!

Tests for Klaus's patch are work (a little).
With binutils's DejaGnu engine.

Klaus, two questions about your patch:

  1. What is the reason to ignore big values in
boundary's control (elf32-avr.c: if ((srel & 0xffff)...) ?
Address in flash (for example) has big displacement, yes,
but for this case work lo8() and ...AVR_LO8_LDI .
May be: `if (srel < -128 || srel > 255)' for ldi and
`if (srel < 0 || srel > 63)' for others?

  2. Is it true to place new BFD_RELOC_AVR enums near olds,
to the middle bfd-in2.h (not to the end)? This would change values
for rest part of other targets.

Notes about attachment:
  - Not all is made now.
  - Printing error message for overflow (ldmain.c, line ~ 1430)
produce `Segmentation fault' while 4-th argument (file name) is
excluded. `2.15' do not print such details. I have exclude this
arg.
  - Today I run `make check' on other computer --> error in
`check-DEJAGNU' target.  It is possible to use `-k' option.

Bye.

reply via email to

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