[PATCH] Pass -g* through to linker

2012-08-21 Thread Andreas Schwab
This is needed for -flto so that debugging information isn't dropped. * ltmain.m4sh (func_mode_link): Pass through -g*. --- build-aux/ltmain.m4sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh index 30f99f4..55f1a0b 100644 ---

Re: [PATCH] Update/simplify OpenBSD support

2012-08-21 Thread Brad Smith
On Tue, Aug 21, 2012 at 08:55:30PM -0500, Peter O'Gorman wrote: > Hi Brad, > > Thanks, I pushed this. > > On 08/02/2012 01:46 AM, Brad Smith wrote: > > >+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; the > > I added the missing 'n' first though :) Sorry about that. Looking at the c

Re: [PATCH] Update/simplify OpenBSD support

2012-08-21 Thread Peter O'Gorman
On 08/21/2012 09:03 PM, Brad Smith wrote: I added the missing 'n' first though :) Sorry about that. Looking at the commited diff there is still an issue on line 2722. Thanks Brad, I 'fixed' it, but didn't commit. :( Now the 'n' gets a commit all by itself. I have no excuse, it's not even

Re: [PATCH] Pass -g* through to linker

2012-08-21 Thread Peter O'Gorman
Pushed. Thanks! Peter On 08/21/2012 09:46 AM, Andreas Schwab wrote: This is needed for -flto so that debugging information isn't dropped. * ltmain.m4sh (func_mode_link): Pass through -g*. --- build-aux/ltmain.m4sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build

Re: [PATCH] Update/simplify OpenBSD support

2012-08-21 Thread Peter O'Gorman
Hi Brad, Thanks, I pushed this. On 08/02/2012 01:46 AM, Brad Smith wrote: + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; the I added the missing 'n' first though :) Peter

Re: AIX PIC shared library support

2012-08-21 Thread Peter O'Gorman
Pushed. Thanks! Peter On 08/20/2012 12:12 PM, David Edelsohn wrote: The GCC -fpic/-fPIC option has evolved to mean code generation for a shared library and changes the optimization behavior of the compiler. Code for AIX PowerPC always is PIC, but the optimization behavior is affecting AIX. lib

[PATCH] Add Bitrig support

2012-08-21 Thread Brad Smith
The following diff adds support for Bitrig, which is a fork of OpenBSD. diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh index 1d71f0e..28398fd 100644 --- a/build-aux/ltmain.m4sh +++ b/build-aux/ltmain.m4sh @@ -4849,7 +4849,7 @@ func_mode_link () # These systems don't actual