[Mono-bugs] [Bug 324134] Add support for Mac OS X / ppc64

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Nov 16 08:52:50 EST 2008


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

User andreas.faerber at web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=324134#c57





--- Comment #57 from Andreas Färber <andreas.faerber at web.de>  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.


More information about the mono-bugs mailing list