public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] ALERT! >90% of all board configurations BROKEN
Date: Tue, 26 Oct 2010 00:07:12 +0200	[thread overview]
Message-ID: <20101025220712.35FCC135C64@gemini.denx.de> (raw)
In-Reply-To: <4CC5E865.70003@emk-elektronik.de>

Dear Reinhard Meyer,

In message <4CC5E865.70003@emk-elektronik.de> you wrote:
>
> Grep-ing for CONFIG_SYS_GBL_DATA_SIZE in *.[chsS] Makefile *.ld it
> seems to me that with "ELF-reloc" active that define is not used
> anywhere at least in ARM.

Are you sure? My very first smaple sees:

"arch/arm/cpu/arm926ejs/start.S"

346         /* Set up the stack                                                 */
347 stack_setup:
348         ldr     r0, _TEXT_BASE          /* upper 128 KiB: relocated uboot   */
349         sub     sp, r0, #128            /* leave 32 words for abort-stack   */
350 #ifndef CONFIG_PRELOADER
351         sub     r0, r0, #CONFIG_SYS_MALLOC_LEN  /* malloc area                      */
352         sub     r0, r0, #CONFIG_SYS_GBL_DATA_SIZE /* bdinfo                        */


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There is a multi-legged creature crawling on your shoulder.
	-- Spock, "A Taste of Armageddon", stardate 3193.9

  reply	other threads:[~2010-10-25 22:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-25 20:00 [U-Boot] ALERT! >90% of all board configurations BROKEN Wolfgang Denk
2010-10-25 20:28 ` Reinhard Meyer
2010-10-25 22:07   ` Wolfgang Denk [this message]
2010-10-26  0:11     ` Reinhard Meyer
2010-10-26  6:31       ` Albert ARIBAUD
2010-10-26  8:26         ` Reinhard Meyer
2010-10-26  9:40           ` Wolfgang Denk
2010-10-26  6:39   ` 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=20101025220712.35FCC135C64@gemini.denx.de \
    --to=wd@denx.de \
    --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