From: "Qiang Huang" <jameshq@liverpool.ac.uk>
To: "Ecos-Discuss" <ecos-discuss@sources.redhat.com>
Subject: [ECOS] Does LMA affect the S-Record file addressing?
Date: Fri, 24 Jan 2003 12:46:00 -0000 [thread overview]
Message-ID: <BDEPKKELILOKGOAOMONOIECICBAA.jameshq@liv.ac.uk> (raw)
Hi all:
I have tried to set the LMA in the linker script to be different as the
VMA of the .text section and build the program as:
MEMORY
{
ram : ORIGIN = 0x40000, LENGTH = 0x2000000
}
SECTIONS
{
SECTIONS_BEGIN
SECTION_rom_vectors (ram, 0x40000, LMA_EQ_VMA)
SECTION_text (ram, ALIGN (0x1), AT(0x1000000))
........
}
but when I use the command xxx-elf-objcopy -O srec a.out a.srec, to generate
the S-record file the address appeared in the *.srec file is still the same
as the VMA start from 0x4000 not the one I specified 0x100000.
Am I wrong somewhere? thanks a lot.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
reply other threads:[~2003-01-24 12:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=BDEPKKELILOKGOAOMONOIECICBAA.jameshq@liv.ac.uk \
--to=jameshq@liverpool.ac.uk \
--cc=ecos-discuss@sources.redhat.com \
/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).