public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Lewin A.R.W. Edwards" <larwe@larwe.com>
To: Ho Shui Choy Stanley  PS03B  NCS <scho@ncs.com.sg>
Cc: "Ecos-Discuss (E-mail)" <ecos-discuss@sources.redhat.com>
Subject: RE: [ECOS] Separate the heap from bss section
Date: Sun, 13 May 2001 19:57:00 -0000	[thread overview]
Message-ID: <4.3.2.7.2.20010513224712.00b12990@mail.larwe.com> (raw)
In-Reply-To: <19C34CD863B1D4118E2800508BAF663A0112F632@STONE>

>I have found out that when the heap section is defined in the same memory
>region with bss section, then only it will use the specify heap. When the

Hi Stanley,

In working with the EB40 (not eCos) I have found a strange condition where 
symbols imported from the linker script sometimes don't get the right 
address. I haven't been able to isolate this problem yet, nor have I tested 
with a newer snapshot of binutils (currently working with 2.10).

(well, to be accurate: in any linker script I've handwritten, the function 
hasn't worked right. Only with other peoples' code does it seem to work 
correctly, and I haven't been able to work out the difference yet).

Anyway, I think it likely you're getting a similar problem. The symbol 
marking end of BSS is getting the same address as the start of BSS, which 
is exactly the problem I have in my handwritten linker scripts.

=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

"... a man who is endowed with real qualities of leadership will be tempted 
to refrain from taking part in political life; because [...] the situation 
does not call for a man who has a capacity for constructive statesmanship 
but rather for a man who is capable of bargaining for the favour of the 
majority. Thus the situation will appeal to small minds and will attract 
them accordingly."

  parent reply	other threads:[~2001-05-13 19:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-13 18:23 Ho Shui Choy Stanley PS03B NCS
2001-05-13 19:33 ` Jonathan Larmour
2001-05-13 19:57 ` Lewin A.R.W. Edwards [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-05-13 20:41 Ho Shui Choy Stanley PS03B NCS
2001-05-15  6:03 ` Jonathan Larmour
2001-05-13 19:54 Ho Shui Choy Stanley PS03B NCS
2001-05-13 20:25 ` Jonathan Larmour
2001-05-10 22:44 Ho Shui Choy Stanley PS03B NCS
2001-05-10 22:49 ` Jonathan Larmour
2001-05-10 19:28 Ho Shui Choy Stanley PS03B NCS
2001-05-10 21:57 ` Jonathan Larmour

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=4.3.2.7.2.20010513224712.00b12990@mail.larwe.com \
    --to=larwe@larwe.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=scho@ncs.com.sg \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).