mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 05:17:54 +00:00
65 lines
1.9 KiB
Diff
65 lines
1.9 KiB
Diff
|
diff -durN binutils-2.18.50.0.6.orig/gas/config/tc-i386.c binutils-2.18.50.0.6/gas/config/tc-i386.c
|
||
|
--- binutils-2.18.50.0.6.orig/gas/config/tc-i386.c 2008-04-03 18:54:04.000000000 +0200
|
||
|
+++ binutils-2.18.50.0.6/gas/config/tc-i386.c 2008-09-22 09:09:23.000000000 +0200
|
||
|
@@ -312,24 +312,10 @@
|
||
|
#endif
|
||
|
;
|
||
|
|
||
|
-#if (defined (TE_I386AIX) \
|
||
|
- || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) \
|
||
|
- && !defined (TE_GNU) \
|
||
|
- && !defined (TE_LINUX) \
|
||
|
- && !defined (TE_NETWARE) \
|
||
|
- && !defined (TE_FreeBSD) \
|
||
|
- && !defined (TE_NetBSD)))
|
||
|
/* This array holds the chars that always start a comment. If the
|
||
|
- pre-processor is disabled, these aren't very useful. The option
|
||
|
- --divide will remove '/' from this list. */
|
||
|
-const char *i386_comment_chars = "#/";
|
||
|
-#define SVR4_COMMENT_CHARS 1
|
||
|
-#define PREFIX_SEPARATOR '\\'
|
||
|
-
|
||
|
-#else
|
||
|
+ pre-processor is disabled, these aren't very useful. */
|
||
|
const char *i386_comment_chars = "#";
|
||
|
#define PREFIX_SEPARATOR '/'
|
||
|
-#endif
|
||
|
|
||
|
/* This array holds the chars that only start a comment at the beginning of
|
||
|
a line. If the line seems to have the form '# 123 filename'
|
||
|
@@ -7876,20 +7862,6 @@
|
||
|
break;
|
||
|
|
||
|
case OPTION_DIVIDE:
|
||
|
-#ifdef SVR4_COMMENT_CHARS
|
||
|
- {
|
||
|
- char *n, *t;
|
||
|
- const char *s;
|
||
|
-
|
||
|
- n = (char *) xmalloc (strlen (i386_comment_chars) + 1);
|
||
|
- t = n;
|
||
|
- for (s = i386_comment_chars; *s != '\0'; s++)
|
||
|
- if (*s != '/')
|
||
|
- *t++ = *s;
|
||
|
- *t = '\0';
|
||
|
- i386_comment_chars = n;
|
||
|
- }
|
||
|
-#endif
|
||
|
break;
|
||
|
|
||
|
case OPTION_MARCH:
|
||
|
@@ -8029,13 +8001,8 @@
|
||
|
fprintf (stream, _("\
|
||
|
--32/--64 generate 32bit/64bit code\n"));
|
||
|
#endif
|
||
|
-#ifdef SVR4_COMMENT_CHARS
|
||
|
- fprintf (stream, _("\
|
||
|
- --divide do not treat `/' as a comment character\n"));
|
||
|
-#else
|
||
|
fprintf (stream, _("\
|
||
|
--divide ignored\n"));
|
||
|
-#endif
|
||
|
fprintf (stream, _("\
|
||
|
-march=CPU[,+EXTENSION...]\n\
|
||
|
generate code for CPU and EXTENSION, CPU is one of:\n\
|