* Small fix for bfd/elf.c
@ 2007-11-23 7:12 Howard Chu
2007-11-23 14:47 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Howard Chu @ 2007-11-23 7:12 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 260 bytes --]
Tripped over this while trying to compile on Windows x64.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
[-- Attachment #2: dif.txt --]
[-- Type: text/plain, Size: 660 bytes --]
--- 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));
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Small fix for bfd/elf.c
2007-11-23 7:12 Small fix for bfd/elf.c Howard Chu
@ 2007-11-23 14:47 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2007-11-23 14:47 UTC (permalink / raw)
To: Howard Chu; +Cc: gdb-patches
On Thu, Nov 22, 2007 at 11:09:10PM -0800, Howard Chu wrote:
> Tripped over this while trying to compile on Windows x64.
Please send BFD patches to binutils@sourceware.org.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-23 14:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-23 7:12 Small fix for bfd/elf.c Howard Chu
2007-11-23 14:47 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox