Lines Matching defs:symbols

36 /* A list of symbols to explicitly strip out, or to keep.  A linked
38 this will slow things down a lot if many symbols are being
69 static asymbol **isympp = NULL; /* Input symbols. */
70 static asymbol **osympp = NULL; /* Output symbols that survive stripping. */
84 STRIP_DEBUG, /* Strip all debugger symbols. */
85 STRIP_UNNEEDED, /* Strip unnecessary symbols. */
87 STRIP_ALL /* Strip all symbols. */
90 /* Which symbols to remove. */
100 /* Which local symbols to remove. Overrides STRIP_ALL. */
197 /* List of symbols to strip, keep, localize, keep-global, weaken,
208 /* If this is TRUE, we weaken global symbols (set BSF_WEAK). */
211 /* If this is TRUE, we retain BSF_FILE symbols. */
214 /* Prefix symbols/sections. */
279 {"keep-file-symbols", no_argument, 0, OPTION_KEEP_FILE_SYMBOLS},
324 {"globalize-symbols", required_argument, 0, OPTION_GLOBALIZE_SYMBOLS},
331 {"keep-file-symbols", no_argument, 0, OPTION_KEEP_FILE_SYMBOLS},
333 {"keep-global-symbols", required_argument, 0, OPTION_KEEPGLOBAL_SYMBOLS},
335 {"keep-symbols", required_argument, 0, OPTION_KEEP_SYMBOLS},
338 {"localize-symbols", required_argument, 0, OPTION_LOCALIZE_SYMBOLS},
346 {"prefix-symbols", required_argument, 0, OPTION_PREFIX_SYMBOLS},
365 {"strip-unneeded-symbols", required_argument, 0, OPTION_STRIP_UNNEEDED_SYMBOLS},
367 {"strip-symbols", required_argument, 0, OPTION_STRIP_SYMBOLS},
373 {"weaken-symbols", required_argument, 0, OPTION_WEAKEN_SYMBOLS},
429 -g --strip-debug Remove all debugging symbols & sections\n\
430 --strip-unneeded Remove all symbols not needed by relocations\n\
437 --keep-file-symbols Do not strip file symbol(s)\n\
438 --localize-hidden Turn all ELF hidden symbols into locals\n\
441 -G --keep-global-symbol <name> Localize all symbols except <name>\n\
443 --weaken Force all global symbols to be marked as weak\n\
445 -x --discard-all Remove all non-global symbols\n\
446 -X --discard-locals Remove any compiler-generated symbols\n\
469 --remove-leading-char Remove leading character from global symbols\n\
475 --strip-symbols <file> -N for all symbols listed in <file>\n\
476 --strip-unneeded-symbols <file>\n\
477 --strip-unneeded-symbol for all symbols listed\n\
479 --keep-symbols <file> -K for all symbols listed in <file>\n\
480 --localize-symbols <file> -L for all symbols listed in <file>\n\
481 --globalize-symbols <file> --globalize-symbol for all in <file>\n\
482 --keep-global-symbols <file> -G for all symbols listed in <file>\n\
483 --weaken-symbols <file> -W for all symbols listed in <file>\n\
489 --prefix-symbols <prefix> Add <prefix> to start of every symbol name\n\
510 fprintf (stream, _(" Removes symbols and sections from files\n"));
519 -g -S -d --strip-debug Remove all debugging symbols & sections\n\
520 --strip-unneeded Remove all symbols not needed by relocations\n\
524 --keep-file-symbols Do not strip file symbol(s)\n\
526 -x --discard-all Remove all non-global symbols\n\
527 -X --discard-locals Remove any compiler-generated symbols\n\
642 /* Add symbols listed in `filename' to strip_specific_list. */
840 Return the number of symbols to print. */
934 /* Global symbols in $idata sections need to be retained
937 symbols. */
950 symbols, so we cannot risk stripping any of them. */
1578 /* Mark symbols used in output relocations so that they
1579 are kept, even if they are local labels or static symbols.
2382 /* Mark all the symbols which will be used in output relocations with
2383 the BSF_KEEP flag so that those symbols will not be stripped.
2390 asymbol **symbols = symbolsarg;
2412 relcount = bfd_canonicalize_reloc (ibfd, isection, relpp, symbols);
2417 special bfd section symbols, then mark it with BSF_KEEP. */
2589 /* Default is to strip all symbols. */
3185 /* Default is to strip no symbols. */