diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-09-11 16:18:53 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-09-11 16:18:53 (GMT) |
commit | 389a779657ceac86c399d7eda8027102ae9e754c (patch) | |
tree | 5019b11a21a25449b8d3d2872b524fa3e8fa2b74 /patches/binutils/2.16.1a/160-i386-no-divide-comment.patch | |
parent | 639b71de0fb3ded474b79ec917b9d3eb0fa8548e (diff) |
binutils/binutils: fixup version strings
Recently, all binutils versions have been renamed after a GPL compliance
issue was found and fixed in binutils;
http://sourceware.org/ml/binutils/2011-08/msg00198.html
Although legacy symlinks have been put in place, we should now use
the new, real version strings.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 346263a0711510a7ac953b1523b6607a1ca53caf)
Diffstat (limited to 'patches/binutils/2.16.1a/160-i386-no-divide-comment.patch')
-rw-r--r-- | patches/binutils/2.16.1a/160-i386-no-divide-comment.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/patches/binutils/2.16.1a/160-i386-no-divide-comment.patch b/patches/binutils/2.16.1a/160-i386-no-divide-comment.patch new file mode 100644 index 0000000..046a55f --- /dev/null +++ b/patches/binutils/2.16.1a/160-i386-no-divide-comment.patch @@ -0,0 +1,40 @@ +diff -durN binutils-2.16.1.orig/gas/config/tc-i386.c binutils-2.16.1/gas/config/tc-i386.c +--- binutils-2.16.1.orig/gas/config/tc-i386.c 2005-04-13 19:58:42.000000000 +0200 ++++ binutils-2.16.1/gas/config/tc-i386.c 2008-09-22 09:00:09.000000000 +0200 +@@ -192,16 +192,10 @@ + #endif + ; + +-#if (defined (TE_I386AIX) \ +- || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) \ +- && !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. */ +-const char comment_chars[] = "#/"; +-#define PREFIX_SEPARATOR '\\' ++const char comment_chars[] = "#"; ++#define PREFIX_SEPARATOR '/' + + /* 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' +@@ -211,16 +205,7 @@ + #NO_APP at the beginning of its output. + Also note that comments started like this one will always work if + '/' isn't otherwise defined. */ +-const char line_comment_chars[] = "#"; +- +-#else +-/* Putting '/' here makes it impossible to use the divide operator. +- However, we need it for compatibility with SVR4 systems. */ +-const char comment_chars[] = "#"; +-#define PREFIX_SEPARATOR '/' +- +-const char line_comment_chars[] = "/#"; +-#endif ++const char line_comment_chars[] = "#/"; + + const char line_separator_chars[] = ";"; + |