[Ltrace-devel] ltrace and libelf
mkl at pengutronix.de
Wed Nov 3 12:12:17 UTC 2010
sorry for the delay. I was ill.
On 11/03/2010 12:32 PM, Petr Machata wrote:
> 01.11.2010 19:32, Joe Damato wrote:
>> On Mon, Nov 1, 2010 at 7:58 AM, Petr Machata<pmachata at redhat.com> wrote:
>>> 01.11.2010 14:58, Marc Kleine-Budde wrote:
>>>> Sounds like a plan.
>>> Wouldn't something simpler do? I wonder about the AC_CHECK_LIBRARY
>>> that you have in there, is that necessary?
No, not here, was copied from another project.
The downside for this approach is that now everything that is linked is
linked against libelf, even the convenience libs.
/bin/bash ../../../libtool --tag=CC --mode=link gcc -g -O2 -Wall -O2
-o ../libcpu.la plt.lo regs.lo trace.lo -lelf
But that's just a cosmetic problem, doesn't affect the file size. I've
tested it with with libelfs on ubuntu. You can add my Tested-by:
> Since there was no answer, my proposal became a pull request. Included
> in that pull request is Marc's AS_HELP_STRING patch.
When doing kernel development it's usual add you S-o-b to the patches
from other people if you add then to you own branch. How do you handle
it in ltrace?
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
More information about the Ltrace-devel