aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-rx.h
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2018-11-07 17:16:56 +0900
committerYoshinori Sato <ysato@users.sourceforge.jp>2018-11-07 17:18:05 +0900
commit8d3c78e473c2af54c8117808f2459a408f9f6327 (patch)
treea357bad217bc2fa52efc23af3fc5b23ac139df26 /gas/config/tc-rx.h
parent8f531a8d1f9b9b9061368ddd89d1b7e7aafe9e38 (diff)
downloadgdb-8d3c78e473c2af54c8117808f2459a408f9f6327.zip
gdb-8d3c78e473c2af54c8117808f2459a408f9f6327.tar.gz
gdb-8d3c78e473c2af54c8117808f2459a408f9f6327.tar.bz2
rx: Add target rx-*-linux.
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 bf1f283..78b2bed 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