Commit b46e5ec1 authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by Andrei Vagin

compel: Move relocs stuff into include/uapi/handle-elf.h

The same as prev patch -- clean up the compel.h
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 5dac5448
......@@ -5,18 +5,7 @@
#include <stdarg.h>
#include <compel/asm/infect-types.h>
#define COMPEL_TYPE_INT (1u << 0)
#define COMPEL_TYPE_LONG (1u << 1)
#define COMPEL_TYPE_GOTPCREL (1u << 2)
typedef struct {
unsigned int offset;
unsigned int type;
long addend;
long value;
} compel_reloc_t;
#include <compel/handle-elf.h>
#include <compel/log.h>
#include <compel/infect-util.h>
#include <compel/infect-rpc.h>
......
#ifndef __COMPEL_UAPI_HANDLE_ELF__
#define __COMPEL_UAPI_HANDLE_ELF__
#define COMPEL_TYPE_INT (1u << 0)
#define COMPEL_TYPE_LONG (1u << 1)
#define COMPEL_TYPE_GOTPCREL (1u << 2)
typedef struct {
unsigned int offset;
unsigned int type;
long addend;
long value;
} compel_reloc_t;
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment