[Bug gas/5170] Improper casting when creating local symbols.

2007-10-12 Thread evandro at yahoo dot com
-- What|Removed |Added Attachment #2041 is|0 |1 obsolete|| http://sourceware.org/bugzilla/show_bug.cgi?id=5170 -

[Bug gas/5170] Improper casting when creating local symbols.

2007-10-12 Thread evandro at yahoo dot com
--- 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

[Bug gas/5170] Improper casting when creating local symbols.

2007-10-12 Thread evandro at yahoo dot com
--- 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

[Bug gas/5170] New: Improper casting when creating local symbols.

2007-10-12 Thread evandro at yahoo dot com
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

[Bug binutils/5146] bfd build fails in alloca-conf.h when built without gcc

2007-10-12 Thread nickc at redhat dot com
--- 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

Re: [Bug binutils/5146] New: bfd build fails in alloca-conf.h when built without gcc

2007-10-12 Thread Nick Clifton
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

[Bug gprof/5147] unsatisfied symbol 'fabs' in gprof

2007-10-12 Thread nickc at redhat dot com
--- 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]>

[Bug binutils/5160] bfd/elflink.c with native HP cc: error #2028: expression must have a constant value

2007-10-12 Thread nickc at redhat dot com
--- 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

[Bug binutils/5160] bfd/elflink.c with native HP cc: error #2028: expression must have a constant value

2007-10-12 Thread nickc at redhat dot com
--- 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