X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fld65.sgml;h=457893ffc33a467ff9e8828827f118b0f76777b0;hb=7ab3ede933ca2307b948cd6a218d1f49a4a8aa72;hp=3cd238f3f31ab48a8d1dd8643fa1f5cbd8304fd7;hpb=00555c26fa8bcc0b15be6b4bf73856eb98b9b2d6;p=cc65
diff --git a/doc/ld65.sgml b/doc/ld65.sgml
index 3cd238f3f..457893ffc 100644
--- a/doc/ld65.sgml
+++ b/doc/ld65.sgml
@@ -55,7 +55,10 @@ The linker is called as follows:
---------------------------------------------------------------------------
Usage: ld65 [options] module ...
Short options:
+ -( Start a library group
+ -) End a library group
-C name Use linker config file
+ -D sym=val Define a symbol
-L path Specify a library search path
-Ln name Create a VICE label file
-S addr Set the default start address
@@ -64,6 +67,7 @@ Short options:
-m name Create a map file
-o name Name the default output file
-t sys Set the target system
+ -u sym Force an import of symbol `sym'
-v Verbose mode
-vm Verbose map file
@@ -71,7 +75,10 @@ Long options:
--cfg-path path Specify a config file search path
--config name Use linker config file
--dbgfile name Generate debug information
+ --define sym=val Define a symbol
--dump-config name Dump a builtin configuration
+ --end-group End a library group
+ --force-import sym Force an import of symbol `sym'
--help Help (this text)
--lib file Link this library
--lib-path path Specify a library search path
@@ -80,6 +87,7 @@ Long options:
--obj file Link this object file
--obj-path path Specify an object file search path
--start-addr addr Set the default start address
+ --start-group Start a library group
--target sys Set the target system
--version Print the linker version
---------------------------------------------------------------------------
@@ -146,26 +154,47 @@ Here is a description of all the command line options:
none
+ module
apple2
+ apple2enh
atari
atmos
c16 (works also for the c116 with memory up to 32K)
c64
c128
- plus4
cbm510 (CBM-II series with 40 column video)
cbm610 (all CBM series-II computers with 80 column video)
- pet (all CBM PET systems except the 2001)
- geos
+ geos-apple
+ geos-cbm
lunix
- atmos
+ lynx
nes
+ pet (all CBM PET systems except the 2001)
+ plus4
+ supervision
+ vic20
There are a few more targets defined but neither of them is actually
supported.
+ -u sym[:addrsize], --force-import sym[:addrsize]
+
+ Force an import of a symbol. While object files are always linked to the
+ output file, regardless if there are any references, object modules from
+ libraries get only linked in if an import can be satisfied by this module.
+ The -v, --verbose
@@ -191,6 +220,15 @@ Here is a description of all the command line options:
id="option-t" name="-t">.
+