[PATCH v3 4/9] m32r: move scrubber override to target header
Jan Beulich
jbeulich@suse.com
Wed Jul 31 11:57:28 GMT 2024
Other than LEX_IS_* settings, such #define-s don't belong into the
common source file.
---
v3: New.
--- 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
--- a/gas/config/tc-m32r.h
+++ b/gas/config/tc-m32r.h
@@ -42,6 +42,9 @@ extern const char *m32r_target_format (v
/* 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. */
More information about the Binutils
mailing list