From: "向 超" <mrchaoxiang@hotmail.com>
To: ecos-devel@sources.redhat.com
Subject: eCos compiled with gcc-3.4
Date: Sat, 30 Jul 2005 07:36:00 -0000 [thread overview]
Message-ID: <BAY12-F30DD892F81206AAE3CA9D9ACC10@phx.gbl> (raw)
I want to compile the eCos for MCF5272EVB which is supported by eCos. But I
got the
follow error message:
/opt/ecos/build/mcf5272_install/include/pkgconf/mlt_m68k_mcf52xx_mcf5272_mcf5272
3_ram.ldi:53:1: pasting "." and "romvec" does not give a valid
preprocessing token
The file mlt_m68k_mcf52xx_mcf5272_mcf5272 3_ram.ldi is :
MEMORY
{
rom (rx) : ORIGIN = 0x00020000, LENGTH = 0x001E0000
ram (wx) : ORIGIN = 0x00200000, LENGTH = 0x00200000
}
SECTIONS
{
SECTIONS_BEGIN
GENERIC_SECTION (rom, rom, 0x00020000 (NOLOAD), LMA_EQ_VMA,
0x001E0000)
GENERIC_SECTION (ram, ram, 0x00200000 (NOLOAD), LMA_EQ_VMA,
0x00200000)
GENERIC_SECTION (romvec, rom, __rom_start, LMA_EQ_VMA,
0x400)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SECTION_text (rom, ALIGN (0x4), FOLLOWING (.romvec))
SECTION_fini (rom, ALIGN (0x4), FOLLOWING (.text))
SECTION_rodata1 (rom, ALIGN (0x4), FOLLOWING (.fini))
SECTION_rodata (rom, ALIGN (0x4), FOLLOWING (.rodata1))
SECTION_fixup (rom, ALIGN (0x4), FOLLOWING (.rodata))
// WARNING: If you change the order of these sections, be sure to
change
// the location of the data section.
SECTION_gcc_except_table (rom, ALIGN (0x4), FOLLOWING (.fixup))
__rom_data_addr = ABSOLUTE(.);
GENERIC_SECTION (ramvec, ram, __ram_start (NOLOAD),
LMA_EQ_VMA, 0x400)
SECTION_data (ram, ALIGN (0x4), FOLLOWING
(.gcc_except_table), __rom_data_addr)
SECTION_sbss (ram, ALIGN (0x4) (NOLOAD), LMA_EQ_VMA)
SECTION_bss (ram, ALIGN (0x4) (NOLOAD), LMA_EQ_VMA)
SECTION_uninvar (ram, ALIGN (0x4) (NOLOAD), LMA_EQ_VMA)
// Allocate a heap section.
SECTION_heap1 (ram, ALIGN (0x4), LMA_EQ_VMA, 0x20000)
// The build tool looks for this "CYG_LABEL_DEFN..." string.
CYG_LABEL_DEFN(__heap1) = ABSOLUTE (__heap1_start);
SECTIONS_END
}
I have marked the line 53. This file is included in the link command file,
but I can't find
GENERIC_SECTION command in the syntax reference of ld script language. What
does it mean?
Sorry, I am a newbie for eCos. Could anybody help me?
thx.
Chao Xiang
next reply other threads:[~2005-07-30 7:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-30 7:36 向 超 [this message]
2005-08-01 15:36 ` Bart Veer
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=BAY12-F30DD892F81206AAE3CA9D9ACC10@phx.gbl \
--to=mrchaoxiang@hotmail.com \
--cc=ecos-devel@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).