Subversion Repositories freemyipod

Rev

Rev 872 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 872 Rev 876
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 ((*p)->howto->type && sym_reloc_size != 4) {
775
				if (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;
Line 796... Line 796...
796
					sym_addr -= q->address;
796
					sym_addr -= q->address;
797
					break;
797
					break;
798
#endif
798
#endif
799
 
799
 
800
#if defined(TARGET_arm)
800
#if defined(TARGET_arm)
801
				case 0:
-
 
802
				    if (!sym_section->flags) break;
-
 
803
				case R_ARM_ABS32:
801
				case R_ARM_ABS32:
804
					relocation_needed = 1;
802
					relocation_needed = 1;
805
					sym_vma = bfd_section_vma(abs_bfd, sym_section);
803
					sym_vma = bfd_section_vma(abs_bfd, sym_section);
806
					sym_addr += sym_vma + q->addend;
804
					sym_addr += sym_vma + q->addend;
807
					if (verbose)
805
					if (verbose)