diff options
author | Richard Henderson <rth@redhat.com> | 1997-10-10 21:14:29 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 1997-10-10 21:14:29 +0000 |
commit | 246b7c9bc05d8dfebb4ce3c0a99cb8d1d89de794 (patch) | |
tree | b78598c0e72c98cd5222b948effa06562dcbc772 /binutils/objcopy.c | |
parent | b83565def8ba85bbac0b946b14fe0219602da410 (diff) | |
download | gdb-246b7c9bc05d8dfebb4ce3c0a99cb8d1d89de794.zip gdb-246b7c9bc05d8dfebb4ce3c0a99cb8d1d89de794.tar.gz gdb-246b7c9bc05d8dfebb4ce3c0a99cb8d1d89de794.tar.bz2 |
* objcopy.c, objcopy.1, binutils.texi: "localize" is a better name
than "privatize". Update all references.
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r-- | binutils/objcopy.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 324a040..3483f20 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -235,7 +235,7 @@ static struct option copy_options[] = {"output-target", required_argument, 0, 'O'}, {"pad-to", required_argument, 0, OPTION_PAD_TO}, {"preserve-dates", no_argument, 0, 'p'}, - {"privatize-symbol", required_argument, 0, 'P'}, + {"localize-symbol", required_argument, 0, 'L'}, {"remove-leading-char", no_argument, 0, OPTION_REMOVE_LEADING_CHAR}, {"remove-section", required_argument, 0, 'R'}, {"set-section-flags", required_argument, 0, OPTION_SET_SECTION_FLAGS}, @@ -280,7 +280,7 @@ Usage: %s [-vVSpgxX] [-I bfdname] [-O bfdname] [-F bfdname] [-b byte]\n\ [--adjust-warnings] [--no-adjust-warnings]\n\ [--set-section-flags=section=flags] [--add-section=sectionname=filename]\n\ [--keep-symbol symbol] [-K symbol] [--strip-symbol symbol] [-N symbol]\n\ - [--privatize-symbol symbol] [-P symbol] [--weaken-symbol symbol]\n\ + [--localize-symbol symbol] [-L symbol] [--weaken-symbol symbol]\n\ [-W symbol] [--change-leading-char] [--remove-leading-char] [--weaken]\n\ [--verbose] [--version] [--help] in-file [out-file]\n"); list_supported_targets (program_name, stream); @@ -390,11 +390,11 @@ struct symlist struct symlist *next; }; -/* List of symbols to strip, keep, privatize, and weaken. */ +/* List of symbols to strip, keep, localize, and weaken. */ static struct symlist *strip_specific_list = NULL; static struct symlist *keep_specific_list = NULL; -static struct symlist *privatize_specific_list = NULL; +static struct symlist *localize_specific_list = NULL; static struct symlist *weaken_specific_list = NULL; /* If this is true, we weaken global symbols (set BSF_WEAK). */ @@ -539,7 +539,7 @@ filter_symbols (abfd, obfd, osyms, isyms, symcount) sym->flags |= BSF_WEAK; } if (keep && (flags & (BSF_GLOBAL | BSF_WEAK)) - && is_specified_symbol (name, privatize_specific_list)) + && is_specified_symbol (name, localize_specific_list)) { sym->flags &= ~(BSF_GLOBAL | BSF_WEAK); sym->flags |= BSF_LOCAL; @@ -791,7 +791,7 @@ copy_object (ibfd, obfd) || discard_locals != locals_undef || strip_specific_list != NULL || keep_specific_list != NULL - || privatize_specific_list != NULL + || localize_specific_list != NULL || weaken_specific_list != NULL || sections_removed || convert_debugging @@ -1756,7 +1756,7 @@ copy_main (argc, argv) struct section_list *p; struct stat statbuf; - while ((c = getopt_long (argc, argv, "b:i:I:K:N:s:O:d:F:P:R:SpgxXVvW:", + while ((c = getopt_long (argc, argv, "b:i:I:K:N:s:O:d:F:L:R:SpgxXVvW:", copy_options, (int *) 0)) != EOF) { switch (c) @@ -1810,8 +1810,8 @@ copy_main (argc, argv) case 'N': add_specific_symbol (optarg, &strip_specific_list); break; - case 'P': - add_specific_symbol (optarg, &privatize_specific_list); + case 'L': + add_specific_symbol (optarg, &localize_specific_list); break; case 'W': add_specific_symbol (optarg, &weaken_specific_list); |