From: Christian Groessler Date: Tue, 30 Apr 2019 21:33:22 +0000 (+0200) Subject: ld65.sgml: document '--allow-multiple-definition' switch X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a24e3d9e72c89655692aa32b5e1234aa8119504c;p=cc65 ld65.sgml: document '--allow-multiple-definition' switch --- diff --git a/doc/ld65.sgml b/doc/ld65.sgml index 2195ca48d..36489b0c6 100644 --- a/doc/ld65.sgml +++ b/doc/ld65.sgml @@ -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 --------------------------------------------------------------------------- @@ -98,6 +99,14 @@ Here is a description of all of the command-line options: + --allow-multiple-definition + + 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. + +