summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 85d6b93..88120ba 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 0000000..43b3307
--- /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 0000000..43b3307
--- /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 0000000..43b3307
--- /dev/null
+++ b/rdoff/rdf2srec.1
@@ -0,0 +1 @@
+.so man1/rdf2bin.1