--
What|Removed |Added
Attachment #2041 is|0 |1
obsolete||
http://sourceware.org/bugzilla/show_bug.cgi?id=5170
-
--- Additional Comments From evandro at yahoo dot com 2007-10-12 22:05
---
(From update of attachment 2041)
Index: gas/symbols.c
===
retrieving revision 1.3
diff -p -u -w -r1.3 symbols.c
--- gas/symbols.c 26 Oct 2006 1
--- Additional Comments From evandro at yahoo dot com 2007-10-12 22:03
---
Created an attachment (id=2041)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2041&action=view)
Proposed fix.
I believe that the function local_symbol_convert should do the proper
conversion.
--
http
It seems to me that a local_symbol should not be merely cast as symbol in
gas/symbols.c, as it's done in a couple of places. Or perhaps I'm missing
something...
--
Summary: Improper casting when creating local symbols.
Product: binutils
Version: unspecified
--- Additional Comments From nickc at redhat dot com 2007-10-12 16:47
---
Subject: Re: New: bfd build fails in alloca-conf.h when
built without gcc
Hi Michael,
> When building binutils-2.18 with native cc on hppa-hpux11.11,
> include/alloca-conf.h fails to correctly include , or to d
Hi Michael,
When building binutils-2.18 with native cc on hppa-hpux11.11,
include/alloca-conf.h fails to correctly include , or to define 'PTR'
when included in bfd/som.c.
Hmm, the problem here, it seems to me, is the alloca-conf.h header using PTR
when it is not defined. (It is defined in i
--- Additional Comments From nickc at redhat dot com 2007-10-12 16:36
---
Hi Michael,
Thanks for the bug report and patch. I have checked your suggested fix in
together with this changelog entry.
Cheers
Nick
gprof/ChangeLog
2007-10-12 Michael Haubenwallner <[EMAIL PROTECTED]>
--- Additional Comments From nickc at redhat dot com 2007-10-12 16:24
---
Hi Michael,
Actually there is no need for the bufsz variable at all. It is cleaner just
to give the symbuf array a constant size and then refer to 'sizeof (symbuf)' in
the code. So that is what the uploaded pa
--- Additional Comments From nickc at redhat dot com 2007-10-12 16:22
---
Created an attachment (id=2040)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2040&action=view)
Remove use of bufsz variable from eval_symbol()
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5160