X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-elf.h;h=c4abee2dbf1158717cbb0fd0e91485a155965bcf;hb=68d4b11c7235d97e14a4e1d20004a7a839d5f880;hp=e9b0ac7b4e3ea22b86a53781b908f26f27749623;hpb=468589da1a60b5288b5ffa75b0f21a91dcb5bc8b;p=lttng-ust.git diff --git a/include/lttng/ust-elf.h b/include/lttng/ust-elf.h index e9b0ac7b..c4abee2d 100644 --- a/include/lttng/ust-elf.h +++ b/include/lttng/ust-elf.h @@ -77,6 +77,7 @@ bswap((phdr).p_filesz); \ bswap((phdr).p_memsz); \ bswap((phdr).p_align); \ + bswap((phdr).p_vaddr); \ } while (0) #define bswap_shdr(shdr) \ @@ -117,6 +118,7 @@ (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) \ @@ -172,6 +174,7 @@ struct lttng_ust_elf_phdr { uint64_t p_filesz; uint64_t p_memsz; uint64_t p_align; + uint64_t p_vaddr; }; struct lttng_ust_elf_shdr {