This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: forwarded message from Simpkins, Andy
- To: Jonathan Larmour <jlarmour at redhat dot com>, "Simpkins, Andy" <Andy dot Simpkins at Transcomm dot uk dot com>
- Subject: RE: [ECOS] forwarded message from Simpkins, Andy
- From: "Simpkins, Andy" <Andy dot Simpkins at Transcomm dot uk dot com>
- Date: Fri, 17 Aug 2001 17:23:39 +0100
- Cc: ecos-discuss at sources dot redhat dot com
> -----Original Message-----
> From: Jonathan Larmour [mailto:jlarmour@redhat.com]
> Sent: 17 August 2001 17:10
> To: Simpkins, Andy
> Cc: ecos-discuss@sources.redhat.com
> Subject: Re: [ECOS] forwarded message from Simpkins, Andy
>
>
> "Simpkins, Andy" wrote:
> >
> > Configuration of the system
> > Target Platform : Custom board (ARM7TDMI core)
> > Development Host: Windows NT 4 sp6, cygwin, eCos
> 1.3.1, GCC 2.95.2
> [snip]
>
> Perhaps just compile the whole file with -mlong-calls instead of the
> attribute.
Nope that gives the same result :-(
$ arm-elf-gcc *.o -L /i/eCOSbuilds/a163_install/lib/ -Ttarget.ld -nostdlib
-Xlinker -Map -Xlinker mapfile.txt -mlong-calls
main.o: In function `main':
main.o(.text+0x10): relocation truncated to fit: R_ARM_PC24
flash_query(void)
collect2: ld returned 1 exit status
what is ld trying to tell me with the truncated error message? I note that
this is in the function main NOT flash_query, is this significant?
Andy
>
> Jifl
> --
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44
> (1223) 271062
> Maybe this world is another planet's Hell -Aldous Huxley ||
> Opinions==mine
>