grub/grub-core/kern/powerpc
Vladimir 'phcoder' Serbinenko ed64e9e279 Support trampoline jumps on powerpc.
* grub-core/kern/dl.c (grub_dl_load_segments) [__powerpc__]: Follow
	__ia64__ path.
	(grub_dl_load_segments): Set mod->sz.
	(grub_dl_flush_cache): Flush whole space occupied by module, not just
	segments.
	* grub-core/kern/ia64/dl.c (nopm): Make const while on it.
	(jump): Likewise.
	* grub-core/kern/powerpc/dl.c (grub_arch_dl_get_tramp_got_size): New
	function.
	(trampoline): New struct.
	(trampoline_template): New const.
	(grub_arch_dl_relocate_symbols): Create trampolines on overflow.
	* include/grub/dl.h (grub_dl): Add sz element.
	[__powerpc__]: Follow __ia64__.
	(GRUB_ARCH_DL_TRAMP_ALIGN): Define on ppc.
	(GRUB_ARCH_DL_GOT_ALIGN): Likewise.
	(GRUB_ARCH_DL_TRAMP_SIZE): Likewise.
	(grub_arch_dl_get_tramp_got_size) [__powerpc__]: New proto.
2011-11-08 11:23:56 +01:00
..
ieee1275 Make grub_prefix into module to fix the arbitrary limit and save 2011-10-18 15:21:51 +02:00
cache.S Merge mainline into newreloc. For now without boot tests 2010-08-25 03:25:18 +02:00
cache_flush.S Merge mainline into newreloc. For now without boot tests 2010-08-25 03:25:18 +02:00
dl.c Support trampoline jumps on powerpc. 2011-11-08 11:23:56 +01:00