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:
parent
ccf442a971
commit
f2aadc8f93
2
gnu/dist/gas/config/tc-i386.c
vendored
2
gnu/dist/gas/config/tc-i386.c
vendored
@ -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[] = "#";
|
||||
|
Loading…
Reference in New Issue
Block a user