summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-07-03 21:11:21 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-07-03 21:11:21 -0700
commita0374589aa073258a9c7e556fe3a678749689c08 (patch)
tree91857923ed6e882317ccff564c29bbb8e178962a
parent80c0ba7b0b01947c88d6f661c167019e9c3806e9 (diff)
downloadnasm-a0374589aa073258a9c7e556fe3a678749689c08.tar.gz
rdf2bin: update man page, add link pages for aliases
Update the rdf2bin man page; add link man pages for the various command aliases. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--rdoff/rdf2bin.146
-rw-r--r--rdoff/rdf2ihx.11
-rw-r--r--rdoff/rdf2ith.11
-rw-r--r--rdoff/rdf2srec.11
4 files changed, 43 insertions, 6 deletions
diff --git a/rdoff/rdf2bin.1 b/rdoff/rdf2bin.1
index 85d6b930..88120ba9 100644
--- a/rdoff/rdf2bin.1
+++ b/rdoff/rdf2bin.1
@@ -3,29 +3,63 @@
rdf2bin, rdf2com \- convert an RDOFF object file to flat binary
.SH SYNOPSIS
.B rdf2bin
-.RI "[-o " relocation-origin ]
-.RI "[-p " segment-alignment ]
+.RI "[\-o " relocation-origin ]
+.RI "[\-p " segment-alignment ]
+.RI "[\-f" format ]
.I input-file
.I output-file
.br
.B rdf2com
-.RI "[-p " segment-alignment ]
+.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
+.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
+.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>.
+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 .
+
diff --git a/rdoff/rdf2ihx.1 b/rdoff/rdf2ihx.1
new file mode 100644
index 00000000..43b33071
--- /dev/null
+++ b/rdoff/rdf2ihx.1
@@ -0,0 +1 @@
+.so man1/rdf2bin.1
diff --git a/rdoff/rdf2ith.1 b/rdoff/rdf2ith.1
new file mode 100644
index 00000000..43b33071
--- /dev/null
+++ b/rdoff/rdf2ith.1
@@ -0,0 +1 @@
+.so man1/rdf2bin.1
diff --git a/rdoff/rdf2srec.1 b/rdoff/rdf2srec.1
new file mode 100644
index 00000000..43b33071
--- /dev/null
+++ b/rdoff/rdf2srec.1
@@ -0,0 +1 @@
+.so man1/rdf2bin.1