[Bug binutils/11297] Support for 8-bit relocations for AVR architecture

2012-10-21 Thread anpaza at mail dot ru
http://sourceware.org/bugzilla/show_bug.cgi?id=11297

Andrew Zabolotny anpaza at mail dot ru changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |

--- Comment #5 from Andrew Zabolotny anpaza at mail dot ru 2012-10-21 
16:53:14 UTC ---
A regression happened: this patch was broken by one of later patches.

If you try the testcase attached to this ticket, it'll bring the good old error
messages:

[zap@zap|~]avr-as test.S 
test.S: Assembler messages:
test.S:1: Error: illegal relocation size: 1
test.S:6: Error: illegal relocation size: 1

[zap@zap|~]avr-as --version
GNU assembler (GNU Binutils) 2.20

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/11297] Support for 8-bit relocations for AVR architecture

2012-10-21 Thread anpaza at mail dot ru
http://sourceware.org/bugzilla/show_bug.cgi?id=11297

Andrew Zabolotny anpaza at mail dot ru changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED

--- Comment #6 from Andrew Zabolotny anpaza at mail dot ru 2012-10-21 
17:42:28 UTC ---
Heck, that's not a binutils regression, it's a fedora package regression: up to
Fedora 16 the binutils package was version 2.21, in Fedora 17 it downgraded to
2.20.
Sorry for noise :-(

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/11297] Support for 8-bit relocations for AVR architecture

2010-02-23 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-02-23 
11:38 ---
Subject: Bug 11297

CVSROOT:/cvs/src
Module name:src
Changes by: ni...@sourceware.org2010-02-23 11:38:36

Modified files:
bfd: ChangeLog elf32-avr.c 
gas: ChangeLog 
gas/config : tc-avr.c 
include/elf: ChangeLog avr.h 

Log message:
PR 11297: Add support for 8-bit relocations to the AVR toolchain.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=srcr1=1.4939r2=1.4940
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf32-avr.c.diff?cvsroot=srcr1=1.44r2=1.45
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=srcr1=1.4094r2=1.4095
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/config/tc-avr.c.diff?cvsroot=srcr1=1.71r2=1.72
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/include/elf/ChangeLog.diff?cvsroot=srcr1=1.390r2=1.391
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/include/elf/avr.h.diff?cvsroot=srcr1=1.9r2=1.10



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11297

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/11297] Support for 8-bit relocations for AVR architecture

2010-02-23 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2010-02-23 11:42 
---
Hi Andrew,

  Thanks for reporting this problem, and for providing the fix.  I have checked
your patch into the mainline sources along with these changelog entries.

Cheers
  Nick

gas/ChangeLog
PR binutils/11297
* config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
(avr_cons_fix_new): Handle fixups of a single byte.

bfd/ChangeLog
PR binutils/11297
* elf32-avr.c (elf_avr_howto_table): Add R_AVR_8.
(avr_reloc_map): Map BFD_RELOC_8 to R_AVR_8.

include/elf/ChangeLog
PR binutils/11297
* avr.h: (R_AVR_8): New relocation number.


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=11297

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/11297] Support for 8-bit relocations for AVR architecture

2010-02-18 Thread anpaza at mail dot ru

--- Additional Comments From anpaza at mail dot ru  2010-02-18 21:01 ---
Created an attachment (id=4609)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=4609action=view)
The patch against binutils 2.18

The patch is against latest stable binutils for AVR, hopefully it should apply
without much hassle on later versions.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11297

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/11297] Support for 8-bit relocations for AVR architecture

2010-02-18 Thread anpaza at mail dot ru

--- Additional Comments From anpaza at mail dot ru  2010-02-18 21:02 ---
Created an attachment (id=4610)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=4610action=view)
A simple testcase demonstrating the AVR binutils limitation


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11297

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils