You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fbc: compensate for section relocations in C backend change from gcc 7.x to 8.x
- C backend: switch to .text section after writing the exports to the C file in the explicit asm block.
- gcc can move sections around with optimizations
- there is a change between 7.x and 8.x that causes issue with where the directive section is located
- in gcc 8.x the .drectve section can appear immediately after the first .text section and the .drectve section not properly closed.
Copy file name to clipboardExpand all lines: changelog.txt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -119,6 +119,7 @@ Version 1.08.0
119
119
- gcc backend: inline asm for float to integer calculations was generating bad code with gcc optimizations due to x87 stack clobbered but not reported to gcc
120
120
- gcc backend: fix GOSUB causing crash/exception on win64 - setjmp/longjmp failed on mingw-w64 64-bit and needed to be passed 2 parameters instead of 1
121
121
- fix __FB_EVAL__() incorrectly reading past the end of the expression, and report errors in expressions
122
+
- C backend: switch to .text section after writing the exports to the C file in the explicit asm block. gcc can move sections around with optimizations and there is a change between 7.x and 8.x that causes issue with where the directive section is located
0 commit comments