On Tue, 18 Dec 2007, Dan Mick wrote:
陶捷 TaoJie wrote:
Hi, Dan
Thank you for reponse. But maybe you misunderstood my words.
I'm not complaining about lacking of source code tools. Instead, the
function of ALTENTRY puzzles me.
I know it defines an additional "entry point". But what does "entry
point" mean?
A new function entry?
yes.
It defines an ELF object, of type "function".
Now ELF objects may have type, location and size; a pair ENTRY/SET_SIZE
defines all three. A single ALTENTRY defines only type and location. If
you look up the symbol table (::nm -t func, from within mdb -k) you'll
find the ALTENTRY() labels but they are reported zero size.
You can reasonably assume that in assembly sourcefiles, after doing
preprocessing and macro expansion, everything that is not an assembly
instruction as such will be resulting in some "ELF stuff" in the object
file. Manpages and manual for the assembler will tell you what exists/is
possible.
(Also wondering why that seems a 'problem' for you ?)
Have fun,
FrankH.
It looks different from ENTRY, and no matched
SET_SIZE.
Right.
btw, I've searched in opensolaris.org <http://opensolaris.org>'s source
browser, it returned me the same result (searching "dtrace_invop_callsite").
I meant for you to search for ALTENTRY, since your questions sounded as if you
didn't understand what it meant. The comment by its definition says
181 * ALTENTRY provides for additional entry points.
so I couldn't understand how you could be asking what ALTENTRY meant.
Do you think that it's a problem that it's different from ENTRY and/or doesn't
have a matching SET_SIZE? If so, what do you think is the problem?
Kind Regards,
TJ
2007/12/19, Dan Mick <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
> *What does ALTENTRY mean?
cscope is your friend. opensolaris.org <http://opensolaris.org>'s
source browser is also, if cscope
doesn't work for you.
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
------------------------------------------------------------------------------
No good can come from selling your freedom, not for all the gold in the world,
for the value of this heavenly gift far exceeds that of any fortune on earth.
------------------------------------------------------------------------------
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code