summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2003-01-13 21:35:28 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2003-01-13 21:35:28 +0000
commit5ad5e7d8571a813c03ddf452c1db60983d38dbc9 (patch)
tree09121e7a1697fb2f7da928138b2d90a06fedbded /gnu
parentca59b74c8caf478cdaa0aef4a87b5d5a6069fe77 (diff)
Add a compatibilty flag '-Z' for upcoming elf changes, does nothing currently
but will produce old style executables when the other changes appear.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/ld/lexsup.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/ld/lexsup.c b/gnu/usr.bin/binutils/ld/lexsup.c
index 77a37b2ab65..e0ea6a4f73e 100644
--- a/gnu/usr.bin/binutils/ld/lexsup.c
+++ b/gnu/usr.bin/binutils/ld/lexsup.c
@@ -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'},
@@ -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;