[CRIU] [PATCH 0/3] compel shuffle for arch-depended build

Dmitry Safonov dsafonov at virtuozzo.com
Fri Apr 29 12:47:52 PDT 2016


If we want support pie generations with compel for other
architectures - I think we should rework it a bit.
Those patches are just beggining to reformat it and to
port it on arm/aarch64 arches.

Dmitry Safonov (3):
  compel: shuffle skeleton a bit
  compel: add per-arch handle-elf.c
  compel: define arch_is_machine_supported

 compel/Makefile                                    | 23 ++++++++----
 compel/arch/aarch64/handle-elf.c                   | 20 +++++++++++
 compel/arch/aarch64/include/handle-elf.h           | 11 ++++++
 compel/arch/arm/handle-elf.c                       | 13 +++++++
 compel/arch/arm/include/handle-elf.h               | 11 ++++++
 compel/arch/ppc64/handle-elf.c                     | 20 +++++++++++
 compel/arch/ppc64/include/handle-elf.h             | 12 +++++++
 compel/arch/x86/handle-elf.c                       | 15 ++++++++
 compel/arch/x86/include/handle-elf.h               | 23 ++++++++++++
 compel/handle-elf-32.c                             |  1 +
 compel/{src/elf.c => handle-elf.c}                 | 27 +++++++-------
 compel/include/piegen.h                            | 30 +++++++++++-----
 .../elf-x86-32.c => include/uapi/elf32-types.h}    |  6 ++--
 .../elf-ppc64.c => include/uapi/elf64-types.h}     |  6 ++--
 compel/{src => }/main.c                            | 42 +---------------------
 compel/src/elf-x86-64.c                            | 16 ---------
 16 files changed, 183 insertions(+), 93 deletions(-)
 create mode 100644 compel/arch/aarch64/handle-elf.c
 create mode 100644 compel/arch/aarch64/include/handle-elf.h
 create mode 100644 compel/arch/arm/handle-elf.c
 create mode 100644 compel/arch/arm/include/handle-elf.h
 create mode 100644 compel/arch/ppc64/handle-elf.c
 create mode 100644 compel/arch/ppc64/include/handle-elf.h
 create mode 100644 compel/arch/x86/handle-elf.c
 create mode 100644 compel/arch/x86/include/handle-elf.h
 create mode 120000 compel/handle-elf-32.c
 rename compel/{src/elf.c => handle-elf.c} (97%)
 rename compel/{src/elf-x86-32.c => include/uapi/elf32-types.h} (71%)
 rename compel/{src/elf-ppc64.c => include/uapi/elf64-types.h} (71%)
 rename compel/{src => }/main.c (76%)
 delete mode 100644 compel/src/elf-x86-64.c

-- 
2.8.0



More information about the CRIU mailing list