On Wed, May 09, 2012 at 05:14:56PM +0100, Bill Pringlemeir wrote: > > I have issues decoding 'mrs sp,spsr' with objdump for an ARM target. > > 00000000 <irq_handler>: > 0: e14fd000 .word 0xe14fd000 > > I only pass '--disassemble'. The objdump was built with > 'crosstool-ng'. Here are my configure args. > > [INFO ] Installing binutils > [EXTRA] Configuring binutils > [DEBUG] Extra config passed: '--enable-ld=default --enable-gold=yes > --enable-plugins --with-pkgversion=crosstool-NG hg+-c7fa97debb36 > --disable-multilib --disable-nls' > [DEBUG] ==> Executing: 'CFLAGS= -pipe ' 'CXXFLAGS= -pipe ' > '/home/bpringlemeir/crosstool-arm-4.6.3/.build/src/binutils-2.21.1a/configure' > '--build=x86_64-build_unknown-linux-gnu' > '--host=x86_64-build_unknown-linux-gnu' > '--target=arm-none-linux-gnueabi' > '--prefix=/home/bpringlemeir/x-tools/arm-none-linux-gnueabi' > '--disable-werror' '--enable-ld=default' '--enable-gold=yes' > '--enable-plugins' '--with-pkgversion=crosstool-NG hg+-c7fa97debb36' > '--disable-multilib' '--disable-nls' '--with-float=soft' > '--with-sysroot=/home/bpringlemeir/x-tools/arm-none-linux-gnueabi/arm-none-linux-gnueabi/sysroot' > > > Here is objdump --version... > > GNU objdump (crosstool-NG hg+-c7fa97debb36) 2.21.1 > Copyright 2011 Free Software Foundation, Inc. > This program is free software; you may redistribute it under the terms > of the GNU General Public License version 3 or (at your option) any > later version. This program has absolutely no warranty. >
I cannot reproduce this behaviour with binutils built from plain FSF sources. Can you please provide a small test case showing the source passed into the assembler; how the assembler is invoked; and how objdump is invoked on the assembler's output? Thanks, Matt -- Matthew Gretton-Dann Principal Engineer, PD Software, ARM Ltd. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils