[coldfire-gnu-discuss] Source code for cs3 library
Nathan Sidwell
nathan at codesourcery.com
Thu Nov 29 13:01:53 UTC 2007
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
More information about the coldfire-gnu-discuss
mailing list