mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
ppc64: pie -- Add ppc64le relocation's processing
This cleans the assembly code, removing no more needed trick with the
register 2 (TOC pointer). As a consequence, the __export_restore_task_trampoline()
and __export_unmap_trampoline() are no more needed.
Thus, the changes introduced by the commit de9df91002 ("Per architecture restorer
trampolines") in cr-restore.c are no more used but are not impacting
runtime code anyway.
Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
c755e0eb96
commit
89d6b39cfe
14 changed files with 442 additions and 100 deletions
4
Makefile
4
Makefile
|
|
@ -152,7 +152,7 @@ ARCH-LIB := $(ARCH_DIR)/crtools.built-in.o
|
|||
CRIU-SO := libcriu
|
||||
CRIU-LIB := lib/$(CRIU-SO).so
|
||||
CRIU-INC := lib/criu.h include/criu-plugin.h include/criu-log.h protobuf/rpc.proto
|
||||
ifneq ($(filter i386 ia32 x86_64, $(ARCH)),)
|
||||
ifneq ($(filter i386 ia32 x86_64 ppc64le, $(ARCH)),)
|
||||
PIEGEN := pie/piegen/piegen
|
||||
endif
|
||||
|
||||
|
|
@ -197,7 +197,7 @@ $(ARCH_DIR)/%:: protobuf config
|
|||
$(ARCH_DIR): protobuf config
|
||||
$(Q) $(MAKE) $(build)=$(ARCH_DIR) all
|
||||
|
||||
ifneq ($(filter i386 ia32 x86_64, $(ARCH)),)
|
||||
ifneq ($(filter i386 ia32 x86_64 ppc64le, $(ARCH)),)
|
||||
pie/piegen/%: config
|
||||
$(Q) $(MAKE) $(build)=pie/piegen $@
|
||||
pie/piegen: config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue