]>
git.sur5r.net Git - cc65/log
uz [Sun, 1 Jan 2012 18:26:39 +0000 (18:26 +0000)]
Fixed a bug: To check for signed types use IsSignSigned, not !IsSignUnsigned.
The latter may be true for types and are neither signed nor unsigned.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5353
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sun, 1 Jan 2012 12:14:17 +0000 (12:14 +0000)]
NES TGI Update by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5352
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sat, 31 Dec 2011 15:21:33 +0000 (15:21 +0000)]
Let the linker generate a new symbol __NAME_FILEOFFS__ that contains the
offset of a memory area in the output file. Partially based on a contribution
by David M. Lloyd, david.lloyd@redhat.com.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5351
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sat, 31 Dec 2011 13:09:55 +0000 (13:09 +0000)]
Support for the Mitsubishi 740 CPU for da65. Written and contributed by
Chris Baird, cjb@brushtail.apana.org.au.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5350
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 29 Dec 2011 21:18:23 +0000 (21:18 +0000)]
Fix SVN version stuff. The old implementation apparently had problems with
subversion >= 1.7.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5349
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
silverdr [Thu, 29 Dec 2011 20:37:32 +0000 (20:37 +0000)]
removed one conditional in the cc65 Makefile gcc.mak in order to make SVN version work also with SVN 1.7.x working copies
git-svn-id: svn://svn.cc65.org/cc65/trunk@5348
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Wed, 28 Dec 2011 18:20:14 +0000 (18:20 +0000)]
Changed docs for options.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5347
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Wed, 28 Dec 2011 18:12:47 +0000 (18:12 +0000)]
Change option processing and options to be more compatible with the other
tools. Support long options. Remove unnecessary newlines from error messages.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5346
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Wed, 28 Dec 2011 17:46:17 +0000 (17:46 +0000)]
Renamed the main file to main.c for consistency reasons.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5345
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Wed, 28 Dec 2011 17:43:48 +0000 (17:43 +0000)]
Removed an anused constant.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5344
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Wed, 28 Dec 2011 17:11:21 +0000 (17:11 +0000)]
Renamed the old geos target to geos-cbm.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5343
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Wed, 28 Dec 2011 17:09:26 +0000 (17:09 +0000)]
Order of table entries was wrong, so bsearch failed.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5342
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Wed, 28 Dec 2011 16:28:19 +0000 (16:28 +0000)]
Added support for arbitrary alignments.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5341
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Wed, 28 Dec 2011 16:00:16 +0000 (16:00 +0000)]
Make the error message for large alignments more descriptive. Don't use the
real number of fill bytes for an alignment, we didn't accept anyway.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5340
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Wed, 28 Dec 2011 14:02:09 +0000 (14:02 +0000)]
New behaviour of .ALIGN, new option --large-alignment.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5339
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Wed, 28 Dec 2011 13:33:38 +0000 (13:33 +0000)]
Added TGT_GEOS_CBM and TGT_GEOS_APPLE.
Added new targets to the geos resource compiler already prepared by Oliver.
Changed the target module to allow target name aliases and consolidated target
properties into a TargetProperties structure kept in that module. Numeric
targets are now gone.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5338
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Wed, 28 Dec 2011 13:29:09 +0000 (13:29 +0000)]
Fixed a compiler warning.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5337
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Tue, 27 Dec 2011 23:36:05 +0000 (23:36 +0000)]
First steps towards supporting Apple GEOS.
- The generated file is a "Apple GEOS Convert" format.
- VLIR support is yet to come.
- The "Apple GEOS UnConvert" tool is yet to come.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5336
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 27 Dec 2011 22:56:39 +0000 (22:56 +0000)]
Small changes for arbitrary alignment in object files.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5335
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 27 Dec 2011 22:54:52 +0000 (22:54 +0000)]
Allow arbitrary alignments, not just powers of two. Beware: This needs support
in the linker which is currently missing.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5334
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 27 Dec 2011 22:53:42 +0000 (22:53 +0000)]
Bumped object file version since file format has changed.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5333
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 27 Dec 2011 22:53:15 +0000 (22:53 +0000)]
Added LARGE_ALIGNMENT.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5332
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 27 Dec 2011 22:45:20 +0000 (22:45 +0000)]
Fix warning about possibly uninitialized variable.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5331
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 27 Dec 2011 22:36:28 +0000 (22:36 +0000)]
Export MAX_ALIGNMENT.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5330
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 27 Dec 2011 22:31:36 +0000 (22:31 +0000)]
New function AlignCount.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5329
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 27 Dec 2011 22:18:05 +0000 (22:18 +0000)]
Fix the factorization routine and hide it in the module. The others don't need
to know about it, they can use the lcm calculation routine.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5328
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Tue, 27 Dec 2011 16:53:11 +0000 (16:53 +0000)]
Added preliminary support for -t option.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5327
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Tue, 27 Dec 2011 16:29:30 +0000 (16:29 +0000)]
Unified GEOS sample resource file names.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5326
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Tue, 27 Dec 2011 15:30:34 +0000 (15:30 +0000)]
- Removed -f option.
- Replaced references to target 'geos' with references to (the to-be renamed) 'cbm-geos'.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5325
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Tue, 27 Dec 2011 15:24:30 +0000 (15:24 +0000)]
Replaced references to target 'geos' with references to (the upcoming) 'apple-geos' and (the to-be renamed) 'cbm-geos'.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5324
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Tue, 27 Dec 2011 14:29:59 +0000 (14:29 +0000)]
Removed -f option. Just always overwrite files - as the other tools do.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5323
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 27 Dec 2011 12:58:15 +0000 (12:58 +0000)]
Added functions to factorize a value and to create the lcm of two factorized
numbers.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5322
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Tue, 27 Dec 2011 02:09:27 +0000 (02:09 +0000)]
Updated first part of the grc65 doc.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5321
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Tue, 27 Dec 2011 01:30:41 +0000 (01:30 +0000)]
Renamed to follow .grc naming scheme.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5320
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Tue, 27 Dec 2011 01:23:01 +0000 (01:23 +0000)]
Fixed typo.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5319
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Tue, 27 Dec 2011 01:11:22 +0000 (01:11 +0000)]
Allow for custom icon for a GEOS app by allowing user to specify an external 63-byte sprite file - which is simply translated to an '.incbin' command.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5318
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Tue, 27 Dec 2011 00:31:32 +0000 (00:31 +0000)]
Deleted empty directory.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5317
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Tue, 27 Dec 2011 00:25:17 +0000 (00:25 +0000)]
Moved GEOS VLIR assembler sample from 'samples' to 'testcode' because:
- It relies on include files which are not part of the cc65 distribution (but only present in the cc65 source tree).
- An upcoming GEOS VLIR C sample will obsolete it - as sample.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5316
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Mon, 26 Dec 2011 23:50:55 +0000 (23:50 +0000)]
Adjusted language and TABs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5315
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Mon, 26 Dec 2011 22:54:04 +0000 (22:54 +0000)]
Redesigned GEOS VLIR linking:
- No more post-linking with resource compiler, rather ld65 directly creates the VLIR CVT file.
- No more dynamic linker config creation, rather the built-in 'geos' config is usable both for SEQ CVT and VLIR CVT files.
ToDos:
- Have ld65 accept alignment to $FD.
- Adjust docs / samples.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5314
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 26 Dec 2011 22:38:06 +0000 (22:38 +0000)]
New include file for address alignment.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5313
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
silverdr [Mon, 26 Dec 2011 16:50:23 +0000 (16:50 +0000)]
changed wording of the message
git-svn-id: svn://svn.cc65.org/cc65/trunk@5312
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Mon, 19 Dec 2011 14:49:40 +0000 (14:49 +0000)]
Minor formatting adjustment.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5311
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sun, 11 Dec 2011 23:40:53 +0000 (23:40 +0000)]
Fixed an error introduced in revision 4427: The list of 65816 instructions
contained two items less than the counter said (because in 4427 two were
deleted without adjusting the counter). Depending on the compilers
implementation of bsearch(), some of the 65826 instructions were not found
when searching the table.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5310
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sat, 10 Dec 2011 12:09:46 +0000 (12:09 +0000)]
Documented the .SET operator that has been available for about 6 years now :-)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5309
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Wed, 7 Dec 2011 21:08:14 +0000 (21:08 +0000)]
Added more sample for the inline assembler. Contributed by Steffen Görzig.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5308
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 5 Dec 2011 21:32:59 +0000 (21:32 +0000)]
When generating the dependency file, escape spaces in file names.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5307
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Fri, 2 Dec 2011 17:34:19 +0000 (17:34 +0000)]
Describe the atari macro package.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5306
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Tue, 29 Nov 2011 21:36:42 +0000 (21:36 +0000)]
Adjustments to recent adding of get/set prefix to tgi function names.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5305
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 7 Nov 2011 21:27:16 +0000 (21:27 +0000)]
Some small documentation updates by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5304
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 7 Nov 2011 21:25:20 +0000 (21:25 +0000)]
Disallow __asm__ on global level.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5303
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sat, 5 Nov 2011 19:49:34 +0000 (19:49 +0000)]
Remove ldiv_t - it should only be in stdlib.h. Reported by Marc Rintsch.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5302
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sun, 18 Sep 2011 20:36:19 +0000 (20:36 +0000)]
Fixed an internal error caused by muddling through after an error occurred and
trying to add a duplicate identifier into the symbol table.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5300
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 13 Sep 2011 18:50:29 +0000 (18:50 +0000)]
Fixed an error: The LINE function mistakenly enabled the BASIC ROM. (Greg King)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5299
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sun, 4 Sep 2011 10:41:43 +0000 (10:41 +0000)]
Fixed an error: The output file shouldn't be opened in binary mode (thefox).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5297
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sat, 3 Sep 2011 19:11:12 +0000 (19:11 +0000)]
Small fix for an error message.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5296
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 1 Sep 2011 20:53:42 +0000 (20:53 +0000)]
Make the type of a C symbol available.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5295
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 1 Sep 2011 20:51:07 +0000 (20:51 +0000)]
Added functions to access the c symbols in the debug info file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5294
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 1 Sep 2011 10:21:25 +0000 (10:21 +0000)]
Postprocess and cross-reference C symbol infos.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5293
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 1 Sep 2011 10:00:31 +0000 (10:00 +0000)]
Fixed an error: Symbol references for csyms were output as local, not global
ids.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5292
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Wed, 31 Aug 2011 21:00:20 +0000 (21:00 +0000)]
New flag that tells if the HLL symbol has an asm symbol attached.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5291
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Wed, 31 Aug 2011 20:48:40 +0000 (20:48 +0000)]
Write out global symbols to the debug file. Added some fixes for unusual
situations (extern symbols without attached import, because the import wasn't
referenced and therefore removed by the assembler).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5290
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 30 Aug 2011 13:19:28 +0000 (13:19 +0000)]
Parse csym lines in the debug info file. No api functions til now.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5289
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 30 Aug 2011 13:18:50 +0000 (13:18 +0000)]
Validate the type passed in .dbg statements at least loosely.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5288
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 30 Aug 2011 13:09:34 +0000 (13:09 +0000)]
For now use the void type for all debug symbols to avoid errors in the
backends.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5287
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 30 Aug 2011 13:04:08 +0000 (13:04 +0000)]
Shorten "extern" -> "ext".
git-svn-id: svn://svn.cc65.org/cc65/trunk@5286
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 30 Aug 2011 11:42:26 +0000 (11:42 +0000)]
More work on high level language debug symbols. They are now passed correctly
via the object files to the linker and written to the debug info file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5285
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 30 Aug 2011 09:38:53 +0000 (09:38 +0000)]
The geos resource compiler was still called by its old name (Greg King).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5284
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 29 Aug 2011 20:37:28 +0000 (20:37 +0000)]
Renamed hldbgsym -> hlldbgsym.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5283
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 29 Aug 2011 20:30:57 +0000 (20:30 +0000)]
Some code cleanup.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5282
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 29 Aug 2011 20:02:06 +0000 (20:02 +0000)]
Write the high level debug info to the object file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5281
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 29 Aug 2011 18:55:29 +0000 (18:55 +0000)]
Added an offset field to the high level language symbol definition.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5280
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 29 Aug 2011 18:55:03 +0000 (18:55 +0000)]
Worked on high level language symbol info.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5279
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sun, 28 Aug 2011 20:01:51 +0000 (20:01 +0000)]
Added a module for high level language debug symbols.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5278
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sun, 28 Aug 2011 15:10:43 +0000 (15:10 +0000)]
Added output of types.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5277
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sun, 28 Aug 2011 14:44:41 +0000 (14:44 +0000)]
Fixed the layout for the span output.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5276
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Fri, 26 Aug 2011 20:03:11 +0000 (20:03 +0000)]
Added span output.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5275
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Fri, 26 Aug 2011 13:01:29 +0000 (13:01 +0000)]
Add a (currently empty) type string to the debug info for symbols and functions.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5274
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Fri, 26 Aug 2011 12:05:00 +0000 (12:05 +0000)]
Started to add debug infos for C functions and symbols.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5273
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Fri, 26 Aug 2011 10:05:28 +0000 (10:05 +0000)]
Fix a C89 incompatibility (Stefan Haubenthal).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5272
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Fri, 26 Aug 2011 10:05:08 +0000 (10:05 +0000)]
Pointers passed outside the module should be const.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5271
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 25 Aug 2011 18:59:25 +0000 (18:59 +0000)]
Added code to parse type strings and convert them into a set of cc65_typedata
structures. Added cc65_type_byid and cc65_free_typedata (a dummy).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5270
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 23 Aug 2011 18:05:31 +0000 (18:05 +0000)]
Fix type string for .ADDR and .FARADDR.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5269
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 23 Aug 2011 18:04:25 +0000 (18:04 +0000)]
Fixed a bug: Never remember a pointer to a string buffer, since it becomes
invalid when the string buffer gets resized.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5268
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 23 Aug 2011 18:01:23 +0000 (18:01 +0000)]
Renamed GT_GetArraySize to GT_GetElementCount.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5267
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 23 Aug 2011 16:15:41 +0000 (16:15 +0000)]
Implement variable sized element count for arrays.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5266
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 22 Aug 2011 21:52:40 +0000 (21:52 +0000)]
Added the LineInfo count to the info line of the debug info file. This allows
the debug info module to reduce memory usage.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5265
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 22 Aug 2011 19:37:10 +0000 (19:37 +0000)]
Track types, parse the extended debug info format with "type" lines.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5264
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 22 Aug 2011 18:22:45 +0000 (18:22 +0000)]
Maintain the types as separate indexed items in the debug info file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5263
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 22 Aug 2011 17:53:00 +0000 (17:53 +0000)]
Added a tpool module that implements a global pool for generic types, so we
can merge duplicate ones and assign them global ids.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5262
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 22 Aug 2011 17:36:19 +0000 (17:36 +0000)]
Do not resolve the lists of spans for LineInfos and Scopes, but keep them as
ids. This way, we can delay loading spans until we know that we definitely
need an object file.
Did some restructuring for writing of span lists to the debug info file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5261
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sun, 21 Aug 2011 20:50:39 +0000 (20:50 +0000)]
Fix a problem with the generated array sizes for span types (they were wrong).
As an optimization, don't create an array for just a few elements.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5260
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sun, 21 Aug 2011 20:18:27 +0000 (20:18 +0000)]
Parse (but ignore) type information for spans.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5259
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sun, 21 Aug 2011 20:18:09 +0000 (20:18 +0000)]
Write out type information for spans to the debug info file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5258
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sun, 21 Aug 2011 20:17:43 +0000 (20:17 +0000)]
Change prototype for GT_AsString to make it easier usable.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5257
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sun, 21 Aug 2011 20:17:22 +0000 (20:17 +0000)]
Generate span types for .ADDR, .BYTE, .DBYT, .FARADDR and .WORD.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5256
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sun, 21 Aug 2011 20:04:27 +0000 (20:04 +0000)]
Added GT_AsString().
git-svn-id: svn://svn.cc65.org/cc65/trunk@5255
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sun, 21 Aug 2011 19:46:47 +0000 (19:46 +0000)]
Don't remember types for spans if no debug info is requested.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5254
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sun, 21 Aug 2011 19:44:02 +0000 (19:44 +0000)]
Add an optional type to a span.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5253
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Sun, 21 Aug 2011 19:35:51 +0000 (19:35 +0000)]
The string with index zero is the first string in the string pool.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5252
b7a2c559 -68d2-44c3-8de9-
860c34a00d81