polluks2
9e9b3dbaca
Fixed typo
2021-12-13 17:14:57 +01:00
Greg King
fcda94f258
Made a slight improvement in the ld65 expression evaluator.
2021-06-13 20:36:05 -04:00
Greg King
1c16e46f23
Improved ld65's error messages about ca65's .BANK() function.
...
* Split a message into two more specific messages.
2021-06-05 11:31:28 -04:00
Greg King
39ef63cbbc
Don't check for circular references of imports that don't have matching exports.
...
This fix will avoid referring to a struct member through a null pointer.
2021-06-04 13:35:26 -04:00
bbbradsmith
d5d9183ccf
conform to prevailing if bracket style
2021-06-04 07:09:58 -04:00
bbbradsmith
6ebe551919
return is sufficient, TooComplex flag is unnecessary to resolve this crash case
...
suggested by greg-king5 in #1409
2021-06-04 07:09:58 -04:00
bbbradsmith
3584c4c87f
fix crash when a NULL ExprNode is checked for circular references
2021-06-04 07:09:58 -04:00
Andrea Odetti
05f545e189
More line number related changes.
2021-05-11 17:41:59 +02:00
Andrea Odetti
93762a2117
ld65: move 2 more cases to the notation file:line.
2021-05-11 17:41:59 +02:00
Andrea Odetti
feccc68c54
ld65: avoid redundant error message information.
2021-05-11 17:41:59 +02:00
Andrea Odetti
bcc670ee36
Standard formatting of error messages.
...
https://www.gnu.org/prep/standards/html_node/Errors.html
Issue: https://github.com/cc65/cc65/issues/1494
2021-05-11 17:41:59 +02:00
Oliver Schmidt
5d84a4ba13
Removed non-ASCII chars.
2021-04-19 16:06:10 +02:00
Daniel Serpell
17c5504129
In Atari XEX output format, join memory areas if possible.
...
This makes executables shorter if two memory areas are consecutive.
2020-07-04 23:28:10 +02:00
laubzega
dc4142e1a9
Minor formatting changes after review.
2020-05-29 10:00:33 +02:00
laubzega
083f3ae26b
Fix for #928 .
2020-05-29 10:00:33 +02:00
Chris Cacciatore
ad1eadd60d
Added support for --large-alignment in ld65.
...
Implemented the same way as in ca65.
2020-05-15 17:54:41 -04:00
bbbradsmith
e0cb33d9d4
SEGMENT start of 0 should be valid
2020-03-22 21:03:07 +01:00
bbbradsmith
c9355734f5
make linker generated export warning conistent with the import warning
2019-11-18 21:50:44 +01:00
bbbradsmith
788fbcc9c8
Fix silent crash failure on warning from linker command line define import size mismatch
2019-11-18 21:50:44 +01:00
Greg King
4f24a06f0e
Fixed error handling for missing names in ld65 configure files.
2019-10-12 07:59:49 -04:00
Greg King
28584b31f1
Made the ld65 configure file's segment offset attribute accept zero as a value.
...
Expressions are allowed as values. Therefore, zero might be set explicitly by some conditions.
2019-06-30 22:44:10 -04: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
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
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
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
Evgeny Vrublevsky
d4088f9eee
Don't output a warning about alignment when section address is defined by START or OFFSET and fits required alignment requirements
2018-10-18 15:37:14 +02:00
Laubzega
d293d766ef
New segment type renamed to "overwrite".
2018-09-08 19:18:41 -07:00
Laubzega
c7bb27bac9
Rename more stuff from "overlay" to "replace".
2018-09-06 00:18:39 -07:00
Laubzega
cd9efd53fe
Segment OVERLAY renamed to REPLACE. Bugfix for read-only segments. Formatting.
2018-09-04 00:34:28 -07:00
Laubzega
1b0e2cf783
Fix for multiple overlay segments.
2018-08-25 20:21:12 -07:00
Laubzega
8b584cb89f
Add segment type "overlay".
2018-08-25 10:18:23 -07:00
Chris Cacciatore
bad8412131
All programs print version and exit successfully.
...
* All programs are now using the ProgName variable as well.
2016-08-12 08:54:41 -07:00
Lauri Kasanen
8951e74ba7
ld65: Be more verbose in token errors
2016-05-27 20:03:58 +03:00
Greg King
fac246c799
Moved a warning message, about misaligned segments, to a configuration function.
...
It used to be shown only if the segment was written into a binary file. Now, it's shown for all badly-aligned segments.
2016-03-29 05:40:12 -04:00
Greg King
8e9bf4d419
Changed the way that ld65 handles bad offset/start segment attributes, and reports memory area overflows.
...
1. Offset/start attributes within a memory area are ignored after an overflow.
2. If a previous segment ends past an offset/start address, then that address is not used.
3. Short map files were generated for memory overflows; now, they are generated for bad offset/start addresses, too.
2015-10-22 19:24:08 -04:00
Greg King
0390c34e88
Changed multi-line C comments into another style.
...
The left side doesn't look unbalanced.
2014-06-30 16:51:07 -04:00
Christian Groessler
f7bc6a836d
Set the "simple" bit in the .o65 mode word only if text, data, and bss
...
are adjacent.
2014-05-21 23:49:56 +02:00
Christian Groessler
1a348ab73f
Fix error which slipped in in '-L' command line parameter handling.
2014-03-28 22:40:53 +01:00
Christian Groessler
5114a3b861
Make ld65 -L command line option position independent again.
...
Handle long versions of command line arguments correctly.
2014-03-27 23:50:25 +01:00
Christian Groessler
18c2289784
Make ld65 -L command line option position dependent again.
2014-03-25 15:36:38 +01:00