Small correction to linker script

#1171688
Rate this post
useful
not useful
Rasmus Pedersen wrote:
> Hi,
>
> I think line 40 in the files AT917S64-ROM/RAM.ld should be
>   .text : { *Cstartup.o (.text) }>FLASH =0
> instead of
>   .text : { *cstartup.o (.text) }>FLASH =0
> Otherwise the object file CStartup.o has to appear first when invoking
> the linker.
> Rasmus

Since the Windows file system is not case sensitive I am struggling to
see the difference - however if you were to use these scripts on Linux
you would indeed have a problem.
Guest #1171689
Rate this post
useful
not useful
Rasmus Pedersen wrote:
> I think line 40 in the files AT917S64-ROM/RAM.ld should be
>   .text : { *Cstartup.o (.text) }>FLASH =0
> instead of
>   .text : { *cstartup.o (.text) }>FLASH =0
> Otherwise the object file CStartup.o has to appear first when invoking
> the linker.
> Rasmus

Thanks for the report. As Clifford already mentioned the problem should
only exist with an OS which handles filenames case-sensitive. But since
the examples from my collection should be usable on all OSs which can
host the GNU arm-elf toolchain I have modified the linker-scripts. The
updated versions are available on
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/index_at91.html

Martin Thomas

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now