X-Git-Url: https://repo.jachan.dev/binutils.git/blobdiff_plain/dff604a75fe8cc500bdf8b6d037d2977f9230c2e..697a8fe872e62288c77e9208c97027b9824dbf3a:/binutils/objcopy.1 diff --git a/binutils/objcopy.1 b/binutils/objcopy.1 index 15cebb06d5..7694cf49a3 100644 --- a/binutils/objcopy.1 +++ b/binutils/objcopy.1 @@ -21,6 +21,7 @@ objcopy \- copy and translate object files .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 "[\|" \-x\fR\ |\ \fB\-\-discard\-all\fR "\|]" @@ -124,6 +125,9 @@ Do not copy relocation and symbol information from the source file. .B \-g\fR, \fB\-\-strip\-debug Do not copy debugging symbols from the source file. .TP +.B \-\-strip\-unneeded +Strip all symbols that are not needed for relocation processing. +.TP .B \-K \fIsymbolname\fR, \fB\-\-keep\-symbol=\fIsymbolname Copy only symbol \fIsymbolname\fP from the source file. This option may be given more than once.