bbbradsmith
|
3a3107b244
|
Disabling too-aggressive optimization in OptCmp8
Generates incorrect code for some 16-bit cases. See: #895
|
2019-05-27 10:03:25 +02:00 |
|
Richard Halkyard
|
448aa35f50
|
Fix realloc() bug in gr65
The pointer to the input buffer was not being updated after a call to
realloc(), causing the program to crash if realloc() moved the buffer.
|
2019-05-22 11:33:43 +02:00 |
|
Greg King
|
644d623d31
|
Reset the name of the "current bss segment" before writing bss variables into the output Assembly file.
Then, cc65 can notice a single "#pragma bss-name()" at the beginning of the variables list.
|
2019-05-18 12:16:52 -04:00 |
|
bbbradsmith
|
9299e550a5
|
fix NearAddr case in comment
|
2019-05-11 12:32:44 +02:00 |
|
bbbradsmith
|
7d14cff6bb
|
o65.c: missed a link time resolution of EXPR_NEARADDR
|
2019-05-11 12:32:44 +02:00 |
|
bbbradsmith
|
10cefdb456
|
move EXPR_NEARADDR to end of enum list to avoid invalidation of existing object binaries?
|
2019-05-11 12:32:44 +02:00 |
|
bbbradsmith
|
ac2ecb0b2c
|
65816 now generate EXPR_NEARADDR instead of EXPR_WORD0 for default assumed address mode, which will be validated by the linker's range check rather than blindly truncated. Assuming the assembler correctly validated this, the linker is allowed to truncate.
|
2019-05-11 12:32:44 +02:00 |
|
Christian Groessler
|
dd53c2ddc3
|
src/ld65/main.c: fix copy'n'paste error in comment
|
2019-05-01 10:57:48 +02:00 |
|
Christian Groessler
|
5a05acf936
|
ld65: implement '--allow-multiple-definition' command line parameter
|
2019-05-01 10:57:48 +02:00 |
|
Christian Groessler
|
c248c14075
|
src/ld65/exports.c: Issue an error instead of a warning for duplicate global symbols.
|
2019-05-01 10:57:48 +02:00 |
|
Brad Smith
|
1a5fa6dc51
|
goto.c warning fix for implicit truncation
|
2019-05-01 10:53:41 +02:00 |
|
IrgendwerA8
|
37f80534c9
|
Fix for #830 supplied by UvB
|
2019-04-25 15:19:53 +02:00 |
|
Greg King
|
214c90f957
|
Made the code that logs indirect-goto referals be a little more efficient.
|
2019-04-23 19:12:02 -04:00 |
|
Lauri Kasanen
|
f328481a48
|
Replace hard returns with an "else", add an error for non-IDENT tokens, and test for static
|
2019-04-21 12:46:03 -04:00 |
|
Lauri Kasanen
|
60d8559372
|
Return after errors, move left bracket consumption down
|
2019-04-21 12:46:03 -04:00 |
|
Lauri Kasanen
|
654d972288
|
C90 param, void
|
2019-04-21 12:46:03 -04:00 |
|
Lauri Kasanen
|
a9cbb5305c
|
Fix missing spaces
|
2019-04-21 12:46:03 -04:00 |
|
Lauri Kasanen
|
304473d857
|
Adjustment for '816
|
2019-04-21 12:46:03 -04:00 |
|
Lauri Kasanen
|
3b3b16ee9c
|
Add support for computed gotos
This is a GCC extension that allows C to use fast jump tables.
|
2019-04-21 12:46:03 -04:00 |
|
Lauri Kasanen
|
c2220f3c30
|
Add a goto indirect jump from pointer
|
2019-04-21 12:46:03 -04:00 |
|
Lauri Kasanen
|
37f00e6644
|
Export the label symbol table
|
2019-04-21 12:46:03 -04:00 |
|
Lauri Kasanen
|
2af76c7cff
|
Only for jumps, the lib uses named asm labels in branches
|
2019-04-21 12:46:03 -04:00 |
|
Lauri Kasanen
|
c3d809b129
|
Fix jmp-callax.c bug
|
2019-04-21 12:46:03 -04:00 |
|
IrgendwerA8
|
dcbe03f23b
|
Adjusted to the current multiline-comment style.
|
2019-04-02 16:34:22 +02:00 |
|
IrgendwerA8
|
1530020a1f
|
Fix for multiplication optimization issue #367
|
2019-04-02 16:34:22 +02:00 |
|
Steven Hugg
|
ae261e91f2
|
Code cleanup per code review
|
2019-03-31 22:33:22 -04:00 |
|
Steven Hugg
|
9faaa0689b
|
cleaned up code per review
|
2019-03-31 22:33:22 -04:00 |
|
Steven Hugg
|
a71f764c33
|
fixed optimization bug where array index is 16-bit, e.g. arr16[i & 0x7f7f]
|
2019-03-31 22:33:22 -04:00 |
|
Steven Hugg
|
dca99d59e5
|
rearranged order of new optimizations to better handle -Oi flag
|
2019-03-31 22:33:22 -04:00 |
|
Steven Hugg
|
5d274e4bc5
|
added optimization for indexed 16-bit array load of form (array[i & 0x7f])
|
2019-03-31 22:33:22 -04:00 |
|
Steven Hugg
|
ffc118cd94
|
added optimization for indexed pointer load of a constant, e.g.: y = ((unsigned char*)0x100)[i]
|
2019-03-31 22:33:22 -04:00 |
|
Olli Savia
|
f95481fabf
|
Fixed gcc compiler warning (#867)
* Changed spelling FALLTHRU -> FALLTHROUGH
|
2019-03-30 16:09:16 -04:00 |
|
Daniel Serpell
|
61463e1a70
|
Don't write INITAD if the memory area is empty.
|
2019-02-21 19:00:17 -03:00 |
|
Daniel Serpell
|
b03ae76b54
|
Add support for INITAD to the Atari binary format.
|
2019-02-21 19:00:03 -03:00 |
|
Stefan
|
08ec9fc392
|
Fixed 65C02 timing again.
|
2019-02-12 11:15:47 -05:00 |
|
Stefan
|
50fd96bbab
|
Fixed 65C02 timing.
|
2019-02-07 12:19:49 +01:00 |
|
Christian Groessler
|
58484449b4
|
remove TABs
|
2019-02-05 23:27:52 +01:00 |
|
Daniel Serpell
|
2aa5b4cafe
|
Rewrites ATARI EXE segment writing to optimally write segment sizes.
We now expand segments as needed to write a minimal set of headers.
|
2019-02-03 18:13:35 -03:00 |
|
Daniel Serpell
|
4e51fcbdd4
|
Don't support overwrite segments.
This simplifies the memory area size calculations.
|
2019-02-03 18:11:53 -03:00 |
|
Daniel Serpell
|
63d9b492b7
|
Only write full ATARI XEX header in the first chunk.
|
2019-02-03 18:09:51 -03:00 |
|
Daniel Serpell
|
8e3fe2ef86
|
Remove unused function.
|
2019-02-03 18:05:15 -03:00 |
|
Daniel Serpell
|
0e947d594f
|
Add support for Atari XEX file format to LD65
|
2019-02-03 18:04:46 -03:00 |
|
Oliver Schmidt
|
cd72f816d3
|
Merge pull request #829 from inexorabletash/string-escapes
ca65: Add string_escapes feature. Resolves #535
|
2019-01-20 21:58:06 +01:00 |
|
Greg King
|
a6b04f6e97
|
Changed most "backticks" (grave accents) into apostrophes.
Quotations that are embraced by tick marks now look better, in most fonts.
|
2019-01-05 14:57:12 -05:00 |
|
Joshua Bell
|
c8bf652982
|
ca65: Add string_escapes feature. Resolves #535
|
2019-01-05 11:29:54 -08:00 |
|
Greg King
|
5ac11b5e88
|
Added an error message, in case there's a typo in the definitions of long command-line options.
|
2019-01-04 03:35:49 -05:00 |
|
Greg King
|
cd6e167982
|
Fixed a duplicate-label test.
Don't call strcmp() if either argument is NULL.
|
2019-01-04 02:29:17 -05:00 |
|
Oliver Schmidt
|
01857cd4de
|
Updated Visual Studio solution files to VS 2017.
|
2018-11-24 14:10:58 +01:00 |
|
Greg King
|
554448a1f1
|
.byt "" emits no data; avoid a ca65 crash.
Fixes #775 on GitHub.
|
2018-10-20 13:41:52 -04:00 |
|
Evgeny Vrublevsky
|
f73aa2af71
|
'--no-std-lib' was renamed to '--no-target-lib'
|
2018-10-19 10:57:10 +02:00 |
|