This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] Re: objdump and -z recommendation
Nick Clifton wrote:
> Since the code wraps the definition of SKIP_ZEROES in a #ifndef, I
> would suggest that a better alternative would be to provide an
> alternative definition for the value for the tic40 port. You could
> easily add a line like this to the configure.in file:
Yes, I agree, and it was this kind of help I was hoping on getting. Thanks.
New working solution attached.
Svein
binutils/ChangeLog:
2002-10-23 Svein E. Seldal <Svein.Seldal@solidas.com>
* configure.in: Increase the SKIP_ZEROES option to objdump
to make sure of proper disassembly for the tic4x target
Index: binutils/configure.in
===================================================================
RCS file: /prosjekt/gnu/src/src/binutils/configure.in,v
retrieving revision 1.35
diff -c -3 -p -r1.35 configure.in
*** binutils/configure.in 17 Sep 2002 07:09:46 -0000 1.35
--- binutils/configure.in 23 Oct 2002 13:55:56 -0000
*************** changequote([,])dnl
*** 284,289 ****
--- 284,292 ----
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
;;
+ c4x-*-* | tic4x-*-*)
+ OBJDUMP_DEFS="$OBJDUMP_DEFS -DSKIP_ZEROES=32"
+ ;;
esac
fi
done