From: Stanislav Meduna <stano@meduna.org>
To: ecos-devel@ecos.sourceware.org
Subject: Re: [ECOS] Re: ROMRAM .. kind of
Date: Thu, 23 Feb 2012 21:24:00 -0000 [thread overview]
Message-ID: <4F46AE4C.8000405@meduna.org> (raw)
In-Reply-To: <CAOFa9c3aBi51iOj5=2bDoYv_zvVMPzSnvfh3jP3gX1i+YzTJhQ@mail.gmail.com>
On 22.02.2012 06:33, Elad Yosef wrote:
> You can look at the ecos tables.
> The Tables macros assigned section attribute and the linker script
> keeps them all in the section.
I know how to direct code or data into a section. I don't know
how to link it for the address somewhere else, such that
I compile a code for a section starting at e.g. 0x20000000,
but store it somewhere in .rodata or something.
But thanks for the pointer anyway, it gave me a hint what to google
for in the linker documentation ;) Looks that the AT could be what
I am searching for:
http://www.linuxselfhelp.com/gnu/ld/html_chapter/ld_3.html#SEC21
contains an example of exactly what I want.
Regards
--
Stano
prev parent reply other threads:[~2012-02-23 21:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-21 21:08 Stanislav Meduna
[not found] ` <CAOFa9c3aBi51iOj5=2bDoYv_zvVMPzSnvfh3jP3gX1i+YzTJhQ@mail.gmail.com>
2012-02-23 21:24 ` Stanislav Meduna [this message]
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=4F46AE4C.8000405@meduna.org \
--to=stano@meduna.org \
--cc=ecos-devel@ecos.sourceware.org \
/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).