bug-gnu-utils
[Top][All Lists]
Advanced

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

MSP430 binutils bug.


From: Takahashi, Chris
Subject: MSP430 binutils bug.
Date: Wed, 30 Jul 2003 17:06:19 -0700

The work around for the constant generator bug in the link below was still
generating incorrect code.  The problem was that the bug was present in all
versions of the msp430 but the work around was only applied to some
versions.  

Attached is a diff -u of a fixed version of
binutils-2.14/gas/config/tc-msp430.c with the original.

Also attached is some simple code that will generate the faulty code in the
msp430x448 (and others).  If you look at an asm listing you will see a push
#4 which generates the opcode 62 12 which is buggy (so is 72 12).

Bug:
http://www.ti.com/cgi-bin/sc/buglist.cgi?bug=CPU4

-Chris Takahashi

Attachment: binutills-msp430.diff
Description: Binary data

Attachment: test.c
Description: Binary data


reply via email to

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