summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2011-03-15 14:43:11 +0530
committerPatrik Ryd <patrik.ryd@linaro.org>2011-06-23 16:27:44 +0200
commitc13687fefcc8034de3c4d4a8cd02abdf96a951b4 (patch)
tree52fa01037f4d6a3b4d7c573f4a44d9d0c34a2676
parent62c1bed1c4505369cac2e72fbe30452a598fb690 (diff)
downloadelfcopy-linaro_android_2.3.4.tar.gz
Modified to eliminate build errors using GCC 4.5/4.6.linaro_android_2.3.4
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Change-Id: I01286388a1bef915cb06adae862d9f3a0397b059
-rw-r--r--elfcopy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/elfcopy.c b/elfcopy.c
index ed1e6ce..da054c7 100644
--- a/elfcopy.c
+++ b/elfcopy.c
@@ -2456,7 +2456,6 @@ update_symbol_values(Elf *elf, GElf_Ehdr *ehdr,
out why and also figure out whether the zero value should have
been adjusted, after all.
*/
- ASSERT(!(shdr_info[sym->st_shndx].shdr.sh_flags & SHF_ALLOC));
ASSERT(shdr_info[i].shdr.sh_type == SHT_SYMTAB);
}