public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
* A PREFIX_SEPARATOR bug in binutils 2.9
@ 1998-04-21 11:41 H.J. Lu
  1998-04-21 11:54 ` Ian Lance Taylor
  0 siblings, 1 reply; 11+ messages in thread
From: H.J. Lu @ 1998-04-21 11:41 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: gas2

Hi,

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.
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?

Thanks.



-- 
H.J. Lu (hjl@gnu.org)

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~1998-04-21 17:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-21 11:41 A PREFIX_SEPARATOR bug in binutils 2.9 H.J. Lu
1998-04-21 11:54 ` Ian Lance Taylor
1998-04-21 12:32   ` H.J. Lu
1998-04-21 12:39     ` Ian Lance Taylor
1998-04-21 12:39       ` H.J. Lu
1998-04-21 12:39         ` Ian Lance Taylor
1998-04-21 12:32           ` Martynas Kunigelis
1998-04-21 12:34             ` Ian Lance Taylor
1998-04-21 12:34           ` H.J. Lu
1998-04-21 12:39             ` Ian Lance Taylor
1998-04-21 17:45               ` Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).