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
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
--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
--mapfile name Create a map file
--module-id id Specify a module id
--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
--allow-multiple-definition Allow multiple definitions
--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
--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
--mapfile name Create a map file
--module-id id Specify a module id
--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
---------------------------------------------------------------------------
</verb></tscreen>
@ -98,6 +99,14 @@ Here is a description of all of the command-line options:
<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">
<tag><tt>-(, --start-group</tt></tag>