passing argument to __attribute__((constructor))
Yubin Ruan
ablacktshirt@gmail.com
Tue Aug 1 08:05:00 GMT 2017
More information about the Binutils mailing list
Tue Aug 1 08:05:00 GMT 2017
- Previous message (by thread): ld.so binding time
- Next message (by thread): passing argument to __attribute__((constructor))
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am wondering whether one can pass arguments to
__attribute__((constructor)). I know what __attribute__((constructor))
do and currently I define it like this:
__attribute__((construtor))
void __theconstructor(void) {
...
}
But I am wondering whether we can pass in a argument to the __theconstructor ?
Thanks,
Yubin
- Previous message (by thread): ld.so binding time
- Next message (by thread): passing argument to __attribute__((constructor))
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list