This is the mail archive of the libc-hacker@sourceware.cygnus.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] |
Greg McGary <greg@mcgary.org> writes: > Do these work for profiling? regparm is disabled for PROF as well. > I haven't yet looked for assembler functions that expect callers > to obey regparm, so can you give me some hints about where to look? The main problem I remember are the functions fixup and profile_fixup. They are not used during profiling (wel, they could but probably nobody did so far). The assembly code in sysdeps/i386/dl-machine.h depends on the values coming in in parameters. But I admit it's hard and ugly to fix it. The first parameter for both functions is a pointer. One could possibly mark these pointers __unbounded but this is ugly as well. I don't know in the moment whether there are other place where regparms is assumed. Ther might be and you will find them easily by having programs crash. -- ---------------. ,-. 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] |