[U-Boot-Users] Problem in Installing U-Boot 1.1.2

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

In message F71A3F85F026644687388710AF44A200D07FD5@srv-corp-exmb5.ciber.cbr.inc you wrote:
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' .
...
Can you please tell me where correctly should I enter the PATCH, which is as follows:
Don't waste your time on with any patches, your code is obsolete anyway. Please use current code, i. e. the top of tree version from the git repository.
Best regards,
Wolfgang Denk
participants (2)
-
Shanmugam, Shankar K
-
Wolfgang Denk