mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-15 09:09:58 +08:00
7f2c476297
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
66 lines
1.4 KiB
Groff
66 lines
1.4 KiB
Groff
.TH RDF2BIN 1 "September 6, 1999" "Debian Project" "Debian Manual"
|
|
.SH NAME
|
|
rdf2bin, rdf2com \- convert an RDOFF object file to flat binary
|
|
.SH SYNOPSIS
|
|
.B rdf2bin
|
|
.RI "[\-o " relocation-origin ]
|
|
.RI "[\-p " segment-alignment ]
|
|
.RI "[\-f " format ]
|
|
.I input-file
|
|
.I output-file
|
|
.br
|
|
.B rdf2com
|
|
.RI "[\-p " segment-alignment ]
|
|
.I input-file
|
|
.I output-file
|
|
.br
|
|
.B rdf2ith
|
|
.RI "[\-o " relocation-origin ]
|
|
.RI "[\-p " segment-alignment ]
|
|
.I input-file
|
|
.I output-file
|
|
.br
|
|
.B rdf2srec
|
|
.RI "[\-o " relocation-origin ]
|
|
.RI "[\-p " segment-alignment ]
|
|
.I input-file
|
|
.I output-file
|
|
.SH OPTIONS
|
|
.TP
|
|
.RI "\-o " relocation-origin
|
|
Relocate at origin
|
|
.IR relocation-origin .
|
|
If invoked as
|
|
.BR rdf2com ,
|
|
the default relocation origin will be 0x100. Else, the default origin is 0.
|
|
.TP
|
|
.RI "\-p " segment-alignment
|
|
Pad segments until their size is a multiple of
|
|
.IR segment-alignment .
|
|
By default, 16 is used.
|
|
.TP
|
|
.RI "\-f " format
|
|
Specify the output format. The currently supported formats are binary
|
|
.RI ( bin ),
|
|
DOS COM (binary with origin 0x100)
|
|
.RI ( com )
|
|
Intel hex
|
|
.RI ( ith
|
|
or
|
|
.IR ihx ),
|
|
and
|
|
Motorola S-Records
|
|
.RI ( srec ).
|
|
If not specified, the format is set by the command name.
|
|
.SH AUTHORS
|
|
Julian Hall <jules@earthcorp.com>, H. Peter Anvin <hpa@zytor.com>.
|
|
.PP
|
|
This manual page was written by Matej Vela <vela@debian.org>.
|
|
.SH BUGS
|
|
This utility currently only supports the classic segments
|
|
.IR .text ,
|
|
.I .data
|
|
and
|
|
.IR .bss .
|
|
|