Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldfire-gnu-discuss] Source code for cs3 library


  • To: David Brown <david@xxxxxxxxxxxxxxx>
  • Subject: Re: [coldfire-gnu-discuss] Source code for cs3 library
  • From: Nathan Sidwell <nathan@xxxxxxxxxxxxxxxx>
  • Date: Thu, 29 Nov 2007 13:01:53 +0000

David,
As far as I can figure out, the newlib-stable/libgloss/m68k directory in the 4.2.47 source code tarball contains the source for the older startup code - files such as cf-crt1.c are labelled copyright 2006, and use the earlier style of startup. The Makefile.in in this directory will generate the older linker files (m5213evb-ram-hosted.ld, etc) and not the newer versions (which have clock-speed specific versions for convenience).

Correct. The code in libgloss/m68k is no longer used. the CS3 startup code sources are in m68k-elf/lib/src

I also note that you've made a little mistake in the rom version of the linker files - your .bss section is marked ">ram AT>rom" instead of just ">ram" - there is no need for the .bss section to be mirrored in rom.

the AT>rom is harmless and does mean the headers are somewhat more intelligible.

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery