bswap((phdr).p_filesz); \
bswap((phdr).p_memsz); \
bswap((phdr).p_align); \
+ bswap((phdr).p_vaddr); \
} while (0)
#define bswap_shdr(shdr) \
(dst_phdr).p_filesz = (src_phdr).p_filesz; \
(dst_phdr).p_memsz = (src_phdr).p_memsz; \
(dst_phdr).p_align = (src_phdr).p_align; \
+ (dst_phdr).p_vaddr = (src_phdr).p_vaddr; \
} while (0)
#define copy_shdr(src_shdr, dst_shdr) \
uint64_t p_filesz;
uint64_t p_memsz;
uint64_t p_align;
+ uint64_t p_vaddr;
};
struct lttng_ust_elf_shdr {