public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] compile u-boot with recent toolchain : symbols problem
@ 2005-05-26 13:23 Cedric VINCENT
  2005-05-30  8:08 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Cedric VINCENT @ 2005-05-26 13:23 UTC (permalink / raw)
  To: u-boot

Hello,

I used to compile U-Boot with ELDK, but I currently need to work with
newer toolchain :
 - binutils-2.16
 - gcc-3.4.3

The "__u_boot_cmd_start" symbol value, generated with this new
toolchain, is wrong (U-Boot crashes when relocating the command
table).
There are two new sections between "__u_boot_cmd_start" and
".u_boot_cmd" address :
 - .data.rel.local
 - .data.rel

I don't know what these (new) sections are, but the problem can be
solved in "u-boot.lds" :
-   __u_boot_cmd_start = .;
    .u_boot_cmd : { *(.u_boot_cmd) }
    __u_boot_cmd_end = .;
+  __u_boot_cmd_start = ADDR(.u_boot_cmd);

Best regards, Cedric VINCENT.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-06-01  6:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-26 13:23 [U-Boot-Users] compile u-boot with recent toolchain : symbols problem Cedric VINCENT
2005-05-30  8:08 ` Wolfgang Denk
     [not found]   ` <c8f10050531022046f3d639@mail.gmail.com>
2005-06-01  6:58     ` Cedric VINCENT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox