diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:04:16 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:04:16 -0800 |
commit | 8d6d7ea32d2e40489fa8be26618167fb6e2dfb40 (patch) | |
tree | d37ee9e0c10b3abce0ff0f4f4f0a3d6e851be688 | |
parent | 130444ec10d2a40e2b3ede4863ab005aa1f4580c (diff) | |
download | elfcopy-8d6d7ea32d2e40489fa8be26618167fb6e2dfb40.tar.gz |
Code drop from //branches/cupcake/...@124589
-rw-r--r-- | elfcopy.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1488,6 +1488,9 @@ static void update_relocations_section_offsets(Elf *newelf, Elf *elf __attribute FAILIF_LIBELF(gelf_getrel (d, relidx, &rel_mem) == NULL, gelf_getrel); + if (GELF_R_TYPE(rel_mem.r_info) == R_ARM_NONE) + continue; + range_t *old_range = find_range(old_section_ranges, rel_mem.r_offset); #if 1 @@ -1510,7 +1513,7 @@ static void update_relocations_section_offsets(Elf *newelf, Elf *elf __attribute { int i = 0; - INFO("ABOUT TO FAIL: old section ranges:\n"); + INFO("ABOUT TO FAIL for symbol [%s]: old section ranges:\n", symname); int num_ranges; range_t *ranges = get_sorted_ranges(old_section_ranges, &num_ranges); |