From d5fcd7aa2278bb0097cfceb1dba0e2d2c89f20ac Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 21 Feb 2012 16:55:29 +0000 Subject: [PATCH] * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define. --- gas/ChangeLog | 4 ++++ gas/config/tc-arm.h | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 63f341e93..619c1f95f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2012-02-21 Matthew Gretton-Dann + + * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define. + 2012-02-21 Iain Sandoe * 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 2916ae19a..b6b7a04e3 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) \ -- 2.11.4.GIT