1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

ld65.sgml: document '--allow-multiple-definition' switch

This commit is contained in:
Christian Groessler 2019-04-30 23:33:22 +02:00 committed by Oliver Schmidt
parent dd53c2ddc3
commit a24e3d9e72

View File

@ -71,23 +71,24 @@ Short options:
-vm Verbose map file -vm Verbose map file
Long options: Long options:
--cfg-path path Specify a config file search path --allow-multiple-definition Allow multiple definitions
--config name Use linker config file --cfg-path path Specify a config file search path
--dbgfile name Generate debug information --config name Use linker config file
--define sym=val Define a symbol --dbgfile name Generate debug information
--end-group End a library group --define sym=val Define a symbol
--force-import sym Force an import of symbol 'sym' --end-group End a library group
--help Help (this text) --force-import sym Force an import of symbol 'sym'
--lib file Link this library --help Help (this text)
--lib-path path Specify a library search path --lib file Link this library
--mapfile name Create a map file --lib-path path Specify a library search path
--module-id id Specify a module id --mapfile name Create a map file
--obj file Link this object file --module-id id Specify a module id
--obj-path path Specify an object file search path --obj file Link this object file
--start-addr addr Set the default start address --obj-path path Specify an object file search path
--start-group Start a library group --start-addr addr Set the default start address
--target sys Set the target system --start-group Start a library group
--version Print the linker version --target sys Set the target system
--version Print the linker version
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
</verb></tscreen> </verb></tscreen>
@ -98,6 +99,14 @@ Here is a description of all of the command-line options:
<descrip> <descrip>
<tag><tt>--allow-multiple-definition</tt></tag>
Normally when a global symbol is defined multiple times, ld65 will
issue an error and not create the output file. This option lets it
silently ignore this fact and continue. The first definition of a
symbol will be used.
<label id="option--start-group"> <label id="option--start-group">
<tag><tt>-(, --start-group</tt></tag> <tag><tt>-(, --start-group</tt></tag>