Motorola
Utilities
C-7
C.1.6 dsplnk—Motorola DSP COFF Linker
dsplnk
[
-B
[
<
lodfil
>
]] [
-F<
argfil
>
] [
-I
[
-L<
library
>
] [
-M<
mapfil
>
] [
-N
]
[
-O<
mem
>
[
<
ctr
>
][
<
map
>
]
:<
origin
>
] [
-P<
lpath
>
] [
-R<
ctlfil
>
] [
-Z
]
[
-U<
symbol
>
] [
-V
] [
-X
<opt>[, <opt>...]] [
-Z
]
<
files...
>
dsplnk
is a program that processes relocatable link files produced by the DSP
assemblers, generating an absolute load file which can be
1. loaded directly into the Motorola DSP simulator or
2. converted to Motorola S-record format for PROM burning.
files
is a list of operating system compatible file names including optional pathnames. If
no extension is supplied for a given file, the linker will first attempt to open the file using
the file name as supplied. If that is not successful the linker appends
.cln
to the file name
and tries to open the file again. If no pathname is supplied for a given file, the linker will
Table C-3. cldinfo Command Line Options
Option
Description
-a
This option adds the modules in the file list to the named library. The library file must exist and the
modules must not already be in the library.
-c
Create a new library file and add any specified modules to it. If the library file already exists, an
error is issued.
-d
Delete named modules from the library. If the module is not in the library, an error is issued.
-f<argfil>
This option indicates that an external file should be read for further command arguments. It is
useful in host environments where the command line length is restricted.
argfil
must be present
on the command line but can be any legal operating system file name, including an optional
pathname.
argfil
is a text file containing module names to be passed to the librarian. The names need be
separated only by white space (spaces, tabs, or newlines). A semicolon (;) on a line following
white space causes the rest of the line to be treated as a comment.
-l
List library contents. This option lists the module name as contained in the library header, the
module size (minus library overhead), and the date and time the file was stored into the library.
The listing output is routed to standard output so that it may be redirected to a file if desired.
-r
This option replaces the named modules in the given library. The modules must already be
present in the library file.
-u
This option updates the specified modules if they exist in the library; otherwise it adds them to the
end of the library file.
-v
This option displays the librarian version number and copyright notice.
-x
Extract named modules from the library. The resulting files are given the name of the modules as
stored in the library module header. All files are created in the current working directory.
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.