help regarding ld
Ramana Radhakrishnan
ramana.radhakrishnan@codito.com
Fri Mar 18 11:11:00 GMT 2005
Hi,
This is a binutils question and not a gcc question , so
replying only on the binutils list. Use the -entry command
line option for arm-elf-ld to specify the entry point for
your code. (The default entry point _start is specified from
the default linker script which is assumed to be defined in
one of the files being linked finally to produce the
executable.) .
cheers
Ramana
> hi,
> i am using the arm-elf-gcc compiler to generate the assembly code
>
> arm-elf-gcc -mthumb -S new.c
>
> after this i use the arm-elf-as for genrating machine code
>
> arm-elf-as new.s
>
> it produces one a.out file..
>
> arm-elf-ld a.out
>
> produces error like
>
> arm-elf-ld: warning: cannot find entry symbol _start; not setting start address
>
> how do i type the correct command line option for this
>
> thanks in advance
>
>
--
Ramana Radhakrishnan
GNU Tools
codito ergo sum (www.codito.com)
More information about the Binutils
mailing list