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: > I'd say it would be much cleaner if elf/Makefile added -DRTLD_OBJECT > to all ld.so only objects and if ldsodefs.h and maybe other headers used: > > extern void _dl_debug_printf (const char *fmt, ...) > __attribute__ ((__format__ (__printf__, 1, 2))); > extern void _dl_debug_printf_internal (const char *fmt, ...) > __attribute__ ((__format__ (__printf__, 1, 2))); > #ifdef RTLD_OBJECT > _dl_debug_printf(...) _dl_debug_printf_internal(__VA_ARGS__) > #endif This isn't the best solution. Note that all this must also later work for the libc.so itself. I just started with ld.so. So I guess INTNAME (or maybe better INTUSE, use <-> def) is better. -- ---------------. ,-. 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] |