* [patch] fix another build failure with GCC-4.2
@ 2007-07-16 20:35 Matthias Klose
2007-08-12 10:36 ` [patch ping 2.18/trunk] " Matthias Klose
0 siblings, 1 reply; 3+ messages in thread
From: Matthias Klose @ 2007-07-16 20:35 UTC (permalink / raw)
To: binutils
[-- Attachment #1: Type: text/plain, Size: 110 bytes --]
[forwarded from http://bugs.debian.org/433062]
patch by Daniel Schepler <schepler@math.unipd.it>
Matthias
[-- Attachment #2: gcc42-fix.diff --]
[-- Type: text/plain, Size: 682 bytes --]
diff -urNad binutils-2.17cvs20070713~/bfd/coffgen.c binutils-2.17cvs20070713/bfd/coffgen.c
--- binutils-2.17cvs20070713~/bfd/coffgen.c 2007-07-12 07:16:40.000000000 +0000
+++ binutils-2.17cvs20070713/bfd/coffgen.c 2007-07-14 05:00:40.000000000 +0000
@@ -1687,7 +1687,7 @@
internal_ptr->u.syment._n._n_n._n_zeroes = 0;
}
else if (internal_ptr->u.syment._n._n_n._n_offset == 0)
- internal_ptr->u.syment._n._n_n._n_offset = (bfd_vma) "";
+ internal_ptr->u.syment._n._n_n._n_offset = (bfd_vma) (bfd_hostptr_t) "";
else if (!bfd_coff_symname_in_debug (abfd, &internal_ptr->u.syment))
{
/* Long name already. Point symbol at the string in the
^ permalink raw reply [flat|nested] 3+ messages in thread
* [patch ping 2.18/trunk] Re: [patch] fix another build failure with GCC-4.2
2007-07-16 20:35 [patch] fix another build failure with GCC-4.2 Matthias Klose
@ 2007-08-12 10:36 ` Matthias Klose
2007-08-13 1:45 ` Daniel Jacobowitz
0 siblings, 1 reply; 3+ messages in thread
From: Matthias Klose @ 2007-08-12 10:36 UTC (permalink / raw)
To: binutils; +Cc: Daniel Jacobowitz
Matthias Klose schrieb:
> [forwarded from http://bugs.debian.org/433062]
>
> patch by Daniel Schepler <schepler@math.unipd.it>
>
> Matthias
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch ping 2.18/trunk] Re: [patch] fix another build failure with GCC-4.2
2007-08-12 10:36 ` [patch ping 2.18/trunk] " Matthias Klose
@ 2007-08-13 1:45 ` Daniel Jacobowitz
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2007-08-13 1:45 UTC (permalink / raw)
To: Matthias Klose; +Cc: binutils
On Sun, Aug 12, 2007 at 12:36:02PM +0200, Matthias Klose wrote:
> Matthias Klose schrieb:
> > [forwarded from http://bugs.debian.org/433062]
> >
> > patch by Daniel Schepler <schepler@math.unipd.it>
- internal_ptr->u.syment._n._n_n._n_offset = (bfd_vma) "";
+ internal_ptr->u.syment._n._n_n._n_offset = (bfd_vma) (bfd_hostptr_t) "";
I applied this instead. Thanks.
--
Daniel Jacobowitz
CodeSourcery
2007-08-12 Daniel Jacobowitz <dan@codesourcery.com>
* coffgen.c (coff_get_normalized_symtab): Correct cast.
Index: bfd/coffgen.c
===================================================================
RCS file: /cvs/src/src/bfd/coffgen.c,v
retrieving revision 1.64
diff -u -p -r1.64 coffgen.c
--- bfd/coffgen.c 31 Jul 2007 03:53:24 -0000 1.64
+++ bfd/coffgen.c 13 Aug 2007 01:43:52 -0000
@@ -1693,7 +1693,7 @@ coff_get_normalized_symtab (bfd *abfd)
internal_ptr->u.syment._n._n_n._n_zeroes = 0;
}
else if (internal_ptr->u.syment._n._n_n._n_offset == 0)
- internal_ptr->u.syment._n._n_n._n_offset = (bfd_vma) "";
+ internal_ptr->u.syment._n._n_n._n_offset = (bfd_hostptr_t) "";
else if (!bfd_coff_symname_in_debug (abfd, &internal_ptr->u.syment))
{
/* Long name already. Point symbol at the string in the
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-08-13 1:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-16 20:35 [patch] fix another build failure with GCC-4.2 Matthias Klose
2007-08-12 10:36 ` [patch ping 2.18/trunk] " Matthias Klose
2007-08-13 1:45 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).