From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: hjl@lucon.org Cc: gas2@cygnus.com Subject: Re: A PREFIX_SEPARATOR bug in binutils 2.9 Date: Tue, 21 Apr 1998 11:54:00 -0000 Message-id: <199804211854.OAA04970@subrogation.cygnus.com> References: X-SW-Source: 1998/msg00158.html From: hjl@lucon.org (H.J. Lu) Date: Tue, 21 Apr 1998 11:41:32 -0700 (PDT) In binutils, PREFIX_SEPARATOR is defined as '/' for x86. But there is #if defined (TE_I386AIX) || defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF) const char comment_chars[] = "#/"; #else const char comment_chars[] = "#"; #endif in config/tc-i386.c. It makes '/' to start a comment. It won't work. Why do you say ``it won't work?'' What do you mean? That code has been there since May 1993, so clearly it can work. We can define PREFIX_SEPARATOR as #if defined (TE_I386AIX) || defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF) #define PREFIX_SEPARATOR '\\' #else #define PREFIX_SEPARATOR '/' #endif But I don't like it. Any suggestion how to fix it? What is the actual problem you are trying to solve? Ian