X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fld65.sgml;h=36489b0c60e286b86eff8d91d5095c5a58a54f61;hb=a24e3d9e72c89655692aa32b5e1234aa8119504c;hp=beb2144bfa728e21023763b4a84e26db20a0fe04;hpb=cd72f816d34efbb415bdb9e97435994e4e57b443;p=cc65 diff --git a/doc/ld65.sgml b/doc/ld65.sgml index beb2144bf..36489b0c6 100644 --- a/doc/ld65.sgml +++ b/doc/ld65.sgml @@ -24,21 +24,21 @@ It complements the features that are built into the ca65 macroassembler: - Accept any number of segments to form an executable module. + Accept any number of segments to form an executable module. - Resolve arbitrary expressions stored in the object files. + Resolve arbitrary expressions stored in the object files. - In case of errors, use the meta information stored in the object files - to produce helpful error messages. In case of undefined symbols, - expression range errors, or symbol type mismatches, ld65 is able to - tell you the exact location in the original assembler source, where - the symbol was referenced. + In case of errors, use the meta information stored in the object files + to produce helpful error messages. In case of undefined symbols, + expression range errors, or symbol type mismatches, ld65 is able to + tell you the exact location in the original assembler source, where + the symbol was referenced. - Flexible output. The output of ld65 is highly configurable by a config - file. Some more-common platforms are supported by default configurations - that may be activated by naming the target system. The output - generation was designed with different output formats in mind, so - adding other formats shouldn't be a great problem. + Flexible output. The output of ld65 is highly configurable by a config + file. Some more-common platforms are supported by default configurations + that may be activated by naming the target system. The output + generation was designed with different output formats in mind, so + adding other formats shouldn't be a great problem. @@ -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. + +