diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-rx.h | 4 | ||||
-rw-r--r-- | gas/configure.tgt | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/rx/pr19665.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/rx/pr22737.d | 2 |
5 files changed, 13 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index d8cbf7e..40e468f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2018-11-07 Yoshinori Sato <ysato@users.sourceforge.jp> + + * configure.tgt: Add rx-*-linux. + * config/tc-rx.h (TARGET_FORMAT): Add "elf32-rx-linux". + 2018-11-06 Matthew Malcomson <matthew.malcomson@arm.com> * testsuite/gas/arm/neon-cond-bad_t2.d: Fix testcase for PE target. 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 diff --git a/gas/configure.tgt b/gas/configure.tgt index d1b0535..532f113 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -366,6 +366,8 @@ case ${generic_target} in riscv*-*-*) fmt=elf endian=little ;; + rx-*-linux*) fmt=elf em=linux ;; + s390-*-linux-*) fmt=elf em=linux ;; s390-*-tpf*) fmt=elf ;; diff --git a/gas/testsuite/gas/rx/pr19665.d b/gas/testsuite/gas/rx/pr19665.d index 61b3b0e..04c6b7a 100644 --- a/gas/testsuite/gas/rx/pr19665.d +++ b/gas/testsuite/gas/rx/pr19665.d @@ -1,6 +1,6 @@ #objdump: -dr -.*: file format elf32-rx-le +.*: file format elf32-rx-(le|linux) Disassembly of section .*: diff --git a/gas/testsuite/gas/rx/pr22737.d b/gas/testsuite/gas/rx/pr22737.d index 1de868e..1de3e0b 100644 --- a/gas/testsuite/gas/rx/pr22737.d +++ b/gas/testsuite/gas/rx/pr22737.d @@ -1,6 +1,6 @@ #objdump: -dr -.*: file format elf32-rx-le +.*: file format elf32-rx-(le|linux) Disassembly of section .*: |