Bug 2494 - Wrong opcode for SEC instruction
Summary: Wrong opcode for SEC instruction
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.16
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-28 13:02 UTC by Sergey Ilyevsky
Modified: 2006-03-31 13:49 UTC (History)
2 users (show)

See Also:
Host: i686-pc-linux-gnu
Target: pdp11-unknown-aout
Build: i686-pc-linux-gnu
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Ilyevsky 2006-03-28 13:02:01 UTC
pdp11 assembler generate the opcode of CLC on SEC command:

> cat test.asm 
        sec
        clc
> pdp11-aout-as -al test.asm 
GAS LISTING test.asm                    page 1


   1 0000 A100                  sec
   2 0002 A100                  clc
Comment 1 Jan-Benedict Glaw 2006-03-31 08:37:41 UTC
Likely fix can be found at http://sourceware.org/ml/binutils/2006-03/msg00369.html
Comment 2 Jan-Benedict Glaw 2006-03-31 13:49:01 UTC
Bug reported to be fixed be upstream changes.