Bug 2494

Summary: Wrong opcode for SEC instruction
Product: binutils Reporter: Sergey Ilyevsky <silyevsk>
Component: binutilsAssignee: unassigned
Severity: normal CC: bug-binutils, jbglaw
Priority: P2    
Version: 2.16   
Target Milestone: ---   
Host: i686-pc-linux-gnu Target: pdp11-unknown-aout
Build: i686-pc-linux-gnu Last reconfirmed:

Description Sergey Ilyevsky 2006-03-28 13:02:01 UTC
pdp11 assembler generate the opcode of CLC on SEC command:

> cat test.asm 
> 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.