public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Gerhard Jaeger <g.jaeger@sysgo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] the broken linker problem...
Date: Wed, 31 Aug 2005 10:14:33 +0200	[thread overview]
Message-ID: <200508311014.33369.g.jaeger@sysgo.com> (raw)

Hi list,

I followed the discussions about broken linker and wrong command table
relocation and decided to dig somewhat deeper. I have sent a report
to the binutils guys. Please see the short discussion on the binutils
list about that issue:
http://sourceware.org/ml/binutils/2005-08/msg00412.html

You'll also find the version information there, about the point the behaviour
of the linker changed and the explanation of Alan Modra why it has been
changed.

In the end, I got the expression, that we really need to introduce
a small change to the linker scripts to fix that issue:

  . = .;
  __u_boot_cmd_start = .;
  .u_boot_cmd : { *(.u_boot_cmd) }
  __u_boot_cmd_end = .;

The . = .; is the proposed fix. See ld.texinfo "dot outside sections"
for more explanations.

Hope that sheds some light on that issue.

Cheers
Gerhard

-- 
Gerhard Jaeger <gjaeger@sysgo.com>            
SYSGO AG                      Embedded and Real-Time Software
www.sysgo.com | www.elinos.com | www.pikeos.com | www.osek.de 

             reply	other threads:[~2005-08-31  8:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-31  8:14 Gerhard Jaeger [this message]
2005-08-31 10:03 ` [U-Boot-Users] the broken linker problem Wolfgang Denk
2005-08-31 10:47   ` Gerhard Jaeger

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=200508311014.33369.g.jaeger@sysgo.com \
    --to=g.jaeger@sysgo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox