comparison 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
comparison
equal deleted inserted replaced
408:0af33282b518 409:c8ae69cdb5a9
106 106
107 Also fixes a clearly incorrect comparision when determining if a constant 107 Also fixes a clearly incorrect comparision when determining if a constant
108 fits in 16 bits. For clarity, both the 8 bit and 16 bit comparisons are 108 fits in 16 bits. For clarity, both the 8 bit and 16 bit comparisons are
109 replaced with straight forward range comparisons rather than the excessively 109 replaced with straight forward range comparisons rather than the excessively
110 clever scheme that was present before. 110 clever scheme that was present before.
111
112 gcc6809lw-4.6.4-3.patch
113
114 This is identical to the -2 version except it fixes the crt0.S file so it
115 builds properly with the --pragma=newsource option. In fact, it never did
116 build properly due to spaces in operands anyway. However, since gcc6809
117 doesn't come with a C library, it hasn't proved to be an issue.
118
119 Patches to provide a proper crt0.S file based around the actual way lwtools
120 works will be considered.
121
122 It's also worth noting that there are features inherited from previous
123 versions of gcc6809 that are not properly supported by these patches. In
124 particular, banking and "far calls" are not supported because there are no
125 targets supported by lwtools that do anything meaningful in the face of such
126 things. Patches to clean that up are also welcome. Either to do something
127 meaningful or to remove such features entirely.
128