https://bugzilla.novell.com/show_bug.cgi?id=324134

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=324134#c57





--- Comment #57 from Andreas Färber <[EMAIL PROTECTED]>  2008-11-16 06:52:46 
MST ---
Created an attachment (id=252503)
 --> (https://bugzilla.novell.com/attachment.cgi?id=252503)
patch: introduce ppc_load_func macros

This patch defines two macros, ppc_load_func and ppc_load_func_sequence, for
dealing with function descriptors. On ppc32 it maps directly to
ppc_load[_sequence], on ppc64 it does ppc_load[_sequence] for the dereferenced
function descriptor.

In previous patches it did a ppc_load_sequence for the function descriptor
followed by ppc_ld to dereference it; now it just loads the dereferenced
function pointer. This should simplify patching the address by not having to
deal with the trailing ld. Further, it now follows the naming scheme of
requiring _sequence when that is desired and potentially saving instructions
otherwise.

Comments?


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to