[RFA/ARM] Add support for // comments
Matthew Gretton-Dann
matthew.gretton-dann@arm.com
Tue Feb 21 13:24:00 GMT 2012
More information about the Binutils mailing list
Tue Feb 21 13:24:00 GMT 2012
- Previous message (by thread): [Patch, RFC] avoid potential recursion, collect error and warning summaries.
- Next message (by thread): [RFA/ARM] Add support for // comments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, The following patch adds support for // comments in gas targeting ARM. This has been done to help support ARM AArch64 Assembler syntax which uses // comments. See the ARMv8 Instruction Set Overview available at: http://infocenter.arm.com/help/topic/com.arm.doc.genc010197a/index.html OK? Thanks, Matt gas/ChangeLog: 2012-02-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define. -- Matthew Gretton-Dann Principal Engineer, PD Software, ARM Ltd. -------------- next part -------------- diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h index 2916ae1..3864b45 100644 --- a/gas/config/tc-arm.h +++ b/gas/config/tc-arm.h @@ -79,6 +79,9 @@ struct fix; # define TARGET_FORMAT elf32_arm_target_format () #endif +/* We support line-comments that start //. */ +#define DOUBLESLASH_LINE_COMMENTS + #define TC_FORCE_RELOCATION(FIX) arm_force_relocation (FIX) #define md_relax_frag(segment, fragp, stretch) \
- Previous message (by thread): [Patch, RFC] avoid potential recursion, collect error and warning summaries.
- Next message (by thread): [RFA/ARM] Add support for // comments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list