diff options
| author | Ulrich Drepper <[email protected]> | 2008-01-09 05:49:49 +0000 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2008-01-09 05:49:49 +0000 |
| commit | e219f1c1b2a5a2e4f248714fdc93d031cdc5ee6a (patch) | |
| tree | fa6765a61fa75066ddc0dd271135025748a7faf6 /src/strip.c | |
| parent | 9fbf0d9bdcc9043491e7ea53e769506743160760 (diff) | |
propagate from branch 'com.redhat.elfutils.roland.pending' (head 26cc2ce45739af072e7ff4fdab5e8eb7cd756d50)
to branch 'com.redhat.elfutils' (head bb519012dee7013b2cab5c2f5ed465cb3821b063)
Diffstat (limited to 'src/strip.c')
| -rw-r--r-- | src/strip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/strip.c b/src/strip.c index 1e61911a..5fddeeeb 100644 --- a/src/strip.c +++ b/src/strip.c @@ -383,6 +383,7 @@ handle_elf (int fd, Elf *elf, const char *prefix, const char *fname, Elf *debugelf = NULL; char *tmp_debug_fname = NULL; int result = 0; + size_t shdridx = 0; size_t shstrndx; struct shdr_info { @@ -981,7 +982,7 @@ handle_elf (int fd, Elf *elf, const char *prefix, const char *fname, } /* Index of the section header table in the shdr_info array. */ - size_t shdridx = cnt; + shdridx = cnt; /* Add the section header string table section name. */ shdr_info[cnt].se = ebl_strtabadd (shst, ".shstrtab", 10); |
