]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
m32r: move scrubber override to target header
authorJan Beulich <jbeulich@suse.com>
Fri, 9 Aug 2024 09:49:36 +0000 (11:49 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 9 Aug 2024 09:49:36 +0000 (11:49 +0200)
Other than LEX_IS_* settings, such #define-s don't belong into the
common source file.

gas/app.c
gas/config/tc-m32r.h

index ddfff71601f1124431ed31b65a3df7750690c70b..41ba4163a2aa84cbaf17679cc54573f04fd6b935 100644 (file)
--- 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
index 4d26940faac08ea6af13591a13dded889cf6904c..94638658b82379bf6a01858fc7cdc222a8013218 100644 (file)
@@ -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.  */