X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Fust-elf.h;h=c4abee2dbf1158717cbb0fd0e91485a155965bcf;hb=9443a02239f525ddb4d17d91e840e9513e59a3d9;hp=e9b0ac7b4e3ea22b86a53781b908f26f27749623;hpb=f5eb039d03be9b844c5cfde268008c60d79258d8;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 {