• Dmitry Safonov's avatar
    compel: shuffle skeleton a bit · 427f68f0
    Dmitry Safonov authored
    I propose to change compel directory structure:
    - if we want support more arch's than x86/ppc66, it seems
      worth to add arch/ folder
    - move all sources from src/ folder up
    - to have headers and build additional object with CFLAGS for
      a symlink seems for me less hacky way than mess around
      with .c files cross-linking
    - I made handle-elf.h header for arch helpers code. I may named
      that just "elf.h", but that may confuse, as there are <elf.h>
      system header
    - I would like to drop those ELF_PPC64/ELF_X86_32/ELF_X86_64
      defines and use CONFIG_X86_64 and whatnot
    
    After this patch compel directory become:
    compel/
    ├── arch
    │   ├── ppc64
    │   │   └── include
    │   │       └── handle-elf.h
    │   └── x86
    │       └── include
    │           └── handle-elf.h
    ├── handle-elf-32.c -> handle-elf.c
    ├── handle-elf.c
    ├── include
    │   ├── piegen.h
    │   └── uapi
    │       ├── elf32-types.h
    │       ├── elf64-types.h
    │       └── types.h
    ├── main.c
    └── Makefile
    
    Note: temporary I make value32 and addend32 for compilation on arm/aarch64
    
    Cc: Cyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
    Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    427f68f0
Name
Last commit
Last update
Documentation Loading commit data...
compel Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...