This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Jakub Jelinek <jakub@redhat.com> writes: > But either a function is defined in ld.so, in which case only rtld only > objects should use the _internal variant, or it is defined in libc.so, > in which case only non-rtld objects should use it. This is not what I was talking about. The INT/INTDEF stuff is meant to be used to call functions defined in libc.so from inside the libc.so. This means: - using macros is really not the scalable. Defining macros for each function will be a nightmare. We use function pointers occasionally which cannot be handled with macros. - making the mechamism dependent on some symbol related to rtld is wrong since the same mechanism must be used in libc.so as well. -- ---------------. ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Red Hat `--' drepper at redhat.com `------------------------
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |