Lines Matching defs:keep

252 /* List of symbols to strip, keep, localize, keep-global, weaken,
391 {"keep-file-symbols", no_argument, 0, OPTION_KEEP_FILE_SYMBOLS},
392 {"keep-section", required_argument, 0, OPTION_KEEP_SECTION},
393 {"keep-symbol", required_argument, 0, 'K'},
396 {"only-keep-debug", no_argument, 0, OPTION_ONLY_KEEP_DEBUG},
461 {"keep-file-symbols", no_argument, 0, OPTION_KEEP_FILE_SYMBOLS},
462 {"keep-global-symbol", required_argument, 0, 'G'},
463 {"keep-global-symbols", required_argument, 0, OPTION_KEEPGLOBAL_SYMBOLS},
464 {"keep-section", required_argument, 0, OPTION_KEEP_SECTION},
465 {"keep-symbol", required_argument, 0, 'K'},
466 {"keep-symbols", required_argument, 0, OPTION_KEEP_SYMBOLS},
475 {"only-keep-debug", no_argument, 0, OPTION_ONLY_KEEP_DEBUG},
595 --only-keep-debug Strip everything but the debug information\n\
597 --extract-symbol Remove section contents but keep symbols\n\
598 --keep-section <name> Do not strip section <name>\n\
599 -K --keep-symbol <name> Do not strip symbol <name>\n\
600 --keep-file-symbols Do not strip file symbol(s)\n\
604 -G --keep-global-symbol <name> Localize all symbols except <name>\n\
638 --long-section-names {enable|disable|keep}\n\
652 --keep-symbols <file> -K for all symbols listed in <file>\n\
655 --keep-global-symbols <file> -G for all symbols listed in <file>\n\
728 --only-keep-debug Strip everything but the debug information\n\
732 --keep-section=<name> Do not strip section <name>\n\
733 -K --keep-symbol=<name> Do not strip symbol <name>\n\
734 --keep-file-symbols Do not strip file symbol(s)\n\
1426 /* Always keep ELF note sections. */
1430 /* Always keep the .buildid section for PE/COFF.
1432 Strictly, this should be written "always keep the section storing the debug
1434 tools, which it is not sensible to keep. */
1524 bfd_boolean keep;
1609 keep = FALSE;
1615 keep = TRUE;
1621 keep = TRUE;
1627 keep = TRUE;
1632 keep = strip_symbols != STRIP_UNNEEDED;
1634 keep = (strip_symbols != STRIP_DEBUG
1640 keep = TRUE;
1642 keep = (strip_symbols != STRIP_UNNEEDED
1647 if (keep && is_specified_symbol (name, strip_specific_htab))
1649 /* There are multiple ways to set 'keep' above, but if it
1657 keep = FALSE;
1660 if (keep
1663 keep = FALSE;
1665 if (!keep
1668 keep = TRUE;
1670 if (keep && is_strip_section (abfd, bfd_asymbol_section (sym)))
1671 keep = FALSE;
1673 if (keep)
3473 contents to temp file, and keep the temp file handle.
4172 do not keep on generating complaints now. */
5641 else if (!strcmp ("keep", optarg))
5797 fatal(_("--globalize-symbol(s) is incompatible with -G/--keep-global-symbol(s)"));