summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-02-21 16:55:31 +0000
committerNick Clifton <nickc@redhat.com>2012-02-21 16:55:31 +0000
commit1bf10b0d9e810e0edf30c6887f19578b13745beb (patch)
tree74bb5c094561873fcbe21b934bb4061e2184f92c /gas
parent9a30f236439e2c9d6140c876c27cbac8fb4fad43 (diff)
downloadbinutils-gdb-1bf10b0d9e810e0edf30c6887f19578b13745beb.tar.gz
* gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-arm.h5
2 files changed, 8 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 63f341e935a..619c1f95f74 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
+
+ * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
+
2012-02-21 Iain Sandoe <idsandoe@googlemail.com>
* write.c (write_object_file): Add md_pre_output_hook.
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h
index 2916ae19a32..b6b7a04e390 100644
--- a/gas/config/tc-arm.h
+++ b/gas/config/tc-arm.h
@@ -1,6 +1,6 @@
/* This file is tc-arm.h
Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
- 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+ 2004, 2005, 2006, 2007, 2008, 2009, 2012 Free Software Foundation, Inc.
Contributed by Richard Earnshaw (rwe@pegasus.esprit.ec.org)
Modified by David Taylor (dtaylor@armltd.co.uk)
@@ -79,6 +79,9 @@ struct fix;
# define TARGET_FORMAT elf32_arm_target_format ()
#endif
+/* We support double slash line-comments for compatibility with the ARM AArch64 Assembler. */
+#define DOUBLESLASH_LINE_COMMENTS
+
#define TC_FORCE_RELOCATION(FIX) arm_force_relocation (FIX)
#define md_relax_frag(segment, fragp, stretch) \