From f2aadc8f93c35c014dd2b6e91169968348074369 Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 25 Jan 1999 18:38:49 +0000 Subject: [PATCH] Don't include '/' as a comment character on ELF. This probably violates some assembler standard, but we cannot use '/' as the divide operator otherwise! --- gnu/dist/gas/config/tc-i386.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/dist/gas/config/tc-i386.c b/gnu/dist/gas/config/tc-i386.c index 866d92fa6583..f7a4ee379ee3 100644 --- a/gnu/dist/gas/config/tc-i386.c +++ b/gnu/dist/gas/config/tc-i386.c @@ -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[] = "#";