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 . +Julian Hall , H. Peter Anvin . .PP This manual page was written by Matej Vela . +.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