This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
context.S problem
- From: "Wendell Liu" <wliu at gennum dot com>
- To: "'Andrew Lunn'" <andrew at lunn dot ch>, "'Jonathan Larmour'" <jifl at ecoscentric dot com>
- Cc: "'mirko massignani'" <mirko dot massignani at gmail dot com>, "'eCos discussion'" <ecos-discuss at ecos dot sourceware dot org>, "'Wendell Liu'" <wliu at gennum dot com>
- Date: Sat, 9 Sep 2006 13:50:36 -0400
- Subject: [ECOS] context.S problem
Hello, Andrew and other eCos experts,
I just started using eCos with SH4 for my next project, and I try to build
eCos image. On my machine, I always encountered the following errors:
sh-elf-gcc -c -I/... src/hal_sh_arch_context.o
/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S
/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
Assembler messages:
/cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
257:
Error: Cannot represent relocation type BFD_RELOC_SH_IMM4BY4
I checked the ecos-discuss mailing list, and found Andrew ever answered the
assembler question, but I couldn't get the clue.
I used the following versions:
make -v
GNU Make version 3.79.1
sh-elf-gcc -v
gcc version 3.2.1 (eCosCentric)
sh-elf-as -v
GNU assembler version 2.13.1 (sh-elf) using BFD version 2.13.1
Could Andrew or someone else please help me to get this out?
Highly appreciate your help.
Wendell
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss