This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: linker script question
Alan Modra <alan@linuxcare.com.au> writes:
> On 29 Mar 2001, Nick Papadonis wrote:
>
> > .ramvec :
> > {
> > _ramvec = . ;
> > *(.ramvec)
> > } > ramvec
>
> This says put all input sections named .ramvec into the output .ramvec
> section. "objdump -h" on ramvec.o should give you the clue you need to
> fix your problem.
>
Thanks Alan your statement is right, DJ recomended the following
which also worked:
'You created a symbol called ramvec, not a section called ramvec.
Try this instead:
.section .ramvec
.word 0x1600000
.word _main'
--
- Nick