Skip to content

Commit

Permalink
Add a compatibilty flag '-Z' for upcoming elf changes, does nothing c…
Browse files Browse the repository at this point in the history
…urrently

but will produce old style executables when the other changes appear.
  • Loading branch information
drahn committed Jan 13, 2003
1 parent 28df6bc commit 0abdc37
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gnu/usr.bin/binutils/ld/lexsup.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ static const struct ld_option ld_options[] =
{ {"omagic", no_argument, NULL, 'N'},
'N', NULL, N_("Do not page align data, do not make text readonly"),
EXACTLY_TWO_DASHES },
{ {"Zmagic", no_argument, NULL, 'Z'},
'Z', NULL, N_("Do not page align got/plt, old style executable"),
EXACTLY_TWO_DASHES },
{ {"output", required_argument, NULL, 'o'},
'o', N_("FILE"), N_("Set output file name"), EXACTLY_TWO_DASHES },
{ {NULL, required_argument, NULL, '\0'},
Expand Down Expand Up @@ -735,6 +738,9 @@ parse_args (argc, argv)
config.magic_demand_paged = false;
config.dynamic_link = false;
break;
case 'Z':
/* compatibility flag, unused */
break;
case OPTION_NO_DEMANGLE:
demangling = false;
break;
Expand Down

0 comments on commit 0abdc37

Please sign in to comment.