From: Albert ARIBAUD <albert.aribaud@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH RFC] arm920t: implement elf relocation
Date: Sun, 31 Oct 2010 08:28:53 +0100 [thread overview]
Message-ID: <4CCD1AB5.2090705@free.fr> (raw)
In-Reply-To: <1288509912-90912-1-git-send-email-andreas.devel@googlemail.com>
Thanks Andreas for this helpful contribution; I'll look up the .plt
section and see if it may lead to the root cause of the issue. However:
Le 31/10/2010 08:25, Andreas Bie?mann a ?crit :
> Signed-off-by: Andreas Bie?mann<andreas.devel@googlemail.com>
> ---
> This changes give segfault in at least codesourcery 2010q1-202 arm lite toolchain. To test this segfault use:
> # make at91rm9200ek_config
> # make
>
> arch/arm/cpu/arm920t/start.S | 122 ++++++++++++++++++++-------------------
> arch/arm/cpu/arm920t/u-boot.lds | 26 +++++----
> 2 files changed, 78 insertions(+), 70 deletions(-)
>
> diff --git a/arch/arm/cpu/arm920t/start.S b/arch/arm/cpu/arm920t/start.S
> index d4edde7..adaf193 100644
> --- a/arch/arm/cpu/arm920t/start.S
> +++ b/arch/arm/cpu/arm920t/start.S
> @@ -77,14 +77,17 @@ _TEXT_BASE:
>
> /*
> * These are defined in the board-specific linker script.
> + * Subtracting _start from them lets the linker put their
> + * relative position in the executable instead of leaving
> + * them null.
> */
> -.globl _bss_start
> -_bss_start:
> - .word __bss_start
> +.globl _bss_start_ofs
> +_bss_start_ofs:
> + .word __bss_start - _start
This patch seems to apply to u-boot before ELF relocation was
introduced. Can you make it against the latest master?
Amicalement,
--
Albert.
next prev parent reply other threads:[~2010-10-31 7:28 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-31 7:11 [U-Boot] ARM: problems with elf relocation on arm920t / maybe toolchain related Andreas Bießmann
2010-10-31 7:25 ` [U-Boot] [PATCH RFC] arm920t: implement elf relocation Andreas Bießmann
2010-10-31 7:28 ` Albert ARIBAUD [this message]
2010-10-31 7:39 ` Andreas Bießmann
2010-10-31 7:49 ` Albert ARIBAUD
2010-11-03 23:21 ` [U-Boot] [PATCH v2 1/2] arm920t/at91/reset.c: fix weak reset_board() Andreas Bießmann
2010-11-04 1:00 ` Joakim Tjernlund
2010-11-04 1:13 ` Graeme Russ
2010-11-04 1:23 ` Joakim Tjernlund
2010-11-04 3:27 ` Sebastien Carlier
2010-11-04 10:54 ` Andreas Bießmann
2010-11-04 11:12 ` Sebastien Carlier
2010-11-04 10:41 ` Andreas Bießmann
2010-11-03 23:21 ` [U-Boot] [PATCH v2 2/2] arm920t: implement elf relocation Andreas Bießmann
2010-11-03 23:29 ` [U-Boot] [PATCH v3] " Andreas Bießmann
2010-11-04 6:14 ` Albert ARIBAUD
2010-11-04 10:15 ` Andreas Bießmann
2010-11-04 12:37 ` Albert ARIBAUD
[not found] ` <sebastien.carlier@2d91f447722561d137e769820c0e333bcce282ff>
2010-11-20 11:48 ` [U-Boot] [PATCH v2 2/2] " Andreas Bießmann
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=4CCD1AB5.2090705@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox