Subversion Repositories freemyipod

Rev

Rev 491 | Rev 872 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 491 Rev 871
Line 770... Line 770...
770
			} else {
770
			} else {
771
				/* Calculate the sym address ourselves.  */
771
				/* Calculate the sym address ourselves.  */
772
				sym_reloc_size = bfd_get_reloc_size(q->howto);
772
				sym_reloc_size = bfd_get_reloc_size(q->howto);
773
 
773
 
774
#if !defined(TARGET_h8300) && !defined(TARGET_e1) && !defined(TARGET_bfin) && !defined(TARGET_m68k)
774
#if !defined(TARGET_h8300) && !defined(TARGET_e1) && !defined(TARGET_bfin) && !defined(TARGET_m68k)
775
				if (sym_reloc_size != 4) {
775
				if ((*p)->howto->type && sym_reloc_size != 4) {
776
					printf("ERROR: bad reloc type %d size=%d for symbol=%s\n",
776
					printf("ERROR: bad reloc type %d size=%d for symbol=%s\n",
777
							(*p)->howto->type, sym_reloc_size, sym_name);
777
							(*p)->howto->type, sym_reloc_size, sym_name);
778
					bad_relocs++;
778
					bad_relocs++;
779
					rc = -1;
779
					rc = -1;
780
					continue;
780
					continue;
781
				}
781
				}
782
#endif
782
#endif
783
 
783
 
784
				switch ((*p)->howto->type) {
784
				switch ((*p)->howto->type) {
-
 
785
				case 0: break;
785
 
786
 
786
#if defined(TARGET_m68k)
787
#if defined(TARGET_m68k)
787
				case R_68K_32:
788
				case R_68K_32:
788
					relocation_needed = 1;
789
					relocation_needed = 1;
789
					sym_vma = bfd_section_vma(abs_bfd, sym_section);
790
					sym_vma = bfd_section_vma(abs_bfd, sym_section);