freemyipod r872 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r871‎ | r872 | r873 >
Date:12:42, 27 July 2013
Author:theseven
Status:new
Tags:
Comment:
elf2emcoreapp: Attempt to guess relocation type in case of broken BFD library
Modified paths:
  • /tools/elf2emcoreapp/elf2emcoreapp.c (modified) (history)

Diff [purge]

Index: tools/elf2emcoreapp/elf2emcoreapp.c
@@ -782,7 +782,6 @@
783783 #endif
784784
785785 switch ((*p)->howto->type) {
786 - case 0: break;
787786
788787 #if defined(TARGET_m68k)
789788 case R_68K_32:
@@ -799,6 +798,8 @@
800799 #endif
801800
802801 #if defined(TARGET_arm)
 802+ case 0:
 803+ if (!sym_section->flags) break;
803804 case R_ARM_ABS32:
804805 relocation_needed = 1;
805806 sym_vma = bfd_section_vma(abs_bfd, sym_section);

Follow-up revisions

RevisionCommit summaryAuthorDate
r876elf2emcoreapp: Revert r871/r872, fix BFD instead.theseven14:17, 27 July 2013