[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix GNU nm invocation for AIX
From: |
Ralf Wildenhues |
Subject: |
Re: [PATCH] Fix GNU nm invocation for AIX |
Date: |
Mon, 16 Mar 2009 22:53:19 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello Richard,
* Richard Sandiford wrote on Mon, Mar 16, 2009 at 10:53:23AM CET:
> AIX nm lists weak defined symbols like any other global symbol,
> whereas GNU nm lists them as "W". The export_symbols_cmds for
> GNU nm on AIX should therefore look for "W" in addition to the
> other codes.
>
> Tested using GCC. Please install if OK.
This patch is also ok if you state how you tested resp. show Libtool
testsuite results.
Note to self: the Libtool testsuite should have a test that uses weak
symbols.
Thanks,
Ralf
> * libldtl/m4/libtool.m4 (export_symbols_cmds) Modify the GNU-nm-on-AIX
> version so that it adds weak defined symbols to the export list.