[U-Boot-Users] Problem in Installing U-Boot 1.1.2
Shanmugam, Shankar K
SShanmugam at ciber.com
Thu Sep 7 09:17:46 CEST 2006
Hi All:
I have installed Toolchain arm-linux-gcc-3.4.1 & when I install U-Boot 1.1.2, first I encounter errors with option `short-load-bytes' . When I delete this option in cpu/arm926ejs/config.mk I'm getting "relocation truncated to fit: R_ARM_PLT32__div0". So as per the Guide I'm following he has give a patch. If I enter this patch in 'cpu/arm926ejs/config.mk', still I'm getting error.
Can you please tell me where correctly should I enter the PATCH, which is as follows:
-------- from CodeSourcery----------
- bfd/elf32-arm.h.orig 2004-04-22 22:11:15.000000000 -0400
+++ bfd/elf32-arm.h 2004-04-22 22:28:37.000000000 -0400
@@ -2229,6 +2229,8 elf32_arm_relocate_section (output_bfd,
case R_ARM_PC24:
case R_ARM_ABS32:
case R_ARM_THM_PC22:
+ case R_ARM_PLT32:
+
if (info->shared
&& (
(!info->symbolic && h->dynindx != -1)
@@ -2262,11 +2264,6 elf32_arm_relocate_section (output_bfd,
relocation = 0;
break;
- case R_ARM_PLT32:
- if (h->plt.offset != (bfd_vma)-1)
- relocation = 0;
- break;
-
default:
if (unresolved_reloc)
_bfd_error_handler
------------- end patch --------
Thanks & Regards,
K.S.Shankar
More information about the U-Boot
mailing list