bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/10443] New: Silently ignoring shifter arguments within mov (thu


From: WolfgangSteff at gmail dot com
Subject: [Bug gas/10443] New: Silently ignoring shifter arguments within mov (thumb mode) leading to wrong assembly.
Date: 25 Jul 2009 00:18:12 -0000

Supplying shifter operands to mov will cause a silent ignore of them
rather than throwing an error or treat it as pseudo instruction if applicable.

Reproduce with:
.thumb
  mov r1, r0, lsr#24 

Translation:
  mov r1, r0

Callstack leads to:
static void do_t_mov_cmp(void)
Within there appropiate handling* or at minimum breaking with error should 
considered.

* Treating the mov as pseudo instruction and translate to lsr r1, r0, #24
or appropiate instructions for other shifter operands.

-- 
           Summary: Silently ignoring shifter arguments within mov (thumb
                    mode) leading to wrong assembly.
           Product: binutils
           Version: 2.20 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: WolfgangSteff at gmail dot com
                CC: bug-binutils at gnu dot org
GCC target triplet: arm-*


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

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




reply via email to

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