X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fld65.sgml;h=d37beced749309c3cc5a50e03fe4cea46e77651d;hb=a7f392a96fefd667bbcabfc816bbb6b3e3de70ac;hp=3cd238f3f31ab48a8d1dd8643fa1f5cbd8304fd7;hpb=00555c26fa8bcc0b15be6b4bf73856eb98b9b2d6;p=cc65
diff --git a/doc/ld65.sgml b/doc/ld65.sgml
index 3cd238f3f..d37beced7 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
---------------------------------------------------------------------------
@@ -147,6 +155,7 @@ Here is a description of all the command line options:
none
apple2
+ apple2enh
atari
atmos
c16 (works also for the c116 with memory up to 32K)
@@ -160,12 +169,29 @@ Here is a description of all the command line options:
lunix
atmos
nes
+ supervision
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 +217,15 @@ Here is a description of all the command line options:
id="option-t" name="-t">.
+