This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Fwd: Re: Small fix for bfd/elf.c]
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Howard Chu <hyc at symas dot com>
- Cc: binutils at sourceware dot org
- Date: Sat, 24 Nov 2007 10:43:37 +1030
- Subject: Re: [Fwd: Re: Small fix for bfd/elf.c]
- References: <4747656C.7020303@symas.com>
On Fri, Nov 23, 2007 at 03:42:36PM -0800, Howard Chu wrote:
> --- gdb-6.7.1/bfd/elf.c 2007-08-25 06:20:41.000000000 -0700
> +++ gdb-6.7.1/bfd/elf.c.N 2007-11-22 22:09:28.884623800 -0800
> @@ -8418,6 +8418,8 @@
> {
> #if BFD_HOST_64BIT_LONG
> sprintf (buf, "%016lx", value);
> +#elif BFD_HOST_64BIT_LONG_LONG
> + sprintf (buf, "%016llx", value);
> #else
> sprintf (buf, "%08lx%08lx", _bfd_int64_high (value),
> _bfd_int64_low (value));
> @@ -8446,6 +8448,8 @@
> {
> #if BFD_HOST_64BIT_LONG
> fprintf ((FILE *) stream, "%016lx", value);
> +#elif BFD_HOST_64BIT_LONG_LONG
> + fprintf ((FILE *) stream, "%016llx", value);
> #else
> fprintf ((FILE *) stream, "%08lx%08lx",
> _bfd_int64_high (value), _bfd_int64_low (value));
The functions you are patching here disappeared 2007-09-12 (and it
would have been easier to discover the function name if you had
created the diff with -p). Please check that current mainline CVS
does what you want.
--
Alan Modra
Australia Development Lab, IBM