X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=arch%2Fx86_64%2Freloc.h;h=b0bbfb3eed8350768a158fd7777038f510be1bc2;hb=63d447e2a3bb7faf69e0befb123e6ffff0ce47ea;hp=6642fdd48a8cacf380e78b048b70ed1a2895d377;hpb=568b8075a4406ca8cb1f718e74fd0829cb7f0b90;p=musl diff --git a/arch/x86_64/reloc.h b/arch/x86_64/reloc.h index 6642fdd4..b0bbfb3e 100644 --- a/arch/x86_64/reloc.h +++ b/arch/x86_64/reloc.h @@ -5,6 +5,7 @@ #define ETC_LDSO_PATH "/etc/ld-musl-x86_64.path" #define IS_COPY(x) ((x)==R_X86_64_COPY) +#define IS_PLT(x) ((x)==R_X86_64_JUMP_SLOT) static inline void do_single_reloc(size_t *reloc_addr, int type, size_t sym_val, size_t sym_size, unsigned char *base_addr, size_t addend) {