diff options
author | norly <ny-git@enpas.org> | 2013-02-01 15:50:37 +0000 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2013-02-11 01:32:32 +0000 |
commit | 630aa5494c36a0a13bd7a08397d0d29468854cb9 (patch) | |
tree | 994f5d8de117cd31571759b45fee5e80f8ffe6e3 /src/copy/section.c | |
parent | f54dc5b5697207093a70416a665eddf8c0970a0a (diff) |
Fix stupid copycopy-stupid-rebased
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)); |