|
Sources Bugzilla – Full Text Bug Listing |
| Summary: | Problems with LPM on attiny26 | ||
|---|---|---|---|
| Product: | binutils | Reporter: | Hakan Ardo <hakan> |
| Component: | gas | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bug-binutils, eric.weddington, joachim.falk |
| Priority: | P2 | ||
| Version: | 2.16 | ||
| Target Milestone: | --- | ||
| Host: | i486-linux-gnu | Target: | avr |
| Build: | i486-linux-gnu | Last reconfirmed: | |
| Attachments: | The FIX. Patch is against GNU assembler 2.17.50 20060817 Debian GNU/Linux + coff-avr-patch (20050630) | ||
|
Description
Hakan Ardo
2006-05-01 09:07:00 UTC
Created attachment 2236 [details]
The FIX. Patch is against GNU assembler 2.17.50 20060817 Debian GNU/Linux + coff-avr-patch (20050630)
The bugfix has been tested with attiny26 and attiny2313.
Where gas now allows lpm r,z for attiny26 but generates
"xxx.S:Nr: Error: postincrement not supported" errors
for lpm r,z+. As before attiny2313 allow both forms of
the lpm instruction.
Cheers,
Joachim Falk
Hi Hakan, Thanks for submitting this fix. I have applied it along with these changelog entries. Cheers Nick include/opcode/ChangeLog 2008-02-14 Hakan Ardo <hakan@debian.org> PR gas/2626 * avr.h (AVR_ISA_2xxe): Define. gas/ChangeLog 2008-02-14 Hakan Ardo <hakan@debian.org> PR gas/2626 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26 to AVR_ISA_2xxe. (avr_operand): Disallow post-increment addressing in the lpm instruction for the attiny26. Subject: Re: Problems with LPM on attiny26 Hi, I only forwarded this bugrepport from the debian bts, the fix was done (as far as I can tell) by joachim dot falk at gmx dot de, and you should probably contribute it to him and not to me. On 14 Feb 2008 13:04:51 -0000, nickc at redhat dot com <sourceware-bugzilla@sourceware.org> wrote: > > ------- Additional Comments From nickc at redhat dot com 2008-02-14 13:04 ------- > Hi Hakan, > > Thanks for submitting this fix. I have applied it along with these changelog > entries. > > Cheers > Nick > > include/opcode/ChangeLog > 2008-02-14 Hakan Ardo <hakan@debian.org> > > PR gas/2626 > * avr.h (AVR_ISA_2xxe): Define. > > gas/ChangeLog > 2008-02-14 Hakan Ardo <hakan@debian.org> > > PR gas/2626 > * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26 > to AVR_ISA_2xxe. > (avr_operand): Disallow post-increment addressing in the lpm > instruction for the attiny26. > > > -- > What |Removed |Added > ---------------------------------------------------------------------------- > Status|WAITING |RESOLVED > Resolution| |FIXED > > > > > http://sourceware.org/bugzilla/show_bug.cgi?id=2626 > > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > |