3 ASLINK \- companion linker for the ASxxxx assemblers.
6 .I "[options] filenames"
9 .I "[options] filenames"
12 .I "[options] filenames"
15 The information in this man page is an extract from the full
18 \&, and is limited to the meaning of the options.
20 For complete and current documentation, refer to the
22 ASxxxx Cross Assembler Documentation\c
23 \&, available in /usr/share/doc/sdcc-doc/aslink.
27 \& is general relocating companion linker for the
32 \& family is supported by
37 \&family is supported by
42 \& (GameBoy Z80-like CPU) is supported by
46 The linker may run in the command line mode or command file modes. The
47 allowed startup linker commands are:
50 command line / command file modes
53 enable/disable echo file.lnk input to stdout
55 If command line mode is selected, all linker commands come from stdin, if the
56 command file mode is selected the commands are input from the specified
57 file (extension must be .lnk).
59 After invoking the linker the valid options are:
64 Intel Hex (file.ihx) or Motorola S19 (file.s19) image output file.
67 Specifies that symbol names are case sensitive.
70 Generate a map file (file.map). This file contains a list of the symbols
71 (by area) with absolute addresses, sizes of linked areas, and other linking
75 Specifies that a wide listing format be used for the map file.
78 Specifies the number radix for the map file (Hexidecimal, Decimal, or
82 Generate an updated listing file (file.rst) derived from the relocated
83 addresses and data from the linker.
86 Files to be linked. Files may be on the same line as the above options or on a
87 separate line(s) one file per line or multiple files separated by spaces or
90 .BI "-b " "area = expression" " (one definition per line)"
91 This specifies an area base address where the expression may contain constants
92 and/or defined symbols from the linked files.
94 .BI "-g " "symbol = expression" " (one definition per line)"
95 This specifies the value for the symbol where the expression may contain
96 constants and/or defined symbols from the linked files.
98 .BI "-k " "library directory path" " (one definition per line)"
99 This specifies one possible path to an object library. More than one path is
102 .BI "-l " "library file specification" " (one definition per line)"
103 This specifies a possible library file. More than one file is allowed.
106 or null line, terminates input to the linker.
108 sdcc(1), asxxxx(1), link-z80(1), link-gbz80(1).
110 This manual page was written by Aurelien Jarno <aurel32@debian.org>,
111 for the Debian GNU/Linux system (but may be used by others).