summaryrefslogtreecommitdiff
path: root/usr/src/tools/cw
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2022-10-03 19:50:13 -0500
committerRichard Lowe <richlowe@richlowe.net>2022-10-10 16:02:34 -0500
commit564d52366b33ac17bebd5b441ac47b668dfcb6cd (patch)
treef61fbde92eebd0c863d76d2e18b70deb149f7018 /usr/src/tools/cw
parent6faa6645c7a15dbddad859508e1f766bf1cef639 (diff)
downloadillumos-joyent-564d52366b33ac17bebd5b441ac47b668dfcb6cd.tar.gz
15040 remove support for unused sun studio inline asm
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Fiddaman <illumos@fiddaman.net> Approved by: Patrick Mooney <pmooney@pfmooney.com>
Diffstat (limited to 'usr/src/tools/cw')
-rw-r--r--usr/src/tools/cw/cw.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/usr/src/tools/cw/cw.c b/usr/src/tools/cw/cw.c
index 91e014c966..22e086820e 100644
--- a/usr/src/tools/cw/cw.c
+++ b/usr/src/tools/cw/cw.c
@@ -21,12 +21,10 @@
*/
/*
- * Copyright 2018, Richard Lowe.
- */
-/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
+ * Copyright 2018 Richard Lowe.
* Copyright 2019 Joyent, Inc.
*/
@@ -39,7 +37,7 @@
*/
/* If you modify this file, you must increment CW_VERSION */
-#define CW_VERSION "6.1"
+#define CW_VERSION "7.1"
/*
* -# Verbose mode
@@ -666,13 +664,6 @@ do_gcc(cw_ictx_t *ctx)
if (*arg == '-') {
arglen--;
} else {
- /*
- * Discard inline files that gcc doesn't grok
- */
- if (!in_output && arglen > 3 &&
- strcmp(arg + arglen - 3, ".il") == 0)
- continue;
-
if (!in_output && is_source_file(arg))
c_files++;