All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cedric VINCENT <cedric.vincent@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] compile u-boot with recent toolchain : symbols problem
Date: Thu, 26 May 2005 15:23:57 +0200	[thread overview]
Message-ID: <c8f10050526062372e8a833@mail.gmail.com> (raw)

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.

             reply	other threads:[~2005-05-26 13:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26 13:23 Cedric VINCENT [this message]
2005-05-30  8:08 ` [U-Boot-Users] compile u-boot with recent toolchain : symbols problem Wolfgang Denk
     [not found]   ` <c8f10050531022046f3d639@mail.gmail.com>
2005-06-01  6:58     ` Cedric VINCENT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c8f10050526062372e8a833@mail.gmail.com \
    --to=cedric.vincent@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.