Don't include '/' as a comment character on ELF. This probably violates

some assembler standard, but we cannot use '/' as the divide operator
otherwise!
This commit is contained in:
christos 1999-01-25 18:38:49 +00:00
parent ccf442a971
commit f2aadc8f93

View File

@ -116,7 +116,7 @@ typedef struct _i386_insn i386_insn;
/* This array holds the chars that always start a comment. If the
pre-processor is disabled, these aren't very useful */
#if defined (TE_I386AIX) || defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)
#if (defined (TE_I386AIX) || defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) && !defined(__NetBSD__)
const char comment_chars[] = "#/";
#else
const char comment_chars[] = "#";