All of lore.kernel.org
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.aribaud@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] ARM: problem with linker option -pie
Date: Sun, 31 Oct 2010 01:31:26 +0200	[thread overview]
Message-ID: <4CCCAACE.6060005@free.fr> (raw)
In-Reply-To: <4CCC915F.1090608@free.fr>

All,

Thanks to Wolfgang and Alexander who offered help offline in order to 
track down the issue. Currently we know that the ELDK 4.2 toolchain 
"works" and the CodeSourcery 4.4.1 (arm-2010q1-202) "does not work".

A preliminary test of both the ELDK and the CS toolchains on a small 
program which uses one each of const, initialized and uninitialized 
globals shows that while the EABI version has moved from 4 to 5, and the 
code generator has changed, both toolchains generate the same number of 
relocations for the same locations, albeit in a different order; so at 
least we know that all required fixups are present with both chains.

On u-boot, the overall number of relocations is smaller with the CS 
toolchain but apparently this is due to the code generator generating 
less literals per function.

Tomorrow (sorry : later this morning) I'll build the OpenRD binaries 
with both toolchains and test it.

Meanwhile, I would still like Alexander to add printf()s to then nand 
init functions so that we know at which address they think they 
nand_chip should be written to, and compare that to the printf() that 
shows at which address nand_chip is supposed to be read.

Amicalement,
-- 
Albert.

  reply	other threads:[~2010-10-30 23:31 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-30 20:37 [U-Boot] ARM: problem with linker option -pie Darius Augulis
2010-10-30 20:43 ` Wolfgang Denk
2010-10-30 20:53   ` Darius Augulis
2010-10-30 21:17     ` Wolfgang Denk
2010-10-30 21:42       ` Albert ARIBAUD
2010-10-30 23:31         ` Albert ARIBAUD [this message]
2010-10-31  8:20           ` Albert ARIBAUD
2010-10-31  8:40             ` Reinhard Meyer
2010-10-31  8:51               ` Albert ARIBAUD
2010-10-31  9:25               ` Wolfgang Denk
2010-10-31  9:24             ` Wolfgang Denk
2010-10-31  9:44               ` Albert ARIBAUD
2010-10-31 10:35                 ` Wolfgang Denk
2010-10-31 10:57                   ` Albert ARIBAUD
2010-10-31 11:30                     ` Albert ARIBAUD
2010-10-31 11:31                       ` Albert ARIBAUD
2010-10-31 13:29                       ` Albert ARIBAUD
2010-10-31 17:38       ` Darius Augulis
2010-10-31  7:46 ` Heiko Schocher

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=4CCCAACE.6060005@free.fr \
    --to=albert.aribaud@free.fr \
    --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.