summaryrefslogtreecommitdiff
path: root/gas/config/tc-rx.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-rx.h')
-rw-r--r--gas/config/tc-rx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-rx.h b/gas/config/tc-rx.h
index bf1f283d3d2..78b2bedc9f3 100644
--- a/gas/config/tc-rx.h
+++ b/gas/config/tc-rx.h
@@ -31,7 +31,11 @@ extern int target_big_endian;
/* Instruction bytes are big endian, data bytes can be either. */
#define TARGET_BYTES_BIG_ENDIAN 0
+#ifndef TE_LINUX
#define TARGET_FORMAT (target_big_endian ? "elf32-rx-be" : "elf32-rx-le")
+#else
+#define TARGET_FORMAT "elf32-rx-linux"
+#endif
/* We don't need to handle .word strangely. */
#define WORKING_DOT_WORD