Mercurial > hg > index.cgi
diff extra/README @ 409:c8ae69cdb5a9
Update gcc6809 patch to work with pragma=newsource
An updated version of the gcc6809 patch is provided. This update removes
some incompatible syntax left over from the original gcc6809 patch that used
as6809. It was doing something that doesn't work with lwtools anyway.
Namely, trying to use the assembler to set the layout used by the linker.
Now thats all back to front when you think about it.
With this update, it is now possible to use the "as" wrapper with
--pragma=newsource enabled and be able to pass assembly code through the C
preprocessor without worrying about extraneous spaces causing problems.
author | William Astle <lost@l-w.ca> |
---|---|
date | Thu, 03 Mar 2016 22:33:40 -0700 |
parents | d0c0fede5021 |
children | 40de99bde5e0 |
line wrap: on
line diff
--- a/extra/README Thu Mar 03 21:38:21 2016 -0700 +++ b/extra/README Thu Mar 03 22:33:40 2016 -0700 @@ -108,3 +108,21 @@ fits in 16 bits. For clarity, both the 8 bit and 16 bit comparisons are replaced with straight forward range comparisons rather than the excessively clever scheme that was present before. + +gcc6809lw-4.6.4-3.patch + +This is identical to the -2 version except it fixes the crt0.S file so it +builds properly with the --pragma=newsource option. In fact, it never did +build properly due to spaces in operands anyway. However, since gcc6809 +doesn't come with a C library, it hasn't proved to be an issue. + +Patches to provide a proper crt0.S file based around the actual way lwtools +works will be considered. + +It's also worth noting that there are features inherited from previous +versions of gcc6809 that are not properly supported by these patches. In +particular, banking and "far calls" are not supported because there are no +targets supported by lwtools that do anything meaningful in the face of such +things. Patches to clean that up are also welcome. Either to do something +meaningful or to remove such features entirely. +