gpstrip(1)

gpstrip1

Discard symbols from object file

Usage

gpstrip [options] [file(s)]

Warning

The information in this man page is an extract from the full documentation of gputils and is limited to the meaning of the options. For complete and current documentation, refer to "gputils.ps" located in the gputils docs directory.

Overview

gpstrip discards symbols from GNU PIC object files. gpstrip is part of gputils. Check the gputils(1) manpage for details on other GNU PIC utilities.

Options

-g, --strip-debug

Strip debug symbols.

-h, --help

Show the usage message and exit.

-k SYMBOL, --keep-symbol SYMBOL

Keep symbol.

-n SYMBOL, --strip-symbol SYMBOL

Remove symbol.

-o FILE, --output FILE

Alternate name of output file.

-p, --preserve-dates

Preserve dates.

-r SECTION, --remove-section SECTION

Remove section.

--strict-options

If this is set, then an option may not be parameter of an another option. For example: -o --version

-s, --strip-all

Remove all symbols.

-u, --strip-unneeded

Strip symbols not need for relocations.

-v, --version

Show the version information and exit.

-V, --verbose

Verbose mode.

-x, --discard-all

Remove non-global symbols.

Releases

11 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 6.0–8
  4. 9–12
  5. 13–Arch

--strict-options since Debian 13 (Trixie); --verbose since Debian 9 (Stretch); -V since Debian 9 (Stretch).

Author

Craig Franklin <[email protected]>

From gputils 1.5.2-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.