
C-6
Motorola DSP56000 Family Optimizing C Compiler User’s Manual
For More Information On This Product,
Go to: www.freescale.com
Motorola
C.1.5 dsplib—Motorola DSP COFF Librarian
dsplib
[
-a
|
-c
|
-d
|
-l
|
-r
|
-u
|
-v
|
-x
] [
-f<argfil>
] library [files...]
dsplib
is a utility that allows separate files to be grouped together into a single file. The
resulting library file can then be used for linking by the Motorola DSP Cross Linker
program or for general-purpose archival storage.
library
is an operating system compatible file name (including optional pathname)
indicating the library file to create or access. If no extension is supplied, the librarian will
automatically append
.clb
to the file name. If no pathname is specified, the librarian will
look for the library in the current directory.
files
is a list of operating system compatible file names. For input operations the file
names may also contain an optional pathname; the path is stripped when the file is written
to the library. For output operations only the file name should be used to refer to library
modules.
If no arguments are given on the command line, the librarian enters an interactive mode
where multiple commands may be entered without exiting the program. The syntax for the
interactive mode is
command library [files...]
where
command
is an action corresponding
to one of the options listed below,
library
is the library name, and
files
is the optional
(based on the action requested) list of files/modules upon which to operate. For example
the command
add foo bar.cln
adds the module
bar.cln
to the library
foo
. Because
interactive input is taken from the standard input channel of the host environment, it is
possible to create a batch of librarian commands and feed them to the program for
execution via redirection. For more information on interactive commands, invoke the
librarian without any arguments and enter
help
.
C.1.5.1 dsplib Options
Only one of the following command line options listed in Table C-3 may be given for each
invocation of the librarian. Option letters may be entered in either upper or lower case. If
no option is given, the librarian operates as if the
-U
option were specified.
-r
Dump the object file relocation information. This information is available only in relocatable object files.
-s
Dump the object file raw data contents.
-t
Dump the object file symbol table.
-v
Dump the object file symbolically, expanding bit flag, symbol type, and storage class names.
Table C-2. cofdmp Command Line Options
Option
Description
F
Freescale Semiconductor, Inc.
n
.