summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2014-01-15 15:46:01 -0800
committerRobert Mustacchi <rm@joyent.com>2014-01-17 10:37:00 -0800
commit2670d4adb6e0b54f7207b1e822c631cb5576855c (patch)
tree1f124acc4c419e5f0e26980dfba1fd4a7c7c47d0
parent59927d313a821b7f3822314ed16fc0a44c128431 (diff)
downloadillumos-joyent-2670d4adb6e0b54f7207b1e822c631cb5576855c.tar.gz
4486 remove old aw compat hack
Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Garrett D'Amore <garrett@damore.org>
-rw-r--r--usr/src/tools/aw/aw.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/usr/src/tools/aw/aw.c b/usr/src/tools/aw/aw.c
index 88673c88e4..36891b1a9c 100644
--- a/usr/src/tools/aw/aw.c
+++ b/usr/src/tools/aw/aw.c
@@ -550,29 +550,6 @@ main(int argc, char *argv[])
newae(as, "--traditional-format");
/*
- * This is a support hack to rewrite code for the compiler
- * which should probably cause an assembler programmer to recode
- * - so, generate a warning in this case.
- *
- * -K was dropped begining with version 2.18.
- */
- {
- struct aelist *as_ver = newael();
- struct aelist *ggrep = newael();
-
- newae(as_ver, as_pgm);
- newae(as_ver, "--version");
- newae(ggrep, "/usr/bin/ggrep");
- newae(ggrep, "-q");
- newae(ggrep, "-E");
- newae(ggrep, "2.1[567]");
- code = pipeline(aeltoargv(as_ver), aeltoargv(ggrep));
- if (code == 0) {
- newae(as, "-K");
- }
- }
-
- /*
* Walk the argument list, translating as we go ..
*/
while (--argc > 0) {