* [binutils-gdb] m32r: move scrubber override to target header
@ 2024-08-09 9:50 Jan Beulich
0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2024-08-09 9:50 UTC (permalink / raw)
To: binutils-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3a4de19d4e4c146189580696d324a8f9a99a1c4f
commit 3a4de19d4e4c146189580696d324a8f9a99a1c4f
Author: Jan Beulich <jbeulich@suse.com>
Date: Fri Aug 9 11:49:36 2024 +0200
m32r: move scrubber override to target header
Other than LEX_IS_* settings, such #define-s don't belong into the
common source file.
Diff:
---
gas/app.c | 3 ---
gas/config/tc-m32r.h | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gas/app.c b/gas/app.c
index ddfff71601f..41ba4163a2a 100644
--- a/gas/app.c
+++ b/gas/app.c
@@ -71,9 +71,6 @@ static char last_char;
#ifdef TC_V850
#define LEX_IS_DOUBLEDASH_1ST 12
#endif
-#ifdef TC_M32R
-#define DOUBLEBAR_PARALLEL
-#endif
#ifdef DOUBLEBAR_PARALLEL
#define LEX_IS_DOUBLEBAR_1ST 13
#endif
diff --git a/gas/config/tc-m32r.h b/gas/config/tc-m32r.h
index 4d26940faac..94638658b82 100644
--- a/gas/config/tc-m32r.h
+++ b/gas/config/tc-m32r.h
@@ -42,6 +42,9 @@ extern const char *m32r_target_format (void);
/* Permit temporary numeric labels. */
#define LOCAL_LABELS_FB 1
+/* '||' denotes parallel instruction */
+#define DOUBLEBAR_PARALLEL
+
#define DIFF_EXPR_OK /* .-foo gets turned into PC relative relocs. */
/* We don't need to handle .word strangely. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-09 9:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-09 9:50 [binutils-gdb] m32r: move scrubber override to target header Jan Beulich
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).