When I compile Linux 2.2.12 using binutil 2.9.5.0.29, I got the following
error message:
%make zImage
...
arm-linux-ld -T /home/murphy/armbuild/linux-2.2.12/linux/arch/arm/vmlinux-armv.lds -e
stext -Ttext 0xC0008000
arch/arm/kernel/head-armv.o arch/arm/kernel/init_task.o init/main.o init/version.o \
......
arm-linux-ld: target elf32arm not found
From the release note of binutils-2.9.5.0.29, I have some hints:
To get the correct behaviour from gcc, amend the *link section of your specs
file as follows:
*link:
%{h*} %{version:-v} %{b} %{Wl,*:%*} %{static:-Bstatic}
%{shared:-shared} %{symbolic:-Bsymbolic} %{rdynamic:-export-dynamic}
%{!dynamic-linker: -dynamic-linker /lib/ld-linux.so.2} -X
%{mbig-endian:-EB} %{mapcs-26:-m armelf_linux26}
%{!mapcs-26:-m armelf_linux} -p
I guess it is necessary to modify the 'specs file'.
But, where is the 'specs file'?
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++