1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-02 15:29:33 +00:00
cc65/src/ld65
uz da792b3fd0 Separate processing the linker config file into two phases: The config file is
read when the -t or -C switch is encountered and parts of it are processed.
The remaining parts are processed when all object files and libraries have
been read. To make this work, the expression evaluation in cfgexpr has been
rewritten to generate true expression trees. This means that expressions in
the linker config may use exports from the object files. 

Separation of config file processing is the base for several enhancements, for
example forced imports by linker config.

This code needs more work and is only very, very, very roughly tested.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4840 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-11-08 21:52:24 +00:00
..
cfg Exclude (small) stack from RAM memory area (like on most other targets) to make explicit that the linker may not use all RAM. If the cc65 parameter stack isn't used at all the __STACKSIZE__ symbol may be overridden on the linker command line with -D __STACKSIZE__=0. 2010-10-02 10:20:00 +00:00
make Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
asserts.c Add .assert actions that aren't evaluated at assembly time. 2009-10-04 12:40:19 +00:00
asserts.h Add .assert actions that aren't evaluated at assembly time. 2009-10-04 12:40:19 +00:00
bin.c Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
bin.h Added dbg file generation 2001-05-29 07:39:46 +00:00
binfmt.c This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
binfmt.h This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
cfgexpr.c Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
cfgexpr.h Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
condes.c Make much more usage of dynamic strings (StrBufs) instead of char* and 2008-03-31 20:54:45 +00:00
condes.h Use a string pool to reduce the memory footprint 2003-06-04 12:40:14 +00:00
config.c Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
config.h Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
dbgfile.c Output version information into the debug file. 2010-08-05 20:41:27 +00:00
dbgfile.h More debug file output 2003-09-14 21:08:05 +00:00
dbginfo.c Some changes in debug info generation. 2010-08-07 12:46:12 +00:00
dbginfo.h Add dbginfo module 2001-07-14 14:44:07 +00:00
dbgsyms.c Renamed the defines in symdefs.h to something more meaningful. They were named 2010-08-17 20:47:27 +00:00
dbgsyms.h Use collections in the object file structure instead of managing the items 2010-07-30 20:58:51 +00:00
error.c Make much more usage of dynamic strings (StrBufs) instead of char* and 2008-03-31 20:54:45 +00:00
error.h Added gcc attributes 2003-08-14 21:15:10 +00:00
exports.c Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
exports.h Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
expr.c Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
expr.h Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
extsyms.c Make much more usage of dynamic strings (StrBufs) instead of char* and 2008-03-31 20:54:45 +00:00
extsyms.h More string pool use 2003-06-04 15:40:32 +00:00
fileinfo.c Some changes in debug info generation. 2010-08-07 12:46:12 +00:00
fileinfo.h Some changes in debug info generation. 2010-08-07 12:46:12 +00:00
fileio.c Make much more usage of dynamic strings (StrBufs) instead of char* and 2008-03-31 20:54:45 +00:00
fileio.h Added assertions 2003-06-06 12:45:19 +00:00
filepath.c Restructured search path handling. 2010-05-09 10:54:15 +00:00
filepath.h Restructured search path handling. 2010-05-09 10:54:15 +00:00
fragment.c Some changes in debug info generation. 2010-08-07 12:46:12 +00:00
fragment.h Some changes in debug info generation. 2010-08-07 12:46:12 +00:00
global.c Removed the -Lp switch, place --dbgfile into help screen 2003-08-15 09:19:57 +00:00
global.h Removed the -Lp switch, place --dbgfile into help screen 2003-08-15 09:19:57 +00:00
library.c Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
library.h Added library groups 2005-03-26 16:26:11 +00:00
lineinfo.c Some changes in debug info generation. 2010-08-07 12:46:12 +00:00
lineinfo.h Some changes in debug info generation. 2010-08-07 12:46:12 +00:00
main.c Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
mapfile.c Use collections in the object file structure instead of managing the items 2010-07-30 20:58:51 +00:00
mapfile.h In case of memory area overflows, generate a short mapfile if one was 2005-01-23 11:19:26 +00:00
memarea.c Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
memarea.h Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
o65.c Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
o65.h Fixed numeric OS ids. Added new OS OPENCBM 2005-03-30 19:28:28 +00:00
objdata.c Fixed an error: Some of the collections weren't initialized. 2010-07-31 09:44:25 +00:00
objdata.h Fixed an error in the macro version of HasObjData(). 2010-07-31 12:37:14 +00:00
objfile.c Use collections in the object file structure instead of managing the items 2010-07-30 20:58:51 +00:00
objfile.h Extend the object code format by adding a (currently empty) scope table. 2003-11-28 22:12:14 +00:00
scanner.c Allow escape sequences prefixed by '%' in strings. '%%' denotes a single 2010-03-20 17:48:15 +00:00
scanner.h Changed the type of CfgSVal to a string buffer and removed the upper limit for 2010-03-20 17:23:51 +00:00
segments.c Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
segments.h Separate processing the linker config file into two phases: The config file is 2010-11-08 21:52:24 +00:00
spool.c Make much more usage of dynamic strings (StrBufs) instead of char* and 2008-03-31 20:54:45 +00:00
spool.h Fixed another problem with the macros. 2008-03-31 21:23:10 +00:00
tgtcfg.c Removed the - now unused - empty builtin configuration (was used for the ace 2009-09-18 19:13:59 +00:00
tgtcfg.h Added a new extended (and machine specific) zeropage segment named EXTZP. 2003-02-16 14:32:13 +00:00