1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304
|
.\" Copyright (c) 1991, 93, 94, 95, 96, 1997 Free Software Foundation
.\" See section COPYING for conditions for redistribution
.\"
.\" Japanese Version Copyright (c) 1997-2000 NAKANO Takeo all rights reserved.
.\" Translated Mon Jan 5 1998 by NAKANO Takeo <nakano@@apm.seikei.ac.jp>
.\" Updated Fri 27 Oct 2000 by NAKANO Takeo
.\"
.TH objcopy 1 "October 1994" "cygnus support" "GNU Development Tools"
.de BP
.sp
.ti \-.2i
\(**
..
.SH ̾
objcopy \- ֥ȥեΥԡѴԤ
.SH
.hy 0
.na
.TP
.B objcopy
.RB "[\|" \-F\ \fIbfdname\fR\ |\ \fB\-\-target=\fIbfdname\fR "\|]"
.RB "[\|" \-I\ \fIbfdname\fR\ |\ \fB\-\-input\-target=\fIbfdname\fR "\|]"
.RB "[\|" \-O\ \fIbfdname\fR\ |\ \fB\-\-output\-target=\fIbfdname\fR "\|]"
.RB "[\|" \-R\ \fIsectionname\fR\ |\ \fB\-\-remove\-section=\fIsectionname\fR "\|]"
.RB "[\|" \-S\fR\ |\ \fB\-\-strip\-all\fR "\|]"
.RB "[\|" \-g\fR\ |\ \fB\-\-strip\-debug\fR "\|]"
.RB "[\|" \-\-strip\-unneeded\fR "\|]"
.RB "[\|" \-K\ \fIsymbolname\fR\ |\ \fB\-\-keep\-symbol=\fIsymbolname\fR "\|]"
.RB "[\|" \-N\ \fIsymbolname\fR\ |\ \fB\-\-strip\-symbol=\fIsymbolname\fR "\|]"
.RB "[\|" \-L\ \fIsymbolname\fR\ |\ \fB\-\-localize\-symbol=\fIsymbolname\fR "\|]"
.RB "[\|" \-W\ \fIsymbolname\fR\ |\ \fB\-\-weaken\-symbol=\fIsymbolname\fR "\|]"
.RB "[\|" \-x\fR\ |\ \fB\-\-discard\-all\fR "\|]"
.RB "[\|" \-X\fR\ |\ \fB\-\-discard\-locals\fR "\|]"
.RB "[\|" \-b\ \fIbyte\fR\ |\ \fB\-\-byte=\fIbyte\fR "\|]"
.RB "[\|" \-i\ \fIinterleave\fR\ |\ \fB\-\-interleave=\fIinterleave\fR "\|]"
.RB "[\|" \-p\fR\ |\ \fB\-\-preserve\-dates\fR "\|]"
.RB "[\|" \-\-debugging "\|]"
.RB "[\|" \-\-gap\-fill=\fIval\fR "\|]"
.RB "[\|" \-\-pad\-to=\fIaddress\fR "\|]"
.RB "[\|" \-\-set\-start=\fIval\fR "\|]"
.RB "[\|" \-\-adjust\-start=\fIincr\fR "\|]"
.RB "[\|" \-\-adjust\-vma=\fIincr\fR "\|]"
.RB "[\|" \-\-adjust\-section\-vma=\fIsection{=,+,-}val\fR "\|]"
.RB "[\|" \-\-adjust\-warnings\fR "\|]"
.RB "[\|" \-\-no\-adjust\-warnings\fR "\|]"
.RB "[\|" \-\-set\-section\-flags=\fIsection=flags\fR "\|]"
.RB "[\|" \-\-add\-section=\fIsectionname=filename\fR "\|]"
.RB "[\|" \-\-change\-leading\-char\fR "\|]"
.RB "[\|" \-\-remove\-leading\-char\fR "\|]"
.RB "[\|" \-\-weaken\fR "\|]"
.RB "[\|" \-v\ |\ \-\-verbose\fR "\|]"
.RB "[\|" \-V\ |\ \-\-version\fR "\|]"
.RB "[\|" \-\-help\fR "\|]"
.B infile
.RB "[\|" outfile\fR "\|]"
.SH
GNU
.B objcopy
桼ƥƥϥ֥ȥեƤ̥ե˥ԡ롣
.B objcopy
ϥ֥ȥեɤ߽ GNU BFD 饤֥Ѥ롣
äƽΥեΥ֥ȥեޥåȤɤ߹ߥե
ΥեޥåȤѹ뤳ȤǤ롣
.B objcopy
ξܺ٤ưϥޥɥ饤ץˤäƷꤵ롣
.PP
.B objcopy
ѴԤݤ˰եưˤõ롣
.B objcopy
ѴȤϤ٤ BFD ˤäƹԤ롣ä BFD Υե
ޥåȤ˴ؤƻäƤ뤹٤ƤξѤ뤳ȤǤʤ
ۤȤɤΥեޥåȤǧǤ롣
.PP
.B objcopy
ϥåȤ
.B srec
˻ꤹ (Ĥޤ
.B -O srec
Ȥ) Ȥˤä S-record 뤳ȤǤ롣
.PP
.B objcopy
ϽϥåȤ
.B binary
˻ꤹ (Ĥޤ
.B -O binary
Ȥ) Ȥˤä raw Хʥե뤳ȤǤ롣
ݤˤϡŪˤϥ֥ȥեƤΥפ
롣פϽϥե˥ԡ̤Υβۥ
ɥ쥹饹Ȥ롣
.PP
S-record raw Хʥե
.B \-S
ѤСǥХåĥǤ롣ޤХʥե
פʾäõΤ
.B \-R
Ωľ⤢롣
.PP
.I infile
.I outfile
Ϥ줾ϡϥեǤ롣
.I outfile
ꤵʤ
.B objcopy
ϰեη̤ϥե̾˥͡ह (
ʤȤϥե˲)
.TP
.B \-I \fIbfdname\fR, \fB\-\-input\-target=\fIbfdname
ϥեΥ֥ȥեޥåȤ
.I bfdname
ȤƼ갷̾ϼưŪǧ롣
.TP
.B \-O \fIbfdname\fR, \fB\-\-output\-target=\fIbfdname
ϥեΥ֥ȥեޥåȤ
.I bfdname
ˤ롣
.TP
.B \-F \fIbfdname\fR, \fB\-\-target=\fIbfdname
ϥեΥ֥ȥեޥåȤ
.I bfdname
Ѥ롣ʤϥեѴñ˽ϥե˥ԡ롣
.TP
.B \-R \fIsectionname\fR, \fB\-\-remove-section=\fIsectionname
ꤷե뤫롣Υץʣꤹ
뤳ȤǤ롣ΥץäѤȡϥե뤬Ω
ˤʤǽ롣
.TP
.B \-S\fR, \fB\-\-strip\-all
ȥܥϥե뤫饳ԡʤ
.TP
.B \-g\fR, \fB\-\-strip\-debug
ǥХåܥϥե뤫饳ԡʤ
.TP
.B \-\-strip\-unneeded
פʥܥ٤Ƽ롣
.TP
.B \-K \fIsymbolname\fR, \fB\-\-keep\-symbol=\fIsymbolname
ϥե뤫 \fIsymbolname\fP Ȥ̾Υܥԡ롣
ʣǤ롣
.TP
.B \-N \fIsymbolname\fR, \fB\-\-strip\-symbol=\fIsymbolname
ϥե \fIsymbolname\fP Ȥ̾Υܥԡʤ
ʣǤ롣
.TP
.B \-L \fIsymbolname\fR, \fB\-\-localize\-symbol=\fIsymbolname
.I symbolname
Υե˥ʤΤˤ鸫ʤ褦ˤ롣
ʣǤ롣
.TP
.B \-W \fIsymbolname\fR, \fB\-\-weaken\-symbol=\fIsymbolname
.I symbolname
weak ˤ롣
ʣǤ롣
.TP
.B \-x\fR, \fB \-\-discard\-all
ϥեΥХǤʤܥϥԡʤ
.TP
.B \-X\fR, \fB\-\-discard\-locals
ѥ餬ʥܥ (̾ "L" ޤ
"." ǤϤޤ륷ܥ) ϥԡʤ
.TP
.B \-b \fIbyte\fR, \fB\-\-byte=\fIbyte
ϥե interleave ŤĶڤäƥ \fIbyte\fP Х
ܤԡ (إåǡϱƶʤ) \fIbyte\fP ϰϤ
0 interleave-1 ޤǤǤ롣 \fIinterleave\fP ͤ
.BR \-i "(ޤ" \-\-interleave ")"
ץǻꤹ롣
Υץ ROM ץѤΥեȤǤ롣
ϥå srec ȶѤ뤳Ȥ¿
.TP
.B \-i \fIinterleave\fR, \fB\-\-interleave=\fIinterleave
\fIinterleave\fP ХȤˤĤ 1 ХȤŤĤԡ롣ǥեȤ 4
Ǥ롣ܤΥХȤԡ뤫
.BR \-b "(ޤ" \-\-byte
) ץǻꤹ롣 \fB\-b\fP \fB\-\-bytes\fP ꤵʤ
interleave ̵뤵롣
.TP
.B \-p\fR, \fB\-\-preserve\-dates
ϥեΥȽϥեƱˤ롣
.TP
.B \-\-debugging
ǽʤХǥХåѴ롣ΥץϥǥեȤˤϤʤä
ʤ٤ƤΥǥХåեޥåȤݡȤƤ櫓ǤϤʤ
Ѵˤϻ֤뤫Ǥ롣
.TP
.B \-\-gap\-fill=\fIval
֤Υåפ \fIval\fP 롣ư
.I load address
(LMA) ŬѤ롣ϥΥ̥ɥ쥹ʬ䤷
;ʬ \fIval\fP 뤳ȤǤʤ롣
.TP
.B \-\-pad\-to=\fIaddress
ϥեɥɥ쥹 \fIaddress\fP ޤǿ롣
ϺǸΥΥ䤹ȤǤʤ롣
;ʬʥڡ
\fB\-\-gap\-fill\fP ǻꤵ줿ͤ (ǥեȤ 0)
.TP
.B \fB\-\-set\-start=\fIval
եΥȥɥ쥹 \fIval\fP ꤹ롣٤ƤΥ
ȥեեޥåȤǤλ꤬ǽǤϤʤȤդ뤳ȡ
.TP
.B \fB\-\-adjust\-start=\fIincr
ȥɥ쥹 \fIincr\fP 䤹٤ƤΥ֥ȥե
եޥåȤǤλ꤬ǽǤϤʤȤդ뤳ȡ
.TP
.B \fB\-\-adjust\-vma=\fIincr
٤ƤΥ (ȥɥ쥹ޤޤ) Υɥ쥹
\fIincr\fP 䤹٤ƤΥ֥ȥեեޥåȤǤ
Υɥ쥹꤬꤬ǽʤ櫓ǤϤʤȤդ뤳ȡޤΥ
ץǤϤ줾Υɤ륢ɥ쥹ѤƤޤ
ǡץबưʤʤǽ
.TP
.B \fB\-\-adjust\-section\-vma=\fIsection{=,+,-}val
̾ \fIsection\fP ΥΥɥ쥹ꤹ롣 \fI=\fP Ѥ
줿ϥΥɥ쥹 \fIval\fP ˤ롣ʳξ
ϥΥɥ쥹 \fIval\fP 롣嵭
\fB\-\-adjust\-vma\fP ˴ؤ륳ȤȤΤȡ \fIsection\fP
ϥե¸ߤʤϷٹ𥰥åɽ (
\fB\-\-no\-adjust\-warning\fP ꤵƤɽʤ)
.TP
.B \fB\-\-adjust\-warnings
\fB\-\-adjust\-section\-vma\fP ꤵƤȤ
оݤȤʤ륻¸ߤʤзٹåɽ롣
ǥեȤưǤ롣
.TP
.B \fB\-\-no\-adjust\-warnings
\fB\-\-adjust\-section\-vma\fP ꤵƤȤоݤȤʤ륻
¸ߤƤʤƤٹåɽʤ
.TP
.B \fB\-\-set\-section\-flags=\fIsection=flags
ꤷΥե饰ꤹ롣 \fIflags\fP ϥ (,)
ڤ줿ե饰ʸǤ롣ǧʸ \fIalloc\fP
\fIload\fP \fIreadonly\fP \fIcode\fP \fIdata\fP \fIrom\fP Ǥ
롣٤ƤΥե饰եޥåȤͭʤ櫓ǤϤʤȤ
뤳ȡ
.TP
.B \fB\-\-add\-section=\fIsectionname=filename
եԡȤ \fIsectionname\fP Ȥ̾Υ
ɲä롣οƤϥե \fIfilename\fP
롣ΥץǽΤϡǤդΥ̾ݡȤƤ
եޥåȤǤ롣
.TP
.B \-\-change\-leading\-char
֥ȥեΥեޥåȤˤäƤϡܥ̾Ƭ
ʸȤäƤ礬롣褯ϥ (_) ǡ
ѥ餬٤ƤΥܥ֤̾롣Υץꤹ
.B objcopy
ϥեޥåѴκݤˤ٤ƤΥܥˤƬʸѹ褦
롣ƱƬʸĥ֥ȴ֤ǤϡΥץϰ̣
ʤۤʤϡ˱Ƭʸɲä줿ѹ줿
ꤹ롣
.TP
.B \-\-remove\-leading\-char
Х륷ܥƬʸ֥ȥեͭΤΤǤä
硢롣̾ϥ (_) ˤ롣Υ
ץϤ٤ƤΥХ륷ܥ뤫Ƭˤ륢
롣 (ܥ̾̿̾ήۤʤ) ʣΥեޥåȤ°
֥ȷƱ˥ͭѤǤ롣Υץ
\fB\-\-change\-leading\-char\fP Ȥϰۤʤ롣ԤǤϽϤΥեޥå
ˤ餺ǤϤ٤ѹԤ롣
.TP
.B \-\-weaken
եΤ٤Ƥ global ʥܥ weak ѹ롣
.TP
.\" weak symbol?
.B \-v\fR, \fB\-\-verbose
ܺٽϥ⡼ɡ줿٤ƤΥ֥ȥեꥹȤ롣
ˤξ"\fBobjcopy \-V\fR" ȤȽˤΤ٤ƤΥСɽ롣
.TP
.B \-V\fR, \fB\-\-version
.B objcopy
ΥСֹɽƽλ롣
.TP
.B \-\-help
.B objcopy
Υץɽƽλ롣
.SH Ϣ
.B info
`\fB binutils \fP' ȥꡢ
.IR "The GNU Binary Utilities" ,
Roland H. Pesch (June 1993)
.SH
Copyright (c) 1993, 94, 95, 96, 1997 Free Software Foundation, Inc.
.PP
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
are preserved on all copies.
.PP
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, provided that the
entire resulting derived work is distributed under the terms of a
permission notice identical to this one.
.PP
Permission is granted to copy and distribute translations of this
manual into another language, under the above conditions for modified
versions, except that this permission notice may be included in
translations approved by the Free Software Foundation instead of in
the original English.
|