diff options
Diffstat (limited to 'src/copy/section.c')
-rw-r--r-- | src/copy/section.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/copy/section.c b/src/copy/section.c index e096b2b..6fd08e2 100644 --- a/src/copy/section.c +++ b/src/copy/section.c @@ -31,14 +31,13 @@ void elfu_copySection(Elf *eo, Elf_Scn *scn) shdrOut.sh_name = shdr.sh_name; shdrOut.sh_type = shdr.sh_type; shdrOut.sh_flags = shdr.sh_flags; - /* sh_addr */ shdrOut.sh_addr = shdr.sh_addr; /* sh_offset */ /* sh_size */ shdrOut.sh_link = shdr.sh_link; shdrOut.sh_info = shdr.sh_info; shdrOut.sh_addralign = shdr.sh_addralign; - //shdrOut.sh_entsize = shdr.sh_entsize; + shdrOut.sh_entsize = shdr.sh_entsize; if (!gelf_update_shdr(scnOut, &shdrOut)) { fprintf(stderr, "gelf_update_shdr() failed: %s\n", elf_errmsg(-1)); |