When there for Solaris compatibility only, also recognize it only there.
This way the option becomes available for other possible uses.
While adjusting md_shortopts[], also re-arrange things such that we have
only a single, uniform definition of it.
}
#endif
\f
+const char md_shortopts[] =
#ifdef OBJ_ELF
-const char md_shortopts[] = "kVQ:sqnO::";
-#else
-const char md_shortopts[] = "qnO::";
+ "kVQ:"
+# ifdef TE_SOLARIS
+ "s"
+# endif
#endif
+ "qnO::";
#define OPTION_32 (OPTION_MD_BASE + 0)
#define OPTION_64 (OPTION_MD_BASE + 1)
case 'k':
break;
+# ifdef TE_SOLARIS
case 's':
/* -s: On i386 Solaris, this tells the native assembler to use
.stab instead of .stab.excl. We always use .stab anyhow. */
break;
+# endif
case OPTION_MSHARED:
shared = 1;