* [RFA/ARM] Add support for // comments
@ 2012-02-21 13:24 Matthew Gretton-Dann
2012-02-21 16:56 ` nick clifton
0 siblings, 1 reply; 2+ messages in thread
From: Matthew Gretton-Dann @ 2012-02-21 13:24 UTC (permalink / raw)
To: binutils
[-- Attachment #1: Type: text/plain, Size: 543 bytes --]
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.
[-- Attachment #2: 1-RFA-ARM-Add-support-for-comments.txt --]
[-- Type: text/plain, Size: 438 bytes --]
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) \
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFA/ARM] Add support for // comments
2012-02-21 13:24 [RFA/ARM] Add support for // comments Matthew Gretton-Dann
@ 2012-02-21 16:56 ` nick clifton
0 siblings, 0 replies; 2+ messages in thread
From: nick clifton @ 2012-02-21 16:56 UTC (permalink / raw)
To: binutils
Hi Matt,
> gas/ChangeLog:
>
> 2012-02-09 Matthew Gretton-Dann<matthew.gretton-dann@arm.com>
>
> * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
Approved and applied.
Cheers
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-21 16:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-21 13:24 [RFA/ARM] Add support for // comments Matthew Gretton-Dann
2012-02-21 16:56 ` nick clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).