35bdeb99c34348236de2d4c93352ab5c5c842d76
[deliverable/binutils-gdb.git] / binutils / nlmconv.1
1 .\" Copyright 1991, 1993, 1994, 1996, 2000 Free Software Foundation, Inc.
2 .\" See section COPYING for conditions for redistribution
3 .TH nlmconv 1 "March 1996" "Free Software Foundation" "GNU Development Tools"
4 .de BP
5 .sp
6 .ti \-.2i
7 \(**
8 ..
9
10 .SH NAME
11 nlmconv \- converts object code into an NLM
12
13 .SH SYNOPSIS
14 .hy 0
15 .na
16 .TP
17 .B nlmconv
18 .RB "[\|" \-I\ \fIbfdname\fB\ |\ \-\-input\-target=\fIbfdname\fR "\|]"
19 .RB "[\|" \-O\ \fIbfdname\fB\ |\ \-\-output\-target=\fIbfdname\fR "\|]"
20 .RB "[\|" \-T\ \fIheaderfile\fB\ |\ \-\-header\-file=\fIheaderfile\fR "\|]"
21 .RB "[\|" \-V\ |\ \-\-version\fR "\|]"
22 .RB "[\|" \-\-help\fR "\|]"
23 .B infile
24 .B outfile
25 .SH DESCRIPTION
26 .B nlmconv
27 converts the relocatable object file
28 .B infile
29 into the NetWare Loadable Module
30 .BR outfile ,
31 optionally reading
32 .I headerfile
33 for NLM header information. For instructions on writing the NLM
34 command file language used in header files, see
35 .IR "The NetWare Tool Maker Specification Manual" ,
36 available from Novell, Inc.
37 .B nlmconv
38 currently works with i386 object files in
39 .BR COFF ,
40 .BR ELF ,
41 or
42 .B a.out
43 format, and with SPARC object files in
44 .B ELF
45 or
46 .B a.out
47 format.
48 .br
49 .B nlmconv
50 uses the GNU Binary File Descriptor library to read
51 .IR infile .
52 .SH OPTIONS
53 .TP
54 .B \-I \fIbfdname\fR, \fB\-\-input\-target=\fIbfdname
55 Consider the source file's object format to be
56 .IR bfdname ,
57 rather than attempting to deduce it.
58 .TP
59 .B \-O \fIbfdname\fR, \fB\-\-output\-target=\fIbfdname
60 Write the output file using the object format
61 .IR bfdname .
62 .B nlmconv
63 infers the output format based on the input format, e.g. for an i386
64 input file the output format is
65 .IR nlm32\-i386 .
66 .TP
67 .B \-T \fIheaderfile\fR, \fB\-\-header\-file=\fIheaderfile
68 Reads
69 .I headerfile
70 for NLM header information. For instructions on writing the NLM
71 command file language used in header files, see
72 .IR "The NetWare Tool Maker Specification Manual" ,
73 available from Novell, Inc.
74 .TP
75 .B \-V\fR, \fB\-\-version
76 Show the version number of
77 .B nlmconv
78 and exit.
79 .TP
80 .B \-h\fR, \fB\-\-help
81 Show a summary of the options to
82 .B nlmconv
83 and exit.
84 .SH "SEE ALSO"
85 .RB "`\|" binutils "\|'"
86 entry in
87 .B
88 info\c
89 \&;
90 .I
91 The GNU Binary Utilities\c
92 \&, Roland H. Pesch (June 1993).
93
94 .SH COPYING
95 Copyright (c) 1993, 2000 Free Software Foundation, Inc.
96 .PP
97 This document is distributed under the terms of the GNU Free
98 Documenation License. That license is described in the GNU Free
99 Documentation License section.
100
101 This document is distributed under the terms of the GNU Free
102 Documentation License, version 1.1. That license is described in the
103 sources for this manual page, but it is not displayed here in order to
104 make this manual more consise. Copies of this license can also be
105 obtained from: http://www.gnu.org/copyleft/.
106
107 \" .SH GNU Free Documentation License
108 \" Version 1.1, March 2000
109
110 \" Copyright (C) 2000 Free Software Foundation, Inc.
111 \" 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
112
113 \" Everyone is permitted to copy and distribute verbatim
114 \" copies of this license document, but changing it is
115 \" not allowed.
116 \" .PP
117 \" 0. PREAMBLE
118 \" .PP
119 \" The purpose of this License is to make a manual, textbook, or other
120 \" written document "free" in the sense of freedom: to assure everyone
121 \" the effective freedom to copy and redistribute it, with or without
122 \" modifying it, either commercially or noncommercially. Secondarily,
123 \" this License preserves for the author and publisher a way to get
124 \" credit for their work, while not being considered responsible for
125 \" modifications made by others.
126 \" .PP
127 \" This License is a kind of "copyleft", which means that derivative
128 \" works of the document must themselves be free in the same sense. It
129 \" complements the GNU General Public License, which is a copyleft
130 \" license designed for free software.
131 \" .PP
132 \" We have designed this License in order to use it for manuals for free
133 \" software, because free software needs free documentation: a free
134 \" program should come with manuals providing the same freedoms that the
135 \" software does. But this License is not limited to software manuals;
136 \" it can be used for any textual work, regardless of subject matter or
137 \" whether it is published as a printed book. We recommend this License
138 \" principally for works whose purpose is instruction or reference.
139 \" .PP
140 \" 1. APPLICABILITY AND DEFINITIONS
141 \" .PP
142 \" This License applies to any manual or other work that contains a
143 \" notice placed by the copyright holder saying it can be distributed
144 \" under the terms of this License. The "Document", below, refers to any
145 \" such manual or work. Any member of the public is a licensee, and is
146 \" addressed as "you".
147 \" .PP
148 \" A "Modified Version" of the Document means any work containing the
149 \" Document or a portion of it, either copied verbatim, or with
150 \" modifications and/or translated into another language.
151 \" .PP
152 \" A "Secondary Section" is a named appendix or a front-matter section of
153 \" the Document that deals exclusively with the relationship of the
154 \" publishers or authors of the Document to the Document's overall subject
155 \" (or to related matters) and contains nothing that could fall directly
156 \" within that overall subject. (For example, if the Document is in part a
157 \" textbook of mathematics, a Secondary Section may not explain any
158 \" mathematics.) The relationship could be a matter of historical
159 \" connection with the subject or with related matters, or of legal,
160 \" commercial, philosophical, ethical or political position regarding
161 \" them.
162 \" .PP
163 \" The "Invariant Sections" are certain Secondary Sections whose titles
164 \" are designated, as being those of Invariant Sections, in the notice
165 \" that says that the Document is released under this License.
166 \" .PP
167 \" The "Cover Texts" are certain short passages of text that are listed,
168 \" as Front-Cover Texts or Back-Cover Texts, in the notice that says that
169 \" the Document is released under this License.
170 \" .PP
171 \" A "Transparent" copy of the Document means a machine-readable copy,
172 \" represented in a format whose specification is available to the
173 \" general public, whose contents can be viewed and edited directly and
174 \" straightforwardly with generic text editors or (for images composed of
175 \" pixels) generic paint programs or (for drawings) some widely available
176 \" drawing editor, and that is suitable for input to text formatters or
177 \" for automatic translation to a variety of formats suitable for input
178 \" to text formatters. A copy made in an otherwise Transparent file
179 \" format whose markup has been designed to thwart or discourage
180 \" subsequent modification by readers is not Transparent. A copy that is
181 \" not "Transparent" is called "Opaque".
182 \" .PP
183 \" Examples of suitable formats for Transparent copies include plain
184 \" ASCII without markup, Texinfo input format, LaTeX input format, SGML
185 \" or XML using a publicly available DTD, and standard-conforming simple
186 \" HTML designed for human modification. Opaque formats include
187 \" PostScript, PDF, proprietary formats that can be read and edited only
188 \" by proprietary word processors, SGML or XML for which the DTD and/or
189 \" processing tools are not generally available, and the
190 \" machine-generated HTML produced by some word processors for output
191 \" purposes only.
192 \" .PP
193 \" The "Title Page" means, for a printed book, the title page itself,
194 \" plus such following pages as are needed to hold, legibly, the material
195 \" this License requires to appear in the title page. For works in
196 \" formats which do not have any title page as such, "Title Page" means
197 \" the text near the most prominent appearance of the work's title,
198 \" preceding the beginning of the body of the text.
199 \" .PP
200 \" 2. VERBATIM COPYING
201 \" .PP
202 \" You may copy and distribute the Document in any medium, either
203 \" commercially or noncommercially, provided that this License, the
204 \" copyright notices, and the license notice saying this License applies
205 \" to the Document are reproduced in all copies, and that you add no other
206 \" conditions whatsoever to those of this License. You may not use
207 \" technical measures to obstruct or control the reading or further
208 \" copying of the copies you make or distribute. However, you may accept
209 \" compensation in exchange for copies. If you distribute a large enough
210 \" number of copies you must also follow the conditions in section 3.
211 \" .PP
212 \" You may also lend copies, under the same conditions stated above, and
213 \" you may publicly display copies.
214 \" .PP
215 \" 3. COPYING IN QUANTITY
216 \" .PP
217 \" If you publish printed copies of the Document numbering more than 100,
218 \" and the Document's license notice requires Cover Texts, you must enclose
219 \" the copies in covers that carry, clearly and legibly, all these Cover
220 \" Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
221 \" the back cover. Both covers must also clearly and legibly identify
222 \" you as the publisher of these copies. The front cover must present
223 \" the full title with all words of the title equally prominent and
224 \" visible. You may add other material on the covers in addition.
225 \" Copying with changes limited to the covers, as long as they preserve
226 \" the title of the Document and satisfy these conditions, can be treated
227 \" as verbatim copying in other respects.
228 \" .PP
229 \" If the required texts for either cover are too voluminous to fit
230 \" legibly, you should put the first ones listed (as many as fit
231 \" reasonably) on the actual cover, and continue the rest onto adjacent
232 \" pages.
233 \" .PP
234 \" If you publish or distribute Opaque copies of the Document numbering
235 \" more than 100, you must either include a machine-readable Transparent
236 \" copy along with each Opaque copy, or state in or with each Opaque copy
237 \" a publicly-accessible computer-network location containing a complete
238 \" Transparent copy of the Document, free of added material, which the
239 \" general network-using public has access to download anonymously at no
240 \" charge using public-standard network protocols. If you use the latter
241 \" option, you must take reasonably prudent steps, when you begin
242 \" distribution of Opaque copies in quantity, to ensure that this
243 \" Transparent copy will remain thus accessible at the stated location
244 \" until at least one year after the last time you distribute an Opaque
245 \" copy (directly or through your agents or retailers) of that edition to
246 \" the public.
247 \" .PP
248 \" It is requested, but not required, that you contact the authors of the
249 \" Document well before redistributing any large number of copies, to give
250 \" them a chance to provide you with an updated version of the Document.
251 \" .PP
252 \" 4. MODIFICATIONS
253 \" .PP
254 \" You may copy and distribute a Modified Version of the Document under
255 \" the conditions of sections 2 and 3 above, provided that you release
256 \" the Modified Version under precisely this License, with the Modified
257 \" Version filling the role of the Document, thus licensing distribution
258 \" and modification of the Modified Version to whoever possesses a copy
259 \" of it. In addition, you must do these things in the Modified Version:
260 \" .PP
261 \" A. Use in the Title Page (and on the covers, if any) a title distinct
262 \" from that of the Document, and from those of previous versions
263 \" (which should, if there were any, be listed in the History section
264 \" of the Document). You may use the same title as a previous version
265 \" if the original publisher of that version gives permission.
266 \" .PP
267 \" B. List on the Title Page, as authors, one or more persons or entities
268 \" responsible for authorship of the modifications in the Modified
269 \" Version, together with at least five of the principal authors of the
270 \" Document (all of its principal authors, if it has less than five).
271 \" .PP
272 \" C. State on the Title page the name of the publisher of the
273 \" Modified Version, as the publisher.
274 \" .PP
275 \" D. Preserve all the copyright notices of the Document.
276 \" .PP
277 \" E. Add an appropriate copyright notice for your modifications
278 \" adjacent to the other copyright notices.
279 \" .PP
280 \" F. Include, immediately after the copyright notices, a license notice
281 \" giving the public permission to use the Modified Version under the
282 \" terms of this License, in the form shown in the Addendum below.
283 \" Preserve in that license notice the full lists of Invariant Sections
284 \" and required Cover Texts given in the Document's license notice.
285 \" .PP
286 \" H. Include an unaltered copy of this License.
287 \" .PP
288 \" I. Preserve the section entitled "History", and its title, and add to
289 \" it an item stating at least the title, year, new authors, and
290 \" publisher of the Modified Version as given on the Title Page. If
291 \" there is no section entitled "History" in the Document, create one
292 \" stating the title, year, authors, and publisher of the Document as
293 \" given on its Title Page, then add an item describing the Modified
294 \" Version as stated in the previous sentence.
295 \" .PP
296 \" J. Preserve the network location, if any, given in the Document for
297 \" public access to a Transparent copy of the Document, and likewise
298 \" the network locations given in the Document for previous versions
299 \" it was based on. These may be placed in the "History" section.
300 \" You may omit a network location for a work that was published at
301 \" least four years before the Document itself, or if the original
302 \" publisher of the version it refers to gives permission.
303 \" .PP
304 \" K. In any section entitled "Acknowledgements" or "Dedications",
305 \" preserve the section's title, and preserve in the section all the
306 \" substance and tone of each of the contributor acknowledgements
307 \" and/or dedications given therein.
308 \" .PP
309 \" L. Preserve all the Invariant Sections of the Document,
310 \" unaltered in their text and in their titles. Section numbers
311 \" or the equivalent are not considered part of the section titles.
312 \" .PP
313 \" M. Delete any section entitled "Endorsements". Such a section
314 \" may not be included in the Modified Version.
315 \" .PP
316 \" N. Do not retitle any existing section as "Endorsements"
317 \" or to conflict in title with any Invariant Section.
318 \" .PP
319 \" If the Modified Version includes new front-matter sections or
320 \" appendices that qualify as Secondary Sections and contain no material
321 \" copied from the Document, you may at your option designate some or all
322 \" of these sections as invariant. To do this, add their titles to the
323 \" list of Invariant Sections in the Modified Version's license notice.
324 \" These titles must be distinct from any other section titles.
325 \" .PP
326 \" You may add a section entitled "Endorsements", provided it contains
327 \" nothing but endorsements of your Modified Version by various
328 \" parties--for example, statements of peer review or that the text has
329 \" been approved by an organization as the authoritative definition of a
330 \" standard.
331 \" .PP
332 \" You may add a passage of up to five words as a Front-Cover Text, and a
333 \" passage of up to 25 words as a Back-Cover Text, to the end of the list
334 \" of Cover Texts in the Modified Version. Only one passage of
335 \" Front-Cover Text and one of Back-Cover Text may be added by (or
336 \" through arrangements made by) any one entity. If the Document already
337 \" includes a cover text for the same cover, previously added by you or
338 \" by arrangement made by the same entity you are acting on behalf of,
339 \" you may not add another; but you may replace the old one, on explicit
340 \" permission from the previous publisher that added the old one.
341 \" .PP
342 \" The author(s) and publisher(s) of the Document do not by this License
343 \" give permission to use their names for publicity for or to assert or
344 \" imply endorsement of any Modified Version.
345 \" .PP
346
347 \" 5. COMBINING DOCUMENTS
348 \" .PP
349 \" You may combine the Document with other documents released under this
350 \" License, under the terms defined in section 4 above for modified
351 \" versions, provided that you include in the combination all of the
352 \" Invariant Sections of all of the original documents, unmodified, and
353 \" list them all as Invariant Sections of your combined work in its
354 \" license notice.
355 \" .PP
356 \" The combined work need only contain one copy of this License, and
357 \" multiple identical Invariant Sections may be replaced with a single
358 \" copy. If there are multiple Invariant Sections with the same name but
359 \" different contents, make the title of each such section unique by
360 \" adding at the end of it, in parentheses, the name of the original
361 \" author or publisher of that section if known, or else a unique number.
362 \" Make the same adjustment to the section titles in the list of
363 \" Invariant Sections in the license notice of the combined work.
364 \" .PP
365 \" In the combination, you must combine any sections entitled "History"
366 \" in the various original documents, forming one section entitled
367 \" "History"; likewise combine any sections entitled "Acknowledgements",
368 \" and any sections entitled "Dedications". You must delete all sections
369 \" entitled "Endorsements."
370 \" .PP
371
372 \" 6. COLLECTIONS OF DOCUMENTS
373 \" .PP
374 \" You may make a collection consisting of the Document and other documents
375 \" released under this License, and replace the individual copies of this
376 \" License in the various documents with a single copy that is included in
377 \" the collection, provided that you follow the rules of this License for
378 \" verbatim copying of each of the documents in all other respects.
379 \" .PP
380 \" You may extract a single document from such a collection, and distribute
381 \" it individually under this License, provided you insert a copy of this
382 \" License into the extracted document, and follow this License in all
383 \" other respects regarding verbatim copying of that document.
384 \" .PP
385
386 \" 7. AGGREGATION WITH INDEPENDENT WORKS
387 \" .PP
388 \" A compilation of the Document or its derivatives with other separate
389 \" and independent documents or works, in or on a volume of a storage or
390 \" distribution medium, does not as a whole count as a Modified Version
391 \" of the Document, provided no compilation copyright is claimed for the
392 \" compilation. Such a compilation is called an "aggregate", and this
393 \" License does not apply to the other self-contained works thus compiled
394 \" with the Document, on account of their being thus compiled, if they
395 \" are not themselves derivative works of the Document.
396 \" .PP
397 \" If the Cover Text requirement of section 3 is applicable to these
398 \" copies of the Document, then if the Document is less than one quarter
399 \" of the entire aggregate, the Document's Cover Texts may be placed on
400 \" covers that surround only the Document within the aggregate.
401 \" Otherwise they must appear on covers around the whole aggregate.
402 \" .PP
403
404 \" 8. TRANSLATION
405 \" .PP
406 \" Translation is considered a kind of modification, so you may
407 \" distribute translations of the Document under the terms of section 4.
408 \" Replacing Invariant Sections with translations requires special
409 \" permission from their copyright holders, but you may include
410 \" translations of some or all Invariant Sections in addition to the
411 \" original versions of these Invariant Sections. You may include a
412 \" translation of this License provided that you also include the
413 \" original English version of this License. In case of a disagreement
414 \" between the translation and the original English version of this
415 \" License, the original English version will prevail.
416 \" .PP
417
418 \" 9. TERMINATION
419 \" .PP
420 \" You may not copy, modify, sublicense, or distribute the Document except
421 \" as expressly provided for under this License. Any other attempt to
422 \" copy, modify, sublicense or distribute the Document is void, and will
423 \" automatically terminate your rights under this License. However,
424 \" parties who have received copies, or rights, from you under this
425 \" License will not have their licenses terminated so long as such
426 \" parties remain in full compliance.
427 \" .PP
428
429 \" 10. FUTURE REVISIONS OF THIS LICENSE
430 \" .PP
431 \" The Free Software Foundation may publish new, revised versions
432 \" of the GNU Free Documentation License from time to time. Such new
433 \" versions will be similar in spirit to the present version, but may
434 \" differ in detail to address new problems or concerns. See
435 \" http://www.gnu.org/copyleft/.
436 \" .PP
437 \" Each version of the License is given a distinguishing version number.
438 \" If the Document specifies that a particular numbered version of this
439 \" License "or any later version" applies to it, you have the option of
440 \" following the terms and conditions either of that specified version or
441 \" of any later version that has been published (not as a draft) by the
442 \" Free Software Foundation. If the Document does not specify a version
443 \" number of this License, you may choose any version ever published (not
444 \" as a draft) by the Free Software Foundation.
445 \" .PP
446
447 \" ADDENDUM: How to use this License for your documents
448 \" .PP
449 \" To use this License in a document you have written, include a copy of
450 \" the License in the document and put the following copyright and
451 \" license notices just after the title page:
452 \" .PP
453 \" Copyright (c) YEAR YOUR NAME.
454 \" Permission is granted to copy, distribute and/or
455 \" modify this document under the terms of the GNU
456 \" Free Documentation License, Version 1.1 or any later
457 \" version published by the Free Software Foundation;
458 \" with the Invariant Sections being LIST THEIR TITLES,
459 \" with the Front-Cover Texts being LIST, and with the
460 \" Back-Cover Texts being LIST. A copy of the license
461 \" is included in the section entitled "GNU Free
462 \" Documentation License".
463 \" .PP
464 \" If you have no Invariant Sections, write "with no Invariant Sections"
465 \" instead of saying which ones are invariant. If you have no
466 \" Front-Cover Texts, write "no Front-Cover Texts" instead of
467 \" "Front-Cover Texts being LIST"; likewise for Back-Cover Texts.
468 \" .PP
469 \" If your document contains nontrivial examples of program code, we
470 \" recommend releasing these examples in parallel under your choice of
471 \" free software license, such as the GNU General Public License,
472 \" to permit their use in free software.
This page took 0.039304 seconds and 3 git commands to generate.