Re: minor portability patches

Peter O'Gorman
2010-09-21T19:55:04Z

On Tue, Sep 21, 2010 at 12:24:20PM -0600, Tom Tromey wrote:
> Me neither. I'm not sure how we handle static linking against python,
> or whether we even support it.
>
> Peter> __FUNCTION__ is a gccism.
>
> BFD patches should go to the binutils list.
>

I should have know that, sorry.

> Peter> At least solaris cc complained about returning from void functions.
>
> This one and the cplus_struct_default patch are obvious once you have a
> ChangeLog entry.

For those then (0004-* and 0006-* in my earlier mail):

2010-09-21 Peter O'Gorman <pogma@thewrittenword.com>

* dwarf2loc.c (dwarf_expr_dwarf_call, needs_frame_dwarf_call): Do
not return from void functions.
* gdbtypes.c (cplus_struct_default): Initialize portably.

0002-*

* aix-thread.c: Build fixes for aix6.1.

0003-*:

* configure.ac: Do not add -rdynamic for non GCC compilers.

Thanks,
Peter
--
Peter O'Gorman
pogma@thewrittenword.com