• Kir Kolyshkin's avatar
    compel hgen: fix for 32-bit ARM · bc93f12a
    Kir Kolyshkin authored
    Since commit 93db22b ("compel: no -r for ARM ldflags") and
    commit ce043d3 ("compel: make plugins .a archives") the generated
    parasite/restorer blobs for 32-bit ARM are no longer relocatable,
    and so their ELF header has e_type of ET_EXEC (rather than ET_REL).
    As a result, we have "Unsupported header detected" message and
    a failure from compel hgen.
    
    This commit allows e_type == ET_EXEC in case NO_RELOCS is defined.
    I am not sure if it's OK to still allow ET_REL -- maybe Dmitry
    can chime in on that.
    
    Cc: Dmitry Safonov <dsafonov@virtuozzo.com>
    Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    bc93f12a
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.compel Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...