Package: binutils-multiarch
Version: 2.20.1-16
Severity: normal
File: /usr/bin/objdump

Hello,

$ cat test.S
stmia   sp, {r0-r12}
stmcsia sp!, {r0-r12}

$ arm-linux-gnueabi-as test.S

$ objdump -d a.out 
...
   0:   e88d1fff        stm     sp, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, 
sl, fp, ip}
   4:   28ad1fff        stmiacs sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, 
sl, fp, ip}

in the first line "ia" is missing (as reported originally here) and in
the second line "stmiacs" is wrong. When I try to compile test.S after
s/stmcsia/stmiacs/ I get:

        test.S: Assembler messages:
        test.S:2: Error: bad instruction `stmiacs sp!,{r0-r12}'

(using arm-linux-gnueabi-as from emdebian's
binutils-arm-linux-gnueabi 2.20.1-16)

According to ARMARM the syntax of the STM instruction is:

        STM{<cond>}<addressing_mode> ...

that is, cond is first and addressing_mode isn't optional. So that's
what objdump should dump out.

Best regards
Uwe

-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (900, 'stable-updates'), (900, 'proposed-updates'), (900, 
'stable'), (800, 'testing-proposed-updates'), (800, 'testing'), (700, 
'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages binutils-multiarch depends on:
ii  binutils                2.20.1-16        The GNU assembler, linker and bina
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

binutils-multiarch recommends no packages.

binutils-multiarch suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to