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 09:51:19 +0100 [thread overview]
Message-ID: <4CCD2E07.2030406@free.fr> (raw)
In-Reply-To: <4CCD2B7C.3040804@emk-elektronik.de>
Hi Reinhart,
Le 31/10/2010 09:40, Reinhard Meyer a ?crit :
> Dear Albert ARIBAUD,
>
>> CS toolchain emits lots of
>> warnings about type-punned pointer dereferencing, though none in nand
>> code, and I think these are not related to our issue.
>
> Same with gcc 4.3.5
>
>> I will now analyze the patch code to see if it contains relocations that
>> should have applied but did not, or if it misses relocations altogether.
>> My currently favored bet right now is that BSS may have gotten its own
>> relocation table in later toolchains, but that's only a bet.
>
> u-boot.bin is 257KiB with 4.2.4 but only 251KiB with 4.3.5 !
> Either its much better optimised or the relocation info shrunk which
> _might_ indicate something is missing in it...
From what I see, the code generator emits "denser" code, which *could*
result in a smaller relocation table, but that depends if the denser
code does uses less literals (they're what makes the size of relocation
tables). So I have to dive into some sample functions and see for
myself; the fact that the linker obviously reorders code within .text
does not help me much. :/
> Compiled with 4.3.5 last output is the "DRAM: 64 MiB" message. Then silence.
>
> I suppose you don't need u-boot.elf from me, if otherwise, ping me:)
I'm ok now that I have a non-working toolchain to play with. :)
> Best Regards,
> Reinhard
Amicalement,
--
Albert.
next prev parent reply other threads:[~2010-10-31 8:51 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
2010-10-31 8:20 ` Albert ARIBAUD
2010-10-31 8:40 ` Reinhard Meyer
2010-10-31 8:51 ` Albert ARIBAUD [this message]
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=4CCD2E07.2030406@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.