libctf: fix a number of build problems found on Solaris and NetBSD
[deliverable/binutils-gdb.git] / binutils / readelf.c
index cfa2df5614c656a393d2c3c69e80cd96391f216d..8e2902fdcac41201edd37c2351df3b465a533851 100644 (file)
@@ -13829,11 +13829,8 @@ static ctf_sect_t *
 shdr_to_ctf_sect (ctf_sect_t *buf, Elf_Internal_Shdr *shdr, Filedata *filedata)
 {
   buf->cts_name = SECTION_NAME (shdr);
-  buf->cts_type = shdr->sh_type;
-  buf->cts_flags = shdr->sh_flags;
   buf->cts_size = shdr->sh_size;
   buf->cts_entsize = shdr->sh_entsize;
-  buf->cts_offset = (off64_t) shdr->sh_offset;
 
   return buf;
 }
This page took 0.025888 seconds and 4 git commands to generate.