• Kir Kolyshkin's avatar
    compel hgen: use for ARM, kill gen-offsets.sh · 9d622863
    Kir Kolyshkin authored
    I am not quite sure how that happened, but compel hgen was not used for
    ARM/ARM64, instead there's a simple version of it, called
    gen-offsets.sh. The main difference is, shell script doesn't handle ELF
    relocations, which apparently is not (currently?) needed for ARM.
    
    It's bad to maintain two tools for the same functionality, so this
    patch kills gen-offsets.sh and related stuff, making compel hgen
    working on ARM. ELF relocations are still not handled, this code
    is #ifdef-ed out for now and can be fixed to work on ARM later.
    
    This patch also kills some macros and defines that seem obsoleted
    now. For example, compel_relocs_apply() is now called unconditionally,
    as it handles the trivial case of 0 relocs just fine.
    
    Now, I checked that the blob headers generated by compel hgen and
    gen-offsets.h are similar (i.e. generated blob code and values defined
    are the same), but haven't done much above that.
    Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    9d622863
Name
Last commit
Last update
..
build Loading commit data...
nmk Loading commit data...
travis Loading commit data...
crit-setup.py Loading commit data...
fake-restore.sh Loading commit data...
feature-tests.mak Loading commit data...
flake8.cfg Loading commit data...
install-debian-pkgs.sh Loading commit data...
magic-gen.py Loading commit data...
protobuf-gen.sh Loading commit data...
systemd-autofs-restart.sh Loading commit data...
tmp-files.sh Loading commit data...