[PATCH-Android] [android/external/elfcopy] Modified to eliminate build errors using GCC 4.5/4.6.

Sachin Kamat sachin.kamat at linaro.org
Wed Mar 16 05:16:32 UTC 2011


 Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>

Change-Id: I01286388a1bef915cb06adae862d9f3a0397b059
---
 elfcopy.c |    1 -
 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);
                     }
 
-- 
1.7.1




More information about the linaro-dev mailing list