aboutsummaryrefslogtreecommitdiff
path: root/include/coff/tic4x.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/coff/tic4x.h')
-rw-r--r--include/coff/tic4x.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/coff/tic4x.h b/include/coff/tic4x.h
index 03215fb..083cc3b 100644
--- a/include/coff/tic4x.h
+++ b/include/coff/tic4x.h
@@ -30,14 +30,14 @@
/* We use COFF2. */
#define TICOFF_DEFAULT_MAGIC TICOFF2MAGIC
-#define TICOFF_TARGET_MACHINE_GET (FLAGS) \
+#define TICOFF_TARGET_MACHINE_GET(FLAGS) \
(((FLAGS) & F_VERS) ? bfd_mach_c4x : bfd_mach_c3x)
-#define TICOFF_TARGET_MACHINE_SET (FLAGSP, MACHINE) \
+#define TICOFF_TARGET_MACHINE_SET(FLAGSP, MACHINE) \
do \
{ \
if ((MACHINE) == bfd_mach_c4x) \
- *(FLAGSP) = F_VERS; \
+ *(FLAGSP) |= F_VERS; \
} \
while (0)