ppc: Dereference function descriptors on ppc64
In the ppc64 ELF ABI, similar to ia64, a function's symbol does not directly
precede its machine instructions. For ppc64 it consists of a triple of
entry point, TOC base and environment pointer.
Introduce macros to facilitate handling this.
Names suggested by Blue.
Deliberately don't touch the client interface yet, as there's more work to do.
Cc: Alexander Graf <agraf@suse.de>
Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@968 f158a5a8-5612-0410-a976-696ce0be7e32