summaryrefslogtreecommitdiff
path: root/gas/config/tc-sh.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-09-07 04:26:37 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-09-07 04:26:37 +0000
commit4d6df00d1bc1e4026ff9b0f7859683e1d34fbb53 (patch)
treecc7810106466e98f851fb5d576f361715c5403aa /gas/config/tc-sh.h
parentcf23665fe3a7a6f4685fec60d78f5ee9b8bc1e7e (diff)
downloadbinutils-redhat-4d6df00d1bc1e4026ff9b0f7859683e1d34fbb53.tar.gz
* config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
* configure.in (sh-*-linux*): Added. * configure: Rebuilt.
Diffstat (limited to 'gas/config/tc-sh.h')
-rw-r--r--gas/config/tc-sh.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-sh.h b/gas/config/tc-sh.h
index 54ba1b9d7b..716be5a0bc 100644
--- a/gas/config/tc-sh.h
+++ b/gas/config/tc-sh.h
@@ -160,7 +160,11 @@ extern int tc_coff_sizemachdep PARAMS ((fragS *));
/* Whether or not the target is big endian */
extern int target_big_endian;
+#ifdef TE_LINUX
+#define TARGET_FORMAT (shl ? "elf32-sh-linux" : "elf32-shbig-linux")
+#else
#define TARGET_FORMAT (shl ? "elf32-shl" : "elf32-sh")
+#endif
#define elf_tc_final_processing sh_elf_final_processing
extern void sh_elf_final_processing PARAMS ((void));