[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with SH5 linker?
From: |
Nick Clifton |
Subject: |
Re: Problem with SH5 linker? |
Date: |
17 May 2002 14:42:33 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 |
Hi Stephen,
> address@hidden(1087)% sh64-superh-elf-gcc -ml -c y.c
> address@hidden(1088)% sh64-superh-elf-ld -r y.o
> sh64-superh-elf-ld: Relocatable linking with relocations from format
> elf32-sh64l (y.o) to format elf32-sh (a.out) is not supported
This is reasonable. The default target for the linker is "elf32-sh"
so you would not expect it to be able to reconcile "elf32-sh64"
relocs.
> address@hidden(1089)% sh64-superh-elf-ld -m shlelf32 -r y.o
> sh64-superh-elf-ld: Relocatable linking with relocations from format
> elf32-sh64l (y.o) to format elf32-sh64l (a.out) is not supported
This has been fixed in the current (CVS) binutils sources.
> address@hidden(1092)% sh64-superh-elf-ld -m shlelf32 y.o
> sh64-superh-elf-ld: warning: sh5 architecture of input file `y.o' is
> incompatible with sh output
> sh64-superh-elf-ld: warning: cannot find entry symbol start; defaulting to
> 0000000000001000
This has also been fixed.
Cheers
Nick