This is the mail archive of the libc-help@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] |
On Tuesday, October 19, 2010 05:56:40 Marek Polacek wrote: > I've recently come across the glibc/dlfcn/dlfcn.c file and I don't quite > understand this part of the file: > > static void (*const init_array []) (int argc, char *argv[]) > __attribute__ ((section (".init_array"), aligned (sizeof (void *)))) > __attribute_used__ = > { > init > }; init arrays are processed by the ldso and executed automatically. it merely needs to be a list of function pointers. -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |