This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] Enable VDSO on statically linked programs.


"Florian Weimer" <fweimer@redhat.com> writes:

> * Rafael Avila de Espindola:
>
>> The new version has fixed the indentation of preprocessor directives
>> and changed a few tests to also be linked statically. The tests don't
>> show that the VDSO is being used, but show that the functions now
>> using the VDSO still work.
>
> What's the size impact on binaries which did not need rtld before?

In a trivial program that just calls clock_gettime and printf size
reports:

 text    data     bss     dec     hex filename
 641724   20940    6016  668680   a3408 t-glibc
 642500   20940    6048  669488   a3730 t-glibc-vdso

So it looks like most of the relevant code was already being linked in.

Cheers,
Rafael


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]